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

Posted on 2008-10-22
Last Modified: 2013-12-16
How do you get rid of the .html extension that appears in a browser?

For example:

instead of getting,

you would instead see:
Question by:Aid_Force
  • 2

Accepted Solution

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 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

Author Comment

ID: 22776587
Thats great, thank you.

Expert Comment

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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Click on Too…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 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