🔥 Just Launched! Werra Premium Template for HyväSee it in Action

6 Easy Steps to Create 301 Redirect In Magento 2

By Sanjay JethvaUpdated on May 22, 2025 2 min read

A URL redirect is a way to redirect a user and search engine to a different URL than the requested URL.

301 Redirect tells the search engine that a previous URL’s content is sent to a new address and the old URL is useless. Once you create a 301 redirect, the old URLs will not be indexed by the bots.

With 301 redirects, the link equity of the old URL is almost passed to the new one. For example, the ranking power.

Steps to Create 301 Redirect In Magento 2:

Login to the admin panel.

Navigate to Marketing >  SEO& Search >  URL Rewrites.

URL Rewrites - Meetanshi

Click the ” Add URL Rewrite” button.

Select custom in Create URL Redirect dropdown.

Add the URL rewrite information:

  • Store – Select the store view where you want the URL Rewrite to be added
  • Request Path – Set the path where you want to be redirected
  • Target Path – Set the path you want the old one to be redirected to.
  • Redirect Type – Select Permanent (301)
  • Description – Enter the reason for this 301 redirect.
Add New URL Rewrite - Meetanshi

Save the configuration.

URL Rewrite Successful - Meetanshi

Note: Please do not enter either domain or store view code in the request and target paths.

Do share the post with the Magento community via social media profiles.

Thank you.

Also Read:

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.