Is .html extension better than .php and .aspx for SEO?

Jitendra Vyas picture Jitendra Vyas · Oct 7, 2009 · Viewed 8.2k times · Source

Is .html extension better than .php and .aspx for SEO ? or extension less url is better then all

Answer

Sam Pride picture Sam Pride · Oct 7, 2009

The extension has little effect on rankings and all that SEO jazz.

Your page's extension may not neccessarily indicate how the content was generated. A PHP or ASPX, whilst normally attributed with dynamic content, can quite easily always render static content. Furthermore, with some relatively easy configuration, you can get all .html pages to be processed as if they were a dynamic page (ie, index.html is actually a php file).

What I think you are concerned with is, "Is static content favoured over Dynamic content". Google says no:

GOOGLE: Dynamic vs Static URLS

The web is conflicted on this, as some people would expect static content to be preferable as it doesn't change (and thus won't invalidate results). But I tend to trust the big google.

I would focus more on the page content than the extension, as that is what the robots spend most of their time crunching.