How to Automatic Product Redirects in Magento 2
The Most Popular Extension Builder for Magento 2
With a big catalog of 234+ extensions for your online store
From Magento 2 backend, store admins 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.
How to Automatic Product Redirects in Magento 2
Configure automatic redirects
- On the Admin Panel,
Stores > Settings > Configurations
. - On the left panel, under
Catalog
, chooseCatalog
. - Open the
Search Engine Optimzation
section. - Choose Yes for
Create Permanent Redirect for URLs if URL Key Changed
field. Save Config
to complete.
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 these next steps:- 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.
- Ensure that you marked the
Save
to complete.- Follow the
Cache Management
link in the system message to flush the cache and index. Right after that, the permanent redirect is enabled for the product and any associated category URLs.
Related Post
Looking for
Customization & Development Services?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.
Get free consultantRecent Tutorials
February 14, 2022
Change Store Email Addresses
September 06, 2021
Fix Magento 2 'Invalid Form Key. Please refresh the page'
September 01, 2021
Magento 2 Search Settings: Default Magento vs Mageplaza AJAX Search
Explore Our Products:
Subscribe
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!
Earn $10 in reward now!