PDA

View Full Version : Index pages


Bures
06-16-2006, 07:33 AM
You often see commercial sites such as the BBC advertising pages such as:-
www.bbc.co.uk/cars
How do they avoid putting the htm or html after "cars"
I appreciate there is no need to do this for the "index" page of a web site but I would like to advertise direct URL links other pages on my site without the need to put "html" after the page name.
On mine I would normally put www.*****/cars.html. but I want to avoid this.

dthomsen8
06-18-2006, 01:30 PM
You often see commercial sites such as the BBC advertising pages such as:-
www.bbc.co.uk/cars
How do they avoid putting the htm or html after "cars"
I appreciate there is no need to do this for the "index" page of a web site but I would like to advertise direct URL links other pages on my site without the need to put "html" after the page name.
On mine I would normally put www.*****/cars.html. but I want to avoid this.

Your example gives a 404 error, so it doesn't tell us anything useful.

I suspect that "cars" is a directory or folder name, and not a file name.

dthomsen8
06-18-2006, 01:57 PM
http://www.uglyphilly.org/cars

is an example of what you want. The cars directory contains an index.html file, the default file name set by the web server.

Bures
06-18-2006, 03:29 PM
The www.bbc.co.uk/cars was only an example, sorry if you tried the URL

Yes, I now see if you put an "index.html" inside a folder then the browser will find it.
ie. CARS Folder with Index.html inside.

Thanks for that. I have wondered for ages why commercial sites do not have the extension "html" after their URL`s