Is it true that google picks up .html extensions better then .php/.asp/etc.? For example, google likes websites with: http://www.domain.com/page.html insted of http://www.domain.com/index.php?page=page.html
I don't know why but all search engine optimized pages usually have .html extension. One reason may be dynamic pages like showthread.php?t=98477 are converted to something like thread_title1233.html through mod_rewrite and htaccess to optimize it for search engine. But there could be many other extensions why only .html
Hello webviz, Its not proved yet that .php or .html is better , but as per the results which we see .html gets good ranking always.. am not sure, the other reason can be that .php is not much popular as much as .html so we see .html mostly.. but these days SE's are also listing .php .asp and others with higher rankings
Really, I just know But mostly peoples made their website by using the php scripts then how search engine has able to understand it?
PHP&ASP are pre-text processors, and they are priting out HTML ! PHP don't print out PHP code the web brwoser, but PURE HTML code!
I actually always try to use the .html extension, using mod_rewrite or using keyword1.keyword2 where keyword2 is an added MIME-Type that is set to behave like PHP. Then I use the PATH_INFO variable in PHP. Information of the PATH_INFO can be found here: http://www.zend.com/zend/spotlight/searchengine.php But that page has not been updated for some time and the latest PHP versions by default have Register Globals turned off, so the only problem you will get is $PATH_INFO will not work and you need to use $_SERVER[PATH_INFO] But by experience, I have some SEO clients that are still doing well even with question mark URLs in formats like: http://www.domain.com/path/file.php?var=param&var2=param2 What I did notice is too deep paths take a longer time to get index.