Skip navigation
newsletter signup

HTML in File Name

April 7, 2010
Hi Jill,
.html in file name
I hope this email finds you well and business is good. We are doing some redevelopment on our CMS and the functionality. To date, all URLs were search engine friendly – that is, they excluded the characters ?, &, %, and =, but we did not allow for them to be rewritten so they can include key phrases on all levels. Now we are developing the package so this can be done.

Do we need to have .html at the end of the URL?

For example, this page:

would be:

Any advice you can give will be greatly appreciated.



++Jill's Response++

Hi Sandra,

You don't need to have .html at the end of your URLs. You don't really need keywords either, but if you are planning to put them in, you don't want to use underscores, as in your example URLs. You should use dashes (–) to separate the words instead.

Hope this helps!


Jill Whalen is the CEO of High Rankings, a Boston SEO Agency.

If you learned from this article, be sure to sign up for the High Rankings Advisor SEO Newsletter so you can be the first to receive similar articles in the future!
Post Comment

 Alan Perkins said:
Not only is .html not needed but you're better off without it, as .html describes a technology that you may not wish to be tied to in the long term. I recommend that URLs on YOUR site that you would like EXTERNAL sites to link to should end with a "/", e.g.
 Troy Lightfield said:
Hey Jill,
What if the existing file structure currently uses underscores instead of dashes? I recently re-designed a site for a client and found that their pages had value so I left the naming convention alone. Would I have been better off renaming those pages?
Thanks for your thoughts!
 Jill Whalen said:
@Troy, in my opinion you're rarely better off renaming existing URLs. It's only something you should do if you're changing your content management system and you have to.