Main links page as "index.html" but further link p
Mon Apr 28, 2008 6:33 pm
scanreg
Joined: 23 Oct 2006
Posts: 90
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:
Re: Main links page as "index.html" but further li
Tue Apr 29, 2008 9:22 am
LinkAssistant
Site Admin
Joined: 26 Sep 2005
Posts: 754
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>