Solved

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

Posted on 2008-10-22
3
288 Views
Last Modified: 2013-12-16
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
Comment
Question by:Aid_Force
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
JimDestruct earned 125 total points
ID: 22776393
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
 

Author Comment

by:Aid_Force
ID: 22776587
Thats great, thank you.
0
 
LVL 1

Expert Comment

by:JimDestruct
ID: 22776739
excellent! make sure you click on 'Accept as Solution' if it's the correct answer :)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question