Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Getting Links 'Home' to be site 'home'

Quote Reply
Getting Links 'Home' to be site 'home'
My site has an index page ( I guess you might call it a splash page ) and you click to enter the directory.

I am getting to many adverse comments about this. How do I ( easily ) get the links home or index page to be my site index page ?

I have no need for the directory to be in a seperate folder, it could be in the root - Can I just delete the 'Links2' folder ? and if so where do link addresses need to be altered ?

Regards.

Graham
Quote Reply
Re: [groberthall] Getting Links 'Home' to be site 'home' In reply to
Use this mod: http://users.servicios.retecal.es/.../links/homepage.html

This will make the Links index your site's main index , but keep subsequent Links-generated pages in a subdirectory, which is better for oranizing your files...


Another option is to open links.cfg, and change this:

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/www/links/pages";
$build_root_url = "http://mysite/links/pages";

to more like this:

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/www";
$build_root_url = http://mysite/;

This second way will produce a lot of subdirectories in your main/root www/public/html directory, which will make it hard to keep your files straight (assuming you have more than just Links-generated pages on your site), so I suggest using the mod linked above.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Oct 19, 2003, 9:24 AM
Quote Reply
Re: [PerlFlunkie] Getting Links 'Home' to be site 'home' In reply to
Hi. Thanks for that. I will give it a go. ( looks complex though, hope I dont screw it up Smile )

Graham