Posted on 5 August, 2010 By 16 Comments

How to Use the WordPress Redirection Plugin When Moving Site to a New Domain or Directory

 

On Monday I discussed the Update URL’s plugin that will update the image and internal links on your WordPress site when you move it to a new domain or directory location.

You also want to make sure that your visitors don’t get lost and get 404 errors when they access your site or follow bookmarks to it. In other words you don’t want to lose or confuse visitors who are still coming to your site via the old URL.

URL redirection can be done via the .htaccess file but for non-techie types and those of us who are easily confused (me) the Redirection Plugin is a great alternative.

  1. Install and activate the plugin
  2. Go to Tools > Redirection
  3. You will see a screen that looks like this
  4. In the source URL field, put the original URL of the website. For example, if you are moving your site to the root directory from the blog subdirectory, you would put yourdomain.com/blog
  5. In the target URL field, put the new URL – yourdomain.com
  6. Click on the Add Redirection button
  7. As long as you are using the same permalink structure under Settings > Permalinks, this one Redirection will take care of all your blog posts and pages.
  8. Sometimes when moving a site the content is reorganized. For example, if you had a page for Writing Services, Resume Services, etc and on the new site you made a page called Services and made Writing and Resume child pages of services that the URL would change. You can deal with this through the redirection plugin as well. For example, yourdomain.com/writing-services is now yourdomain.com/services/writing. You can put the first URL in the source field and the second in the target field.
  9. You can test that it is working properly but putting the source URL into your browser. You should be automagically redirected to the new URL

It’s a great plugin and I’ve found it really useful for sites that are being moved to new domains and directories. Do you think you would use this?

photo credit: purplemattfish


StudioPress Premium WordPress Themes

Keep Reading:
Posted In : WordPress Plugins

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list

.


16 Responses to “How to Use the WordPress Redirection Plugin When Moving Site to a New Domain or Directory”


  • Nice find ! Tons of people ask how to move a site to the root and it’s tough trying to give them a blow by blow via email or on a help forum.
    Now I can direct them here to this article.

    I wish this was around back when I used to stumble through the process. Had a lot of white screens in my past.
    Thanks for sharing.


  • Thank you for the tips!
    .-= vered´s last blog ..My Reasons for Going Gray =-.


  • Nice plugin Kim, I going to save this post in my memory file for the future when we going to move the site.


  • Hey Kim
    Suppose I move 3 posts from site A–> B
    What do you suggest will it be a good idea to do it using this redirection plugin??
    .-= Harsh Agrawal´s last blog ..Hostgator Maximum Discount and 1 month Free Hosting- August 2010 =-.


    • Hi Harsh – I would put the full url for each post into the redirection settings. If the posts are also going to be on the original site, I would put a link in them to the new location.


  • Your blog post here popped up in Google as I tried to find explanations how to use the plugin. I’ve activated it and the dashboard is anything but user intuitive.

    How do I use it??
    Ari Herzog´s last post ..17 Plugins to Improve Your WordPress Blog


    • Hi Ari,

      You had a redirection for each URL. Source url is the old one and target url is the new one. For example

      ari.com/services – source url
      ari2.com/services2 – target url

      You add each one. One thing confused me is after you save, the one you just added is still filled in – you can just type over that to save the 2nd one.


  • Hi,

    Thanks for sharing this tutorial. Recently I am having more trouble on my webmasters tools on crawling 404 error but I am not well aware of using such redirection plugin and how to make 301 redirect. That’s why I am thanking you for sharing this tutorial. Now all my 404 error is redirect to my site :D

    Cheers!


  • will it effect google page rank……?


    • It can. Google needs to re-index the new links and it can take 3-6 months to get back to where you were. It’s helpful to submit an updated site map to Webmaster Tools.


  • I agree with Ari that this plug-in is not intuitive. I did find that the developer put some instructions on his Giraffe website but I’m still unclear.

    I have launched a website on WordPress that was on a different platform. The domain name has not changed but each of the page names has. Because the other site had numbers and ended in html in each URL and the current site has the category/post permalink.

    I have a list of 30 of these types of redirects to add to the Redirection Plug-in. Where and how do I do it?

    Also, if this plug-in is installed, it says it “automatically” redirects a post URL change? In other words if someone realizes they should have named a post differently in the URL – it was indexed and RANKED by Google already in 2 hours – would you change it? Right now it is a very timely post. Would it be better to wait and change it after the timeliness dies down (6 months) or do it now?

    ====

    By the way, I did a redirection from /blog to the .com a year ago and now I think it is the very rare circumstance that justifies changing the root of a mature blog. In case you didn’t know, when you buy a “vanity” URL for Posterous.com, it is accomplished by redirects – not worth it. I should have kept my name.posterous.


    • Hi Linda – You would add the old url to the source url field and the new one to the target url.

      I’m not sure if I would change the URL on a popular post or not – that’s a tough one. Google should pick up the change quickly and if it’s redirected it shouldn’t be too much a problem.


Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge

About

Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • Eric Chapman: You rock; thank you!...
    • Victoria12: Wow! This are so cute. It is so much special when our kids do it on their own and give it us as a surprise gift.. So tou...
    • Catherine: I hope that the page owners have a plan for the transition. One concern is that Facebook doesn’t have a great method of ...
    • harm: You no longer can "Add to My Page" This used to be simple, using the facebook UI. Unfortunately facebook removed thi...
    • Phil Derksen: I was referencing plugin #1 in the list btw. :)...

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice