- Beranda
- Komunitas
- Tech
- Website, Webmaster, Webdeveloper
Magento Configure URL Rewrite - Make URLs friendly
TS
daniel8115
Magento Configure URL Rewrite - Make URLs friendly
URL without Web Server Rewrite
URL with Web Server Rewrite
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
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]
- Choose Yes for the: Use Web Server Rewrites
- PHP Code: Save Config to complete
0
992
0
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Komunitas Pilihan