By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,218 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,218 IT Pros & Developers. It's quick & easy.

.html suffix prob

P: 2
I have a problem which is probably simple to solve but I can't find the answer. In the past I have added pages to sites I have built with names like aboutus.html and when I or anyone else wants to view them they simply type the URL + /aboutus and the page comes up fine. Recently I built a site www.sapphirecoaching.com and I added a page with the filename reverse-therapy.html. If I type www.sapphirecoaching.com/reverse-therapy in the browser I get a 404 message 'page is not on server'. If however I add the .html suffix to the URL it works. How can I get it to go straight to the page without typing the suffix in the address window. (I just want to put www.sapphirecoaching.com/reverse-therapy on all publicity). Heres hoping someone knows why this is working on one site but not the other, Thanks Denis Jevon. BTW the sites are on different host servers I am running Mac Mini OSX G4 processor, using Firefox, Dreamweaver MX and JSFTP
Nov 30 '06 #1
Share this Question
Share on Google+
4 Replies


snowdonkey
P: 37
In your site's main directory make a folder called reverse-therapy. Inside that folder put your reverse-therapy.html file and rename it index.html. Now people can use www.sapphirecoaching.com/reverse-therapy and view the correct file. When a file is titled index, it becomes the default file for a folder if none is specified.
Nov 30 '06 #2

Expert 100+
P: 1,892
You probably want an index file in all of your folders as well this will prevent people from seeing the contents of the folder.
Nov 30 '06 #3

drhowarddrfine
Expert 5K+
P: 7,435
You are probably using Apache and this is a simple setting there but I haven't used Apache in years so I don't remember what it is. There is an Apache forum here, or at least Linux or something.
Nov 30 '06 #4

P: 2
In your site's main directory make a folder called reverse-therapy. Inside that folder put your reverse-therapy.html file and rename it index.html. Now people can use www.sapphirecoaching.com/reverse-therapy and view the correct file. When a file is titled index, it becomes the default file for a folder if none is specified.
Thanks snowdonkey, this is a very helpful and concise reply - makes perfect sense. I will do it now!
Dec 1 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.