Solved

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

Posted on 2008-10-22
3
287 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

776 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