The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> removing .html on pages?
herrickphoto
post May 29 2008, 06:44 AM
Post #1





Group: Members
Posts: 1
Joined: 29-May 08
Member No.: 5,778



Hi, I am trying to figure out how to remove the .htm or .html from my pages (other than my index). An example would be http://www.herrickphoto.co.uk/adults.html
I'd really like this to be www.herrickphoto.co.uk/adults
Any suggestions would really be appreciated. I am using dreamweaver to write the pages and for some reason, some of my pages end in .htm and others in .html
Not sure if that's a problem?

Thanks for your help!

Lynn

This post has been edited by herrickphoto: May 29 2008, 06:45 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Tom H.
post May 29 2008, 07:33 AM
Post #2


Advanced Member
****

Group: Members
Posts: 129
Joined: 24-August 06
Member No.: 14



If your server is Apache, enabling content negotiation (MultiViews) should achieve what you're after. See the Apache Content Negotiation documentation.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 04:14 AM