Support » Fixing WordPress » how to redirect from old wp blog to new wp blog at a different address

  • Resolved rmarshsj

    (@rmarshsj)


    I am moving my wp blog from rmarshsj.f2s.com/rob to rmarsh/com. I can handle the actual transfer etc but am wondering whether there is a plugin or hack that will redirect (301) all requests from the old blog to the equivalent post in the new. I intend to keep the old blog running for a month or so and would like Google (etc) to be able to make the transition smoothly.

    Thank you for your help.

    Rob

Viewing 4 replies - 1 through 4 (of 4 total)
  • Angsumans plugin redirects posts and pages 301

    <http://blog.taragana.com/index.php/archive/wordpress-plugin-for-permanent-redirection-of-posts-angsumans-permanent-redirector-plugin/&gt;

    It worked well for me.

    It did not redirect /categories/ matbe because of me or the plugin?

    Also I could not use .htaccess to do this because I did not have access.

    So I ended up using the plugin for a month or so (Google redirected everyting in a matter of days) and then I used a php redirect like for the rest of the site.

    <?php
    // Permanent redirection
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://blog.mynewsite.com/");
    exit();
    ?>

    Also see this thread for the Otto42 solution using htaccess. http://wordpress.org/support/topic/84399?replies=5

    Maybe there is a better way but that worked for me.

    Thanks febwa1976 I’ll give those a look. Rob

    I’ve looked at Angsumans’ plugin and cooked up my own version which doesn’t require giving custom fields to the posts you need to redirect. It should redirect anything apart from the admin pages. I can’t properly test it yet until my domain transfer goes through, but if it works I’ll make it available.

    Thanks for your help.

    rmarshsj, Please let me know if your new version works. I was just about to install Angsuman’s plugin and go through the laborous process of adding the custom redirect field to ALL my posts. But if you have a way around that, I’d love to use your version instead.

    If it works, please email it to me or let me know.

    cpjolicoeur [at] gmail [dot] com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to redirect from old wp blog to new wp blog at a different address’ is closed to new replies.