DISQUS

DISQUS Hello! Chris Pratt is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Best Practice SEO: File Extension or No?

Started by Chris Pratt · 1 year ago

I got into a discussion today at work over whether or not having an .html file extension has any SEO benefits over an extensionless directory-style url. I did a little research online and found just about equal arguments for either side.

On the .html file extension side, the argument ... Continue reading »

3 comments

  • Just what I've been looking for, thanks!

    I will use...
    /%category%/%post_id%/%postname%.html

    Instead of...
    /%category%/%post_id%/%postname%/

    All the small changes add up in google's eyes :)
  • This recently came up for me. Having been given about 30-40 static html pages by an "SEO" company and asked to turn these into a dynamic e-commerce site (using our existing platform) - from various conversations with them apparently having the .html extensions was in itself part of their "magic formula" for SEO.

    So far I have written our platform to implement extensionless URLs. I think it looks nicer, for a start. I'd previously been led to believe it was better for SEO - but clearly concrete information on this is mixed in opinion.

    More importantly, in the world of HTTP, we do not need file extension to infer the type of file we are downloading. That's the job of MIME. File extensions are very much tied to Windows and as such have no place in a cross-platform data interchange environment.

    So whatever eventually turns out to prove marginally better for SEO, in terms of standards and professionalism I have to go extensionless. Google will typically follow where the standards lead; if the sites with the highest quality and most relevant content are all extensionless, then Google will adjust their algorithms to suit those sites better.

    Whenever I have a difficult SEO decision to make, I always find the two biggest factors end up being Standards and Content. If you are doing everything right, SEO is no longer even something you have to intentionally think about.
  • Nice article. Despite a lot of advice to the contrary, I have never seen any difference when adding file extensions.

Add New Comment

Returning? Login