Jul 15, 2003 #1 Lotruth Programmer May 2, 2001 133 US How do some sites have sub pages without extensions as in http://www.main.com/sub as opposed to http://www.main.com/sub.htm ?
How do some sites have sub pages without extensions as in http://www.main.com/sub as opposed to http://www.main.com/sub.htm ?
Jul 15, 2003 #2 vickero007 IS-IT--Management Apr 1, 2003 308 US They have a file in the folder Sub called index.htm or index.html and the browser knows to look for that file when no specific file is given. -Volkoff007 Upvote 0 Downvote
They have a file in the folder Sub called index.htm or index.html and the browser knows to look for that file when no specific file is given. -Volkoff007
Jul 16, 2003 #3 Wullie Programmer Mar 17, 2001 3,674 GB Depending on your set-up, you could do this a few ways. With Apache you can add the following line into a htaccess file if you don't have access to the httpd.conf DirectoryIndex index.shtml index.html The pages are called from left to right so you just list the default page to appear on the far left. Hope this helps Wullie http://www.necomputers.org.ukhttp://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.whiland.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell Upvote 0 Downvote
Depending on your set-up, you could do this a few ways. With Apache you can add the following line into a htaccess file if you don't have access to the httpd.conf DirectoryIndex index.shtml index.html The pages are called from left to right so you just list the default page to appear on the far left. Hope this helps Wullie http://www.necomputers.org.ukhttp://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.whiland.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
Jul 16, 2003 #4 greelmo Programmer May 16, 2003 89 US or you could go to http://www.dot.tk and sign up for an account... then you have an address that looks like this "http://www.yoursitename.tk"and it will never change no matter how many links or whatever you have there are. Later, Greelmo http://www.scriptingsolutions.tk Upvote 0 Downvote
or you could go to http://www.dot.tk and sign up for an account... then you have an address that looks like this "http://www.yoursitename.tk"and it will never change no matter how many links or whatever you have there are. Later, Greelmo http://www.scriptingsolutions.tk