How to Create URL Redirect in Magento?

How to Create URL Redirect in Magento

Are you looking to create URL redirects in Magento?

Magento is a powerful ecommerce platform that comes with a set of ecommerce tools to help scale the business. One tool is setting up URL redirects.

The URL redirects come in handy when you do not want to lose an URL, but you have no page to show on that URL. So you redirect that URL to the new page.

In this quick tutorial, we will learn how to create URL redirects in Magento.

What are URL Redirects?

An URL redirect is a way to reuse the URLs without a page. As the name suggests, the redirect means redirecting the URL to a different page.

Sometimes you need to change the URL of the page. Reasons could be:

  • There is a typo in the URL
  • The URL contains outdated information (for ex: years and date)
  • URL is not user friendly: there are miscellaneous characters and unreadable strings

In such scenarios, you change the URL of the page.

But what happens to the old URL?

You redirect it to the new URL. This way, both the URLs open on the same page.

The redirection also adds the canonical tag to the URL – so the crawlers know which is the original page.

With Magento, you do not need to install the Magento extension to create URL redirects. You can do it from the dashboard.

How to Create URL Redirects in Magento?

Follow the steps to create UR redirects in Magento:

  1. Navigate to Marketing > SEO & Search > URL Rewrites
Create URL Redirects in Magento
  1. Click on Add URL Rewrite button.
Create URL Redirects in Magento
  1. Fill in the required fields on the next page.
Create URL Redirects in Magento

Create URL Rewrite: Select the type of page that this URL rewrite is. The options are:

  • Custom Pages
  • Category Pages
  • Product Pages
  • CMS Pages

Please select the option you are going to create a URL redirect for.

Store:  Select the store view to apply the setting.

Request Path: Add the old URL of the page that needs to be redirected – without the domain name.

Target Path: Add the new URL of the destination page here – without the domain name if the internal page and with the domain name if the external page.

Redirect Type: Type of redirection. 301 is a permanent redirect, and 302 is a temporary redirect. From the SEO perspective, you should do the 301 redirects.

Description: Add why you are doing this rewrite to remind yourself in the future. Descriptions are optional and irrelevant to crawlers and SEO.

Once done, click on the Save button. You will see the redirected URL in the list.

Wrap Up

You should waste the old URLs. The world URLs contain backlinks, authority, and social media shares. 

Redirecting them to the relevant page is the best way to handle redirects.

I hope this article helped you in creating URL redirects in Magento 2. If you encounter any issues, feel free to ask your query in the comment box.

Latest Magento Tips, Guides, & News

Stay updated with new stuff in the Magento ecosystem including exclusive deals, how-to articles, new plugins, and more. 100% Magento Goodness, a promise!

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top

Talk to a sales representative

USA / Worldwide

+1.714.2425683

India

+91.9852704704

We can help you. Right now.

Fast growing merchants choose Breeze for high-performance hosting. Experience counts. Let's get started.

Request demo

Please fill in the details below and we’ll reach out to you with a customized demo of our product!

🎉 CYBER MONDAY SAVINGS 🎉

75% OFF on
ALL PLANS

Receive the coupon as soon as you
submit the email address. 🚀