How to Automatic Product Redirects in Magento 2


From Magento 2 backend, store admin can auto-generate a permanent product redirect whenever the URL key of a product changes. To apply the URL Redirect, let mark Create Permanent Redirect for Old URL checkbox that apppears beneath the Search Engine Optimization section. At that time, your store is already ready to set for the automatic product redirects as updating the URL key.

Configure automatic redirects

  • On the Admin Panel, Stores > Settings > Configurations.
  • On the left panel, under Catalog, choose Catalog.
  • Open the Search Engine Optimzation section.
  • Choose Yes for Create Permanent Redirect for URLs if URL Key Changed field.
  • Save Config to complete.

How to Automatic Product Redirects Search Engine Optimization

Auto-redirect catalog URLs

  • On the Admin Panel, Products > Inventory > Catalog.
  • Open the Edit mode of the needed product in the Inventory list.
  • In the URL key field, do the next:
    • Ensure that you marked the Create Permanent Redirect for old URL checkbox.
    • Edit the URL Key as needed with all lowercase characters and hyphens excepting for the spaces.
  • Save to complete.
  • Follow the Cache Management link in the system message to flush the cache and idex. Right after that, the permanent redirect is enabled for the product and any associated category URLs.

Ref: Magento 2 User Guide

Mageplaza One Step Checkout helps reduce the abandonment rate as well as increase the conversion rate dramatically. Mageplaza Layered Navigation brings a list of filters to help your customers search and get the favourite products in the shortest way. Mageplaza Social Login (FREE) supports 11+ types of social networks.

It comes to the end of tutorial: How to Automatic Product Redirects in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Automatic Product Redirects in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

18 reviews

Layered Navigation

11 reviews

Store Locator

2 reviews

Shop By Brand

no review

Zoho CRM

no review


10 reviews

Better Blog

7 reviews


7 reviews