Forum Moderators: phranque

Message Too Old, No Replies

manual redirect old index.php to new index.php

index.php, redirect, multiple redirect

         

tadao

9:51 pm on Mar 23, 2010 (gmt 0)

10+ Year Member



Hello,

I have a problem with old indexed page redirection.
I used to have a simple php site and now I changed into a CMS website.
I had a few php (about 10)files which I want to redirect manually to defined pages of the CMS. For ex:

http://www.mydomain.com/index.php?pages=contactold

--->
http://www.mydomain.com/index.php?page=contactnew&hl=ch


What should I do?

Thanks for help

g1smd

10:11 pm on Mar 23, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you want to use the new script to serve the content, but carry on using the same URLs to access that content (recommended)?

Or, do you want to use new URLs to access the content, and redirect requests for the old URL to some new URL? The latter method may see a reduction in traffic for some time while searchengines adjust their listings.

tadao

10:16 pm on Mar 23, 2010 (gmt 0)

10+ Year Member



Thank you for your attention @g1smd

The second option. I want to delete de old php files and redirect the requests to the new URLs
The traffic reduction is not a problem.

g1smd

12:51 am on Mar 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just because the files on the server have changed name, there's no reason why you can't continue to use the same URLs to access that content! The action of a server is to map external URL requests to internal resources found inside the server to serve that content.

However if you insist on using new URLs, now is the time to do it properly, using a more friendly format than http://www.example.com/index.php?page=contactnew&hl=ch which has the unfortunate problem that http://www.example.com/?page=contactnew&hl=ch is a duplicate of it.