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:
How to redirect all 404s to the homepage
How to redirect all product page 404s to their collection page
Â
How to redirect all 404s to the homepage
Go to "Create Redirect Pattern" on Redirect patterns.
Add the "Redirect From" URL as: /✱
Add the "Redirect To" URL as: /
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
Go to the "Regex Redirect Pattern" on Redirect patterns.
Copy and paste this path URL: /\/(products\/.*)$/i
Add a target URL of: /
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.