Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.