How to Configure URL Rewrite in Magento 2


Configure URL Rewrite Magento 2 is one of the most awesome tools by Magento 2 that allows you to edit any URL linking to a product, category or CMS page. After enabling the rewrite, the visitors who access the previous link will be navigated to the new address to get more information.

URL without Web Server Rewrite

URL with Web Server Rewrite

From Magento 2 backend, it is possible to configure the URL Rewrite to make the current link more friendly with every search engine as well as easier foor the readers. To do that, the Web Sever Apache Rewrites needs to be enabled, and then the system rewrite will auto-ignore the file name “index.php”, simultaneously, the words that convey nothing of value to search engines or customers, and has no effect on the performance or site rank.

Configure URL Rewrites

  • On the Admin Panel, Stores > Settings > Configurations.
  • In the left panel, under General, select Web.
  • Open the Search Engine Optimization section.

How to Configure URL Rewrite Enable URL Rewrite

  • Choose Yes for the Use Web Server Rewrites
  • Save Config to complete.

Ref: Magento 2 User Guide

Mageplaza One Step Checkout helps reduce the abandonment rate as well as increase the conversion rate dramatically. Mageplaza Layered Navigation brings a list of filters to help your customers search and get the favourite products in the shortest way. Mageplaza Social Login (FREE) supports 11+ types of social networks.

It comes to the end of tutorial: How to Configure URL Rewrite in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Configure URL Rewrite in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

18 reviews

Layered Navigation

11 reviews

Store Locator

2 reviews

Shop By Brand

no review

Zoho CRM

no review


10 reviews

Better Blog

7 reviews


7 reviews

People also searched for:

  • Configure URL Rewrite Magento 2
  • magento 2 Configure URL Rewrite
  • Configure URL Rewrite
  • url rewrite
  • url rewrite in magento 2 admin panel
  • how to enable url rewrite in magento 2
  • magento 2 url rewrite not working
  • magento 2 rebuild url rewrites
  • magento 2 custom url rewrite
  • magento 2 url redirect
  • magento 2 url rewrite table