Automatic Product Redirects

Your store can be configured to automatically generate a permanent redirect whenever the URL key of a product or category changes. In the Search Engine Optimization section, the checkbox below the URL key indicates if permanent redirects are enabled. If your store is already configured to automatically redirect catalog URLs, making a redirect is as easy as updating the URL key. The process to create an automatic redirect is the same for both products and categories.

Create Permanent Redirect for Old URL

To set up automatic redirects

  1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.

  2. In the panel on the left under Catalog, select Catalog.

  3. Expand the Search Engine Optimization section.

  4. Set Create Permanent Redirect for URLs if URL Key Changed to “Yes”.

  5. When complete, tap Save Config.

    Search Engine Optimization

To automatically redirect product URLs

  1. On the Admin sidebar, tap Products. Then under Inventory, choose Catalog.

  2. Find the product in the list, and click to open the record.

  3. Expand the Search Engine Optimization section. Then in the URL Key field, do the following:

    • Make sure that the Create Permanent Redirect for old URL checkbox is selected. If not, follow the instructions to enable automatic redirects.

    • Update the URL Key as needed, using all lowercase characters and hyphens instead of spaces.

  4. When complete, tap Save.

  5. When prompted to refresh the cache, follow the links in the message at the top of the workspace. The permanent redirect is now in effect for the product and any associated category URLs.

To automatically redirect category URLs

  1. On the Admin sidebar, tap Products. Then under Inventory, choose Categories.

  2. Find the category in the tree, and click to open the record.

  3. Expand the Search Engine Optimization section. Then in the URL Key field, do the following:

    • Make sure that the Create Permanent Redirect for old URL checkbox is selected. If not, follow the instructions to enable automatic redirects.

    • Update the URL Key as needed, using all lowercase characters and hyphens instead of spaces.

  4. When complete, tap Save.

  5. When prompted to refresh the cache, follow the links in the message at the top of the workspace. The permanent redirect is now in effect for the category and any associated product URLs.