Latest news

How To Set Up Automatic Product Redirects in Magento 2? (5 minutes)

No comments


In Magento 2, when you change any URL key of a product, it will create a automatic redirects. Then, when your customers access to the old URL, they will be redirected automatically to the new/ edited address. However, you must conduct several configurations in the back-end menu to make it work.


There are just 4 simple steps to configure automatic product redirects in Magento 2. Let’s get started!

  • 1st step: Go the admin panel, navigate to STORES and choose Configuration (under Settings)

(Admin Panel => STORES => Configuration)

automatic product redirects magento 2

  • 2nd step: Select Catalog in the left panel, under CATALOG section

Expand the CATALOG section, then choose Catalog in the drop-down.

magento 2 product redirects

  • 3rd step: Expand Search Engine Optimization section

After expanding the Search Engine Optimization, you must select Yes for the field – Create Permanent Redirect for URLs if URL Key ChangedAfter that, save the config.

redirect automatically magento 2

  • 4th step: Go the admin panel, navigate to PRODUCTS and choose Catalog (under Inventory)

(Admin Panel => PRODUCTS => Catalog)

product redirects magento 2

Next, choose a product from the list.

automatic redirects magento 2

Let’s scroll the page until you find the Search Engine Optimization section. Here, check on the box of Create Permanent Redirect for old URL  and edit the URL Key if needed. When you finish, save the config. Afterwards, remember to refresh cache to complete all settings.

redirect product page magento 2

Now, when the customers access on the page of this product, they will be automatically redirected to the new URL. Besides, Magento allows you to check all of the redirect records by going to the admin panel, selecting MARKETINGS, then choosing URL Rewrites under SEO & Search. (Admin panel => MARKETINGS => URL Rewrites)

magento 2 redirects

url rewrites magento 2

We have shown you basic conception of the automatic product redirects in Magento 2 and more importantly, how to configure it in the back-end menu. If you have any problems when following this tutorial, be free to ask us by leaving a comment below. See you in the next tutorials!

See More Our Magento “How To” Series:

How To Config Sitemap in Magento 2?

How To Use Flat Catalog In Magento 2?

How To Config URL Rewrite in Magento 2?

How To Create New Cart Price Rule In Magento 2

How To Create New Catalog Price Rule In Magento 2

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
April LeeHow To Set Up Automatic Product Redirects in Magento 2? (5 minutes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *