homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

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)

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)

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)

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


 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


 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


 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!

Thanks again.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved