-1

Im hoping you can help me, a newbie so apologies if this is an old question - Im about to design a site and i would like the filenames to be for example www.mycompany.co.uk/about/ as opposed to www.mycompany.co.uk/about.htm therefore ditching the file extension.

it just looks neater I think and wondered how to do it...

I think its just a case of placing an index.htm file in a folder called about? Is this corect or am i completely wrong?

Again, thanks in advance and apologies too if the experts are fed up of this question!

5
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by Troy III
0

simpler than it looks . . .
the url http://www.thissite.com/thisfolder/
is a url to the folder not to a file
when the folder opens, the default file
index.php index.html default.asp or whatever is appropriate to the server configuration opens and runs
in the same way as http://www.thissite.com/ acutally opens http://www.thissite.com/index.html
to make your urls do this, put a default file in the folder and make urls reference the folder
In apache servers mod_rewrite can trim all displayed urls to the folder name

Edited by almostbob: n/a

0

I think its just a case of placing an index.htm file in a folder called about? Is this corect or am i completely wrong?

As you might have realized from previous explanations...
No! - you are in fact correct! :')
Regards.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.