Gossamer Forum
Home : Products : Links 2.0 : Discussions :

is it possible to make my home.html to be at

Quote Reply
is it possible to make my home.html to be at
Hi. is it possible to make my home.html to be at

http://www.aaa.com/index.htm

cuz I want my <%category%> to work there.

not under www.aaa.com/links/pages

and I want my directory to generate under http://www.aaa.com/links/pages

not www.aaa.com

ok.

can anyone understand me?



Mark
Quote Reply
Re: [marklin] is it possible to make my home.html to be at In reply to
Very easy,

Just modidy the links.cfg

EX:

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



thats all

the root_path is where on your server your files are located ( where you want them! )

the root_url is where you want the category to appear ( it will create the index.html right after your aaa.com )

Hope it will help!



Mav
Quote Reply
Re: [elmav] is it possible to make my home.html to be at In reply to
Ah sorry to be a pest, its not quite as easy as that, please take a look at this modifcation taken from the Resource Center

http://users.servicios.retecal.es/nslavic/homepage.html
Quote Reply
Re: [marklin] is it possible to make my home.html to be at In reply to
How could be more difficult???



It's all I have done and it's working fine for me. Plus, i'm not a script guru...
Quote Reply
Re: [elmav] is it possible to make my home.html to be at In reply to
The way you have suggested, will create the home page at www.mysite.com.

Also it will create pages such as new, cool, detail here
www.mysite.com/new
www.mysite.com/cool
www.mysite.com/detail

etc etc.

I may be wrong in this statement, as I have never required this on my site.

The original post wanted the home page as root and the other files in a seperate directory located here
Quote:
and I want my directory to generate under http://www.aaa.com/links/pages