0

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.

1 Answer 1

0

If 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

2
  • Thank you ,but i have more than 2500 existing products,maybe need to do some programing. Commented Apr 22, 2016 at 6:29
  • Alternatively, you could use this 301 import module: You would export all your products and change the column heads of the sku column to be what that module needs for the new URL and then import to bulk rewrite the URLs.
    – Christosis
    Commented Apr 22, 2016 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.