company logo

Help center

Go to CartGenie
App DashboardCartGenie Website[email protected]
All collectionsMigrate to CartGenieHow to 301 redirect your old products & pages to your new CartGenie URLs

How to 301 redirect your old products & pages to your new CartGenie URLs

Before you go live, you'll want to redirect all your old products to your new URLs to ensure no broken links & to preserve SEO

When migrating an existing Webflow Ecommerce site to using CartGenie on the same site, our app cannot use the existing product collections and pages. Therefore, the URLs of your old WF Ecom products is going to be different than the URL of your new CartGenie products.

Example:

  • Old URL: store.com/products/hat

  • New URL: store.com/shop/hat

This can cause issues with SEO and broken links if someone has linked to your products on social media or another website.

To fix this, you’ll need to create a 301 redirect from the old URL to the new one.

Creating 301 Redirects in Webflow

To do this, you can go to your Webflow site’s project settings and go the “Publishing” tab.

Scroll down until you find the “301 redirects” section.

Here you can add individual redirects or import bulk redirects.

Webflow: Learn more about 301 Redirects

Redirecting An Entire Product Collection (Wildcard Capture Group)

If you haven’t changed the slugs of your products in CartGenie (product slug “hat” in Webflow Ecom is still “hat” in CartGenie), then you can use a wildcard redirect.

This will redirect all URLs from the /products/ collection to the /shop/ collection while maintaining the original product slugs and URL structure. So that store.com/products/hat will redirect to store.com/shop/hat

To do this, simply enter these values into the redirect path popup box (change “shop” to whatever slug you used for your CartGenie product collection”).

  • Old path: /products/(.*)

  • Redirect to path: /shop/%1

info icon
Note: You don’t need to include the root domain (store.com) when adding redirects unless the root domain is changing as well

You can find your new collection URL / slug by clicking the “gear” icon in next to the collection name in Webflow:

Redirecting Individual Products

If you’ve changed the slug of your products in CartGenie, you’ll need to map each product separately.

Example of when this is required:

  • Old URL: /products/hat

  • New URL: /shop/cowboy-hat

You can do this one-by-one in Webflow or by using the import feature for bulk redirects.

info icon
Note: You don’t need to include the root domain (store.com) when adding redirects unless the root domain is changing as well

Did this answer your question?
😞
😐
😁