1

I'm looking to redirect a WooCommerce site to Shopify. These are two different domains.

The Shopify site is hosted with Shopify and the WooCommerce site is hosted with Cloudways and uses Cloudlfare.

I have created a redirect map list so individual URLs on the WooCommerce site can be redirected to relevant URLs on the Shopify site.

How do I redirect the Woocommerce domain to Shopify with the individual URLs correctly mapped?

Thanks.

1 Answer 1

2

In the end, you need to add 301 Redirects to the server or the WordPress instance. It's much better to add them at the server level, so here's the 2 possible ways to go about this:

  1. RewriteRule patterns within .htaccess file. The pattern is SUBSTANTIALLY like: RewriteRule ^/product-1-page/ https://example.com/collection/product-1-page/ [R=301,L] RewriteRule ^/product-2-page/ https://example.com/collection/product-2-page/ [R=301,L]
  2. Use the Redirection by John Godley plugin for Wordpress
  • Note: This is for Cloudways, which uses Apache and .htaccess files. If you're using nginx, caddy, or another web server, the setup is different.

I would also suggest individual redirects that map your privacy policies, terms+conditions, disclaimers, anything else that may have been sent to a customer in a previous email, etc.

Besides individual product page redirects, you'll also want to add a redirect for the entire remaining site.

Be careful with (and test) all of this if you have trailing slashes, need access via http:// (which you shouldn't becuase you're only accepting secure https:// connections ;-), and other issues that might cause issues or infinite loops.

When it's all working, remove your old sitemaps submissions from Google Search Console and Bing Webmaster Tools and submit new one(s).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.