Gossamer Forum
Home : Products : Gossamer Links : Discussions :

home page in a diferent directory

Quote Reply
home page in a diferent directory
Can anyone show me an easy way to build categories in a sub directory and index.html in the root directory.
Or copy the index.html in the sub directory to the root directory.
I tried < !--#include virtual="/directory/index.html"-- > with no success.
Quote Reply
Re: [Sies] home page in a diferent directory In reply to
I thought there was an option in 3.3 to do this, but just had a look and I was wrong.

Have you tried doing it with mod_rewrite?

RewriteRule /index.html /whatever_folder/index.html [L]

?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] home page in a diferent directory In reply to
I never use mod_rewrite. Do I put this in the .htaccess file?
Quote Reply
Re: [Sies] home page in a diferent directory In reply to
Yeah, make sure you also have this in above that line too (assuming there is nothing else in the .htaccess)

Code:
RewriteEngine On

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!