This question already has an answer here:

Currently url is forming by product name and i want to change it by using the sku_id.for this change where i change the code. To change the product url which file has to be modified. please help me i am new to magento.

marked as duplicate by Rakesh Jesadiya, Murtuza Zabuawala, 7ochem, Keyul Shah, Siarhey Uchukhlebau Apr 3 '17 at 19:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Why are you asking same question multiple times? – chirag Apr 3 '17 at 9:32

You can update URL Key field value of product to update product URL. You can write there SKU of the product.

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