For the second time this year I had to migrate one of my own affiliate websites using a premium press theme called ShopperPress over to Woocommerce. This involved creating another instance of the site and migrating all data including the product content, reviews and images over to a new WordPress installation.

Once I had completed the site I wanted to make sure that all the old product URL’s were re-routed to their respective product pages on the new WordPress site using 301 redirects. The process of setting up these 301 redirects will not only provide the SEO benfit of retaining ranking power (link juice) but also making sure that all inbound links don’t lead visitors to 404 pages. Visitors will be lead to the content they were looking for when clicking on old inbound links.

If you’re looking for a plugin that will help you setup 301 redirects quickly and easily I recommend using the Eggplant 301 Redirects plugin (https://wordpress.org/plugins/eps-301-redirects/). Whether you do this through a CSV import or manually using the dropdown menus, this plugin simplified the process.

When Should I use EPS 301 Redirects? 1. Replacing an old site design with a new site design 2. Overhauling or re-organizing your existing WordPress content 3. You have content that expires (or is otherwise no longer available) and you wish to redirect users elsewhere.

To accomplish I performed the following steps:

1. Backup the sitemap.xml locally. As you know the sitemap.xml will provide a list of all the live URL’s that are used on the website. If you do not have a sitemap xml then you should install a plugin that will provide one for you as there are many of them available.

2. Open the sitemap in excel. You can then get all your current product URL’s in one column.

3. Edit the excel file so it meets the requirements of the Eggplant 301 redirect CSV. So it will have 3 columns.

Column 1 will be the text “301” repeated alongside all of your url entries
Column 2 will be the old url
Column 3 will have the new url

4. Import this CSV using the plugin Eggplant 301 redirect – https://wordpress.org/plugins/eps-301-redirects/

5. Save

When you visit the old product urls they will now redirect to the new urls.