03-17-2010, 12:59 PM
i'm not sure if this is the correct forum to start this thread.. my apologies..
my concern is will there be an effect in my site's ranking and visibility if i change my index file from .html to .php? any tips on how to ensure the smooth transition from .html file to .php?
03-17-2010, 01:27 PM
my concern is will there be an effect in my site's ranking and visibility if i change my index file from .html to .php? There's no advantage in the SEO point of view.
03-17-2010, 01:47 PM
There's no advantage in the SEO point of view.
thank you for the prompt and helpful response.
my only intention in changing my index file from .html to .php is to make the jump from a static web page to a dynamic one. if i continue with changing to .php, will i need to do something to ensure that there'll be no confusion with indexing of my web page since it'll have a different file extention?
03-17-2010, 02:25 PM
Google is smart enough to index where the content it, but you should probably set up some redirects from the old extensions to the new. I think it's a 301 that denotes a permanent change.
03-17-2010, 02:38 PM
Oh.. I misread your post. In that case, you could set permanent redirects as mentioned by tomws.
03-17-2010, 02:58 PM
to tomws and abduraooft, thank you very much for your help..
I don't think it'll affect your SEO or pagerank, but to be sure, use htaccess redirect:
// 301 Moved Permanently
redirect 301 /index.html /index.php
also, this will redirect all html files to your php files:
RewriteRule (.*).htm$ /$1.php