How to Configure URL Rewrite in Magento 2

magento-2-tutorial
how-to
configure
url-rewrite

URL Rewrite 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

http://www.yourdomain.com/magento/index.php/storeview/url-identifier

URL with Web Server Rewrite

http://www.yourdomain.com/magento/storeview/url-identifier

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



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

$199
17 reviews

Layered Navigation

$149
7 reviews

Store Locator

$199
no review

Shop By Brand

$99
no review

Zoho CRM

$249
no review

FAQ

$149
10 reviews

Better Blog

FREE
7 reviews

Affiliate

$149
7 reviews