Yes, but neither of those "Yes" options are correct. .html extension is preferred for SEO, it has nothing to do with hacking or looking professional.
i dont think it matters a much at the end of the day .html is mainly for static sites and now people are slowly moving away from it unless u mean to do this via mod rewrite
Okay, but I read in a .php security page that changing the pages from .php to .html could deter 1% of hackers (every little bit helps ) or at least make it harder for them to hack the page because they don't know which coding language to start with.
Belive me, there are ABSOLUTLY NO DIFFERENCE on doing it. Oh.. yes... maybe you will have to wait 6 month to get google to re-index your whole site.
I can't see any benefit at all of doing this. php is much better as you can do much more with it. I have hundreds of .html pages on my site and I wish that they were php pages now as it is much more flxible!
No. index.php?category=Testing&page=2 is not preferred over /testing/page2.html OP. if you mean you have page1.php, page2.php, page3.php, etc... without passing any parameters in the url, then there is no point in moving to html. I was assuming you meant mod rewrite to change the .php extension to .html.
Depends on your personal opinion, I personally think that a URL like questions.php?answer=123 looks pretty ugly compared to question/answer/123.
But if I just change the extension and add a rule in my .htaccess file, it shouldn't affect the way my pages are parsed right?
It's hands down a yes, but as mentioned by someone else; those reasons don't really cut it. Mainly this is done for SEO. Search engines love static content (.html). However, if you are a frequent updater, I suggest you *trick* the search engines and use ModRewrite (apache module) in an effective way where every page can have a unique PAGE_NAME.html and grab it's truly dynamic content. However, it appears static which is all that matters! Regards, Dennis M.
If I change my pages to .html search engines will still parse the php code in the pages right? Like: <?PHP if($foo == 1) } //do this else { //do that } ?> Code (markup): My most of the urls I am planning to change are not like: www.mysite.com/file.php?y=139DAsd9312&va=3019OOP They are just like www.mysite.com/file.php So they are basicly static already with some php code mixed in with the html for querying databases and including file contents.
I have said "no", because everything and anything google has ever taught me says that it does not matter, and their algorythms are smart enough to work around it. If I didn't listen to google, I would have said no.