Move WP to new site, have redirects on old site. (3 posts)

  1. haligan
    Posted 11 years ago #

    Currently I have Worpress installed on a student web server at school. After the holidays are over I plan on moving it off that server and wanted to know how I woul dgo about placing a redirect for all the old posts to the new site.
    Basically I would want it to display a page saying that the site has moved and then redirect the user to the same post on the new server. I will be doing a mysqldump so all of the archives should match up, it would just be changing the tempate (for a lack of a better word) of the content to show the "this site has moved text" with the redirect to the same post.

  2. serendipity
    Posted 11 years ago #

    Is there a way to combine the delay with a 301 "moved permanently" code? I documented how I moved my blog here.

  3. Kafkaesqui

    Posted 11 years ago #

    I don't know of one.
    Typically you want a 301 status code to be followed with a Location header, which doesn't provide a wait component and obviously defeats the refresh through http-equiv.
    Off hand, the only way out of it I can think of is to perform a rather robust browser check, and through that decide which one to pass off - 301 to search crawlers or a delayed refresh to a live person.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.