Configure URL Rewrite Magento 2 is one of the most awesome tools by Magento 2 that allows you to edit any URL links to a product, category or CMS page. After enabling the URL 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 URL 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.
Stores > Settings > Configurations.
Search Engine Optimizationsection.
Use Web Server Rewrites
Save Configto complete.
It comes to the end of tutorial: Magento 2 Search Engine Friendly URL - Configure URL Rewrite.