Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

How do you get rid of the .html extension that appears in a browser?

How do you get rid of the .html extension that appears in a browser?

For example:

instead of getting www.expertsexchange.com/help.html,

you would instead see:

www.expertsexchange.com/help
0
Aid_Force
Asked:
Aid_Force
  • 2
1 Solution
 
JimDestructCommented:
that is done by creating folders then deafult pages for those folders. For example, if you want a contact us page on your website then you would create a folder called 'contact-us' then in that folder you would create an 'index.html' so when you go to http://www.yoursite.com/contact-us/ it automatically defaults to the index.html and displays the content but does not display the .html page in the nav bar - all you would see is http://www.yoursite.com/contact-us/
0
 
Aid_ForceAuthor Commented:
Thats great, thank you.
0
 
JimDestructCommented:
excellent! make sure you click on 'Accept as Solution' if it's the correct answer :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now