Create 301 redirects from Infusionsoft eCommerce shop links

Hello, I have moved my shop from Infusionsoft eCommerce solution to Woocommerce. Has anyone found a way to create 301 redirects from the “old” shop to the new one?
Thank you

1 Like

Hi, @Lucy_Perkins. I’m not sure exactly what URLs you want to redirect. If you just want to redirect your storefront to a new storefront, you could add some JavaScript in one of the HTML areas of your theme.

<script type="text/javascript">
    window.location = "http://your_new_storefront_url/";
</script>

Hi Martin, Thank you, I will try that for the store front. Do you know if it’s possible to do something similar for each of the products?

Hi, I’ve just tested a product link and it now goes to the homepage of my new shop - which is great. I would like the product links to re-direct to the new product links in the new shop (ie. if someone wants to purchase product A from old shop, the link the have for product A in old shop directs them to product A in new shop), but if this is not possible, the fix to divert them to the homepage of my new shop is fine. Thanks again.

Hi, @Lucy_Perkins. I can’t think of an easy way to redirect individual links.