Permanent redirection of 400 dead links to their respective new urls?

Discussion in 'Site & Server Administration' started by shawnecstacy, Mar 4, 2009.

  1. #1
    I had a blog which have 400+ pages indexed in search engine. Now I have shifted to a proper hosting with a proper script and because of which all those links got dead. How can I redirect those links to new links.

    For example:
    Old Link : http://www.abc.com/2008/02/post1.html
    New link : http://www.abc.com?pageid=1

    Old Link : http://www.abc.com/2008/02/post2.html
    New link : http://www.abc.com?pageid=2

    There are more than 400 links like these above two. Old links were in blogger and they are not valid anymore since I have changed the domain nameserver to my hosting.
    One way is that I make same directory structure as blogger in my server and redirect each and every page by php Header:Location, but in that case i have to make 400 different pages which is very tiresome.
    Is there any simple way?
     
    shawnecstacy, Mar 4, 2009 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Camay123, Mar 4, 2009 IP