Hi just i want to know does file extension effect on google SEO point of view like .php .asp which is better SEO point of view .php, .asp, .cgi or .html most of my SEO friends says to me .html is best rather then .php but no one able to say WHY ?????
Neither have value over the other, they all produce HTML markup. You can parse and html file to read php, so in theory it would be silly for search engines to give value of one over another. So, basic answer is "No, web page extension has a higher SEO value from the other". Hell, you could parse HTML to a made up extension and still recieve the same value.
maybe what your friends mean is that plain, no frills content is easier for the spider to read and certain dynamic pages won't get indexed... but the extension doesnt matter in itself
if PHP has a query it can take longer to index, HTML is best because its the easiest code for google to understand and interpret. Other languages just don't have the same effect as html and html is much easier to use....
Ok, you do realize that PHP, ASP, etc all render HTML to web browsers and web robots. This is the most sillest reply I've seen yet regarding this subject and the mis-information continues to spread.
Most people believe that .html is better, it's a total myth, in fact i prefer .php not because it's .php but because most of my pages are php & it's easier with includes etc
You can use *.html and parse it to use php code with the .htaccess file AddType application/x-httpd-php .html Code (markup):
I know, but i'm one that doesn't believe the .html myth So i stick with .php because that is what the page extension is
What does the myth have to do with the fact I'm telling you how to parse php code inside a *.html file and not deal with 301 redirecting?
Everything, because i am not bothered about the extension of a web page, if the page is php i won't change it, even though it's possible & i could do so, that is the point i'm making, parsing code inside a html file is pointless. Thanks for the advice though
yaa HTML is considered as the best bcz of the simple reason that it is a language specially focussed on designing websites. moreover it contains plain text that is easy to read and understand.
As ssandecki has said (and others have said elsewhere as well), the extension you use for your Web pages has absolutely zero impact or effect on your site's SEO. Use whatever extension you want and feel most comfortable with.
Totally agree with Dan, there is no specific benefit of extension, i have optimized many site with page name having no extension. i have given page name like : hxxp://ww.domainname.cm/web-page/ and all pages are really doing great in search engines..