Reply
switching your site to php
Old 03-16-2006, 05:24 PM switching your site to php
Junior Talker

Posts: 1
Location: Canada
I'm sure a lot of people have faced this. Switching your web site from a 100% basic HTML site over to all php files. Basically what you're doing is getting rid of all the files that exist on your site with the HTML extension and replacing them with pages that have the php extension. Doing this causes you to lose all your sub-pages' PR. There are several options to fix this, one being the meta refresh, one being the 301 redirect and one being mod-rewrites.

The meta refresh tag is not necessarily the most search engine friendly method, and neither is a 301 redirect and the problem with these methods is that your new pages start off with a zero PR anyway and you have to wait until the next PR update to see any change, and even then there's no guarantee you'll end up with the same PR as the old page.

The mod rewrite is the best solution, I think, as your pages can still look as though they have the html extension, but the file name is being drawn from a php file.

Anyone else have any other solutions?
__________________
Courtney Heard
Abalone Designs Inc.
http://discussions.abalone.ca
vlu77 is offline
Reply With Quote
View Public Profile Visit vlu77's homepage!
 
When You Register, These Ads Go Away!
Old 03-16-2006, 05:41 PM Re: switching your site to php
stOx's Avatar
Machine

Latest Blog Post:
Worlds Smallest Car - Peel P50
Posts: 2,114
Name: Matt. (>',')>
Location: London, England.
I would go for a 301 redirect because it's the most SE friendly redirect.

But the mod_rewrite would be the route to go if you are still concerened about SEO because no URL's would change.
stOx is offline
Reply With Quote
View Public Profile Visit stOx's homepage!
 
Old 03-16-2006, 05:55 PM Re: switching your site to php
chrishirst's Avatar
Super Moderator

Posts: 15,208
Location: Blackpool. UK
just make .htm/.html files be parsed as php

Nothing changes, no redirects needed.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to switching your site to php
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12724 seconds with 12 queries