1

I have product XYZ and URL key for this product is www.mysite.com/xyz

I have updated the value of URL key product from xyz to xyz-new.

When I try to access url www.mysite.com/xyz-new. It gives me 404 error.

I have noticed that url key of product is updated correctly, but url_path is not updating.

Is this known issue in magento 2.1.x?

Any solution for this?

  • Have update manually? – Rutvee Sojitra Aug 23 '18 at 12:14
  • yes. I have edited a product from backend and updated it manually for url key.. – 1990rk4 Aug 23 '18 at 12:15
  • have you tried after reindex – kunj Aug 23 '18 at 12:19
  • yes ... I have already did this.. but it doesnt work for me – 1990rk4 Aug 23 '18 at 12:19
  • make sure xyz- new it's not taking space between – Rutvee Sojitra Aug 23 '18 at 12:37
0

Try with www.mysite.com/xyz-new.html

If not working check the Product URL suffix in

Store > Configuration > Catalog > Catalog > Search Engine Optimization > Product URL Suffix

Try clearing cache.

  • This field is blank on my site... there is no value – 1990rk4 Aug 23 '18 at 12:17
  • I hope you did Reindex – LAW Aug 23 '18 at 12:18
  • yes ... I have already did this – 1990rk4 Aug 23 '18 at 12:19
  • Check db if URL rewrites updated. If not updated then take backup of url-rewrite table. And truncate and save all the products again(if it is possible) – LAW Aug 23 '18 at 12:29
  • In db its not updated..... there are 1490 products... saving all product again is definitely not good idea.. and not even good solution – 1990rk4 Aug 23 '18 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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