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.sapphirecoa ching.com and I added a page with the filename reverse-therapy.html. If I type www.sapphirecoa ching.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.sapphirecoa ching.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
.html suffix prob
Collapse
X
-
Tags: None
-
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.sapphirecoa ching.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. -
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.Comment
-
Thanks snowdonkey, this is a very helpful and concise reply - makes perfect sense. I will do it now!Originally posted by snowdonkeyIn 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.sapphirecoa ching.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.Comment
Comment