alexa-tracking

Magento Configure URL Rewrite - Make URLs friendly

Main Content

1024
1024
KASKUS
51
244
https://www.kaskus.co.id/thread/5af565aa98e31baa478b4567/magento-configure-url-rewrite---make-urls-friendly
Magento Configure URL Rewrite - Make URLs friendly
URL without Web Server Rewrite
Code:
[color=#333333][size=2][font=Menlo, Monaco, Consolas, "courier new", monospace][php]http://www.yourdomain.com/magento/index.php/storeview/url-identifier
[/php][/font][/size][/color]


URL with Web Server Rewrite
Code:
[color=#333333][size=2][font=Menlo, Monaco, Consolas, "courier new", monospace][php]http://www.yourdomain.com/magento/storeview/url-identifier
[/php][/font][/size][/color]


From Magento 2 backend, it is possible to configure the URL Rewrite(https://www.mageplaza.com/kb/how-to-...magento-2.html) to make the current link more friendly with every search engine as well as easier for the readers. To do that, the Web Server 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,
  • PHP Code:
    Stores Settings Configurations

  • [size={defaultattr}]In the left panel, under[/size]
  • PHP Code:
    General 


  • [size={defaultattr}], select[/size]
  • PHP Code:
    Web

  • [size={defaultattr}]Open the[/size]
  • PHP Code:
    Search Engine Optimization 


  • [size={defaultattr}]section.[/size]

Magento Configure URL Rewrite - Make URLs friendly
  • Choose Yes for the: Use Web Server Rewrites
  • PHP Code: Save Config to complete