If I create a web page using the extension .php rather than normal .html, will it be less favorable by major search engine like Google, Yahoo and MSN? Please advise
i think it does not change anythink. if your urls are human readable like file-name.html or file-name.php , it has the same importance. is there any ? character in your urls
I will put some major keywords in the url, but some of my web pages will have a php script, so it must be in .php.
Nope, it doesn't make a difference. I ALWAYS use .php as I find I tend to use a lot of php scripts and just incase I ever add a script to a page I keep it as a .php
Think about it : the hundreds of thousands of blogs running Wordpress all have index.php ; and all the SE are just fine with it.
there is no problem with that... people want .htlml format it's because In SEO Static pages are more SEO friendly...
Long dynamic run on URL's used to give the se's problems, but as long as you don't have 6 different areas that are strung together by ? or & symbols then you're OK. Even if you had a bunch you could still be ok as long as you have a well executed navigational structure that stays static.
I notice that a url with '?' is called "ugly url or dirty url" in many seo tutorials. I think SE may not like this kind of url and make bots craw your site slower. So i change all my urls to 'clean and friendly urls' like "www.mydomain.com/category/topic-title.html" using mod_rewrite. I don't know how it effects to SERPs or index speed. but I change it because it looks nice and more readable.
.php endings are supposed to have no difference from .html endings. I think this is true, however If I mod rewrite a site I generally end it in .html Having lots of ?place=22 is ugly. Search engines certainly take longer to index endings like this.
I preffer .html extensions but this is my deviation. I can't agree with that. Lot of frameworks don't have mod rewrite module. Sites are not made only by SEO heads. Addresses stops been so important when usability + good content is nice linked. It can of course help, and Im always tryin to keep url friendly, but it is not so important ...
Think this way "What kind of code can Spybots read?" - HTML coding of course. Now, if your file is .php .asp .aspx .shtml etc...it won't matter really as long as the site code and content is html parsed. Anything HTML (inside code) is readable for search engines.