How to Create Category Rewrites in Magento 2

Drive 20-40% of your revenue with
email, SMS marketing
avada email marketing

With the URL Rewrites tool, you can create both Product Rewrites, and CMS page even Category Rewirtes in order to redirect the vistors to the another URL instead of the previous address if there is any change in the category.

In addition, Magento 2 store owners can set multiple URLs that point to the same product. You can learn how to manage the multiple paths for SEO at Canonical Meta Tag.

3 Steps to create Category Rewrites in Magento 2

Step 1: Add the Rewrite

  • On the Admin Panel, Marketing > [SEO & Search]( > URL Rewrites.
  • In the upper-right corner, click on Add URL Rewrites.
  • From the dropdown list of Create URL Rewrites, choose “For Category” option.
  • In the category tree, find the category you want to redirect.

How to Create Category Rewrites URL Rewrite for Categories

  • In the URL Rewrite section, you can:
    • Set the Store to apply the rewrites if necessary.
    • In the Request Path field, insert the new URL key and suffix for the product.
    • Convert Redirect to Temporary (302) or Permanent (301).
    • Leave some description for the rewrite.

How to Create Category Rewrites Select Categories

  • Save to complete.

And now, you can see the new product rewrite at the top of the list.

Step 2: Update the Index

  • On the Admin Panel, System > Tools > Index Management.
  • Mark the Catalog URL Rewrites checkbox.
  • Choose Reindex Data for the Action.
  • Submit to update the index.

Step 3: Check the Results

Be careful to check the rewrite to ensure that it works perfectly. Besides, ensure that the URL you test goes directly to the intended category, rather than to a subcategory

Related Post

Increase sales,
not your workload

Simple, powerful tools to grow your business. Easy to use, quick to master and all at an affordable price.

Get Started
avada marketing automation

Explore Our Products:

People also searched for


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up