Print Version September 23rd, 2006
If you ever have cause to move a WordPress blog from one domain to another you will want visitors to any pages on the old site to be silently redirected to the corresponding page on the new site. This goes particularly for Googlebot and other search engine spiders: you want them to be able to find your new site and update their databases so you don’t lose your ranking.
Moving Your Blog is a simple WordPress plugin that redirects all your posts and pages (status 301, permanently moved). The Admin pages are exempt so you can still administer the old blog.
- First setup your new blog in its new domain so that every post and page in the old site has its copy in the new site.
- Download the latest version of Moving Your Blog.
- Unzip and copy moving.php to the wp-content/plugins folder of your old blog.
- Activate the plugin from the Admin Plugins page.
- Visit the Admin Options|Moving page and enter the address of your new blog. When you update the address the plugin becomes active and starts to redirect your posts and pages.
- To turn off redirection delete the address of your new blog.
- If you need to uninstall the plugin it can be deactivated from the Admin Plugins page and/or deleted from your wp-content/plugins folder.
This is version 1.0 of Moving Your Blog. It is my first WordPress plugin.
Given the nature of this plugin it is hard to test so, for now, consider it beta software. If you try it let me know how it goes. The usual disclaimers apply.