{"id":878,"date":"2020-03-11T19:46:10","date_gmt":"2020-03-11T19:46:10","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/03\/11\/create-301-redirect-in-magento-2\/"},"modified":"2025-05-22T14:46:50","modified_gmt":"2025-05-22T09:16:50","slug":"create-301-redirect-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/create-301-redirect-in-magento-2\/","title":{"rendered":"6 Easy Steps to Create 301 Redirect In Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A URL redirect is a way to redirect a user and search engine to a different URL than the requested URL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">301 Redirect tells the search engine that a previous URL\u2019s 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With 301 redirects, the link equity of the old URL is almost passed to the new one. For example, the ranking power.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Create 301 Redirect In Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Login<\/strong>&nbsp;to the admin panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to&nbsp;<strong>Marketing &gt;&nbsp; SEO&amp; Search &gt;&nbsp; URL Rewrites.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/03\/URL-Rewrites-Meetanshi.png\" alt=\"URL Rewrites - Meetanshi\" class=\"wp-image-8110\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click the \u201d&nbsp;<strong>Add URL Rewrite\u201d<\/strong>&nbsp;button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select&nbsp;<strong>custom<\/strong>&nbsp;in Create URL Redirect dropdown.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the URL rewrite information:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Store<\/strong>&nbsp;\u2013 Select the store view where you want the URL Rewrite to be added<\/li>\n\n\n\n<li><strong>Request Path<\/strong>&nbsp;\u2013 Set the path where you want to be redirected<\/li>\n\n\n\n<li><strong>Target Path<\/strong>&nbsp;\u2013 Set the path you want the old one to be redirected to.<\/li>\n\n\n\n<li><strong>Redirect Type<\/strong>&nbsp;\u2013 Select Permanent (301)<\/li>\n\n\n\n<li><strong>Description<\/strong>&nbsp;\u2013 Enter the reason for this 301 redirect.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/03\/Add-New-URL-Rewrite-Meetanshi.png\" alt=\"Add New URL Rewrite - Meetanshi\" class=\"wp-image-8111\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Save<\/strong>&nbsp;the configuration.<\/p>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/03\/URL-Rewrite-Successful-Meetanshi.png\" alt=\"URL Rewrite Successful - Meetanshi\" class=\"wp-image-8112\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong>&nbsp;Please do not enter either domain or store view code in the request and target paths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do share the post with the Magento community via social media profiles.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Also Read:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/meetanshi.com\/blog\/create-referer-url-in-magento-2\/\">How to Create Referer URL in Magento 2<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/meetanshi.com\/blog\/add-canonical-tags-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Add Canonical Tags in Magento 2<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-878","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=878"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/878\/revisions"}],"predecessor-version":[{"id":15035,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/878\/revisions\/15035"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}