Welcome, Guest ( Login | Register )
Remember Me  
 
 
All times are UTC
 
 
Main links page as "index.html" but further link pages as "partner1.html" etc
 
Page 1 of 1 [ 2 posts ]
Author Message
Post subject: Main links page as "index.html" but further link p
Posted: Mon Apr 28, 2008 6:33 pm

Small God

Small God

Posts: 201

Online

I'd like to build the link pages such that the main link homepage is an index.html file but the other link pages could use the conventional LA type of file naming.

The idea is that the links directory would be called:

www.mysite.com/links

and go into the link pages

Is this possible?

Many thanks :)


Top
Post subject: Re: Main links page as "index.html" but further li
Posted: Tue Apr 29, 2008 9:22 am

Site Admin

User avatar

Posts: 2959

Online

scanreg wrote:
I'd like to build the link pages such that the main link homepage is an index.html file but the other link pages could use the conventional LA type of file naming.

You can do this three different ways: :)

1) Change you main Category's name to "index", then the main directory page will be named index.html, BUT all aother internal pages will have such a prefix ("index-" or "index_" depending on your settings)


2) You can simply rename this main links page from resources.html or links.html to index.html manually and upload it to your web-server by hand.

However, in this case you'll have to spend a minute or two changing your Links Page Template -- converting all links pointing to this main page from relative to absolute.


3) Just change your server's settings by setting links.html as your default page. Just change your httpd.conf in your Apache:

Code:
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex links.html index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
</IfModule>


I think the last way is the best and the easiest one ;)

_________________
Search Engine Optimization Software SEO PowerSuite

See a spammer? Click "Report this Post" (bottom right) and help keep our forum clean!


Top
Profile   |   Website
Display topics from previous:  Sort by  
Page 1 of 1 [ 2 posts ]

 
 
All times are UTC
Jump to: