Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Redeveloping site with PHP

Will launching a new site in php affect the old search rankings?



12:32 pm on Apr 11, 2007 (gmt 0)

5+ Year Member

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.

For example...


will become


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!



12:35 pm on Apr 11, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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


3:32 pm on Apr 11, 2007 (gmt 0)

5+ Year Member

ok, will look into. Thanks for your quick reply!


3:34 pm on Apr 11, 2007 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

>> 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


3:35 pm on Apr 11, 2007 (gmt 0)

5+ Year Member

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


12:19 pm on Apr 16, 2007 (gmt 0)

5+ Year Member

Thanks for your help guys.

Modified the .htaccess file and all seems to be working fine and doing as I desire!

Thanks again.


Featured Threads

Hot Threads This Week

Hot Threads This Month