Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
Redeveloping site with PHP Will launching a new site in php affect the old search rankings? El_Matador msg:3308313 12:32 pm on Apr 11, 2007 (gmt 0) Hi guys,
Hoping someone can throw a little light on a little query.
I'm redeveloping a site and implementing php into it.
Every page is remaining in the same location.
What I want to know is will my current search engine rankings ( especially google :P) be affected in any way if I went live with the change? My initial feeling is no but just wanted to check with those who are much more savvy than me!
benevolent001 msg:3308315 12:35 pm on Apr 11, 2007 (gmt 0)
You can just use mod rewrite to serve php pages as your old extension , or other way add permanent redirect to pages , i suggest you to go for first way El_Matador msg:3308487 3:32 pm on Apr 11, 2007 (gmt 0)
ok, will look into. Thanks for your quick reply! jatar_k msg:3308488 3:34 pm on Apr 11, 2007 (gmt 0)
>> Every page is remaining in the same location.
well, no page is actually staying in the same place, if you change the extension it's a different place
your rankings will probably tank
your best plan would be to keep the exact same urls and just enable php parsing for the html extension.
forget mod_rewrite for this, just don't change the extensions
joelgreen msg:3308489 3:35 pm on Apr 11, 2007 (gmt 0)
you could also add apache directive to treat .html as .php
In this case you will not have to rename programs, and will preserve ranking.
Update: this is what needs to be added to httpd.conf or .htaccess (if you have rights to update at least one of them)
AddType application/x-httpd-php .php .html
El_Matador msg:3312358 12:19 pm on Apr 16, 2007 (gmt 0)
Thanks for your help guys.
Modified the .htaccess file and all seems to be working fine and doing as I desire!