Redirect patterns are required to redirect all 404s to the homepage. You can access this feature by upgrading to Easy Redirects Premium for only $10/month.

 

There are 2 sections to this guide:

  1. How to redirect all 404s to the homepage

  2. How to redirect all product page 404s to their collection page

 

How to redirect all 404s to the homepage

  1. Go to "Create Redirect Pattern" on Redirect patterns.

  2. Add the "Redirect From" URL as: /✱

  3. Add the "Redirect To" URL as: /

  4. Click on "Create Redirect Pattern" 


Note: Typing an asterisk * in the path text field will automatically transform it into a ✱ value.


How to redirect all product page 404s to their collection page

  1. Go to the "Regex Redirect Pattern" on Redirect patterns.

  2. Copy and paste this path URL: /\/(products\/.*)$/i

  3. Add a target URL of: /

  4. Click "Create Regex Redirect Pattern"


This single regex pattern will redirect the product URL /products/product-name to your homepage and the collection URL for the product /collections/collection-name/products/product-name to its collection page /collections/collection-name/


If you are still having troubles, feel free to contact our friendly support team and they will do it for you.

You can also schedule a meeting with our Product Manager here