i want to rewrite the url of product from www.example.com/product-name.html To www.example.com/SKU.html
Someone can help me ?I am beginner of magento. Thank you.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityIf you are just looking to rewrite existing products and not implement any programatic change to the default way Magento creates URL keys then see below.
For Magento 1.x:
http://www.hostknox.com/tutorials/magento/url-rewriting
For Magento 2.x:
https://docs.nexcess.net/article/how-to-write-redirect-301-rules-for-magento-2.html