How to set up 301 URL Redirects via the Magento 2 Admin
How to set up 301 URL Redirects via the Magento 2 Admin
Sometimes, your products or page URLs may change, depending on various factors. However, the old URLs can remain indexed in Google and begin negatively impacting your SEO score because they lead to a 404 "Not Found" page. To fix this, the best solution is to set up a 301 URL Redirect from the old URL to the new URL. Here’s how:
Step 1:
Log in to your Magento Admin and head into:
Marketing -> SEO & Search -> URL Rewrites

Step 2:
Click on Add URL Rewrite. In the next section, you’ll be prompted to add the URL Rewrite details. Select Custom, choose the Store View, and set the old URL path in the Request Path field along with the new path in the Target Path field. Then, set the Redirect Type to 301 (Permanent).

Step 3:
Save the configuration. Afterward, go to the Cache Management section and flush the Magento Cache, along with any other external caches you may be using. Finally, confirm that the 301 Redirect works by using a Redirect Checker.
Updated on: 18/09/2025
Thank you!
