Jump to content

changing from .htm to .php without google trouble


Recommended Posts

I want to change my .htm pages to .php pages. My current .htm pages number about 60 and I plan to add about 25 new pages. The new ones obviously will start as .php

 

I have read a lot of complicated stuff about re-directs and re-writes but I'm not sure my site is worth all that.

 

My main concern is if I change thispage.htm to thispage.php, Google will look at thipage.php and think it's a duplicate of thispage.htm and do something funny with it.

 

Here is what I am currently thinking:

 

I'll publish 25 new .php pages soon. Then in a week another 25 making a total of 50 .php pages. I'll add them to the google map too.

 

My current .htm pages I will replace with a simple list of links to the .php version and put a JavaScript forwarding script sending any users to the .php copy.

 

Anyone see any problems with this idea? Like I said, my main fear is google thinking I am making duplicates. Does anyone think Google with compare my .php version with an already indexed .htm version and not index the .php version, even if the actual .htm version is now different.

 

I hope this is clear.

 

 

Google theoretically should treat the files as if they're unique files (but I don't know how google works, so don't take my word for it ;p).

 

Hmmm....

 

I would suggest using htaccess to make Apache parse htm as html.

 

If that isn't possible, then I would just do what you suggested and hope google doesn't go too crazy for too long if it does do what you fear.

How do you do, or specify, a permanent relocation or 403 redirect. I was planing on just location.href= "thispage.php" but if there is a specific redirect or replacing pages I'd like to understand it.

 

Is this all I need?

 

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.thiswebsite.com/thispage.php">

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.