I tried,

i) Stores-->Configuration-->Catalog-->Catalog-->SEO-->Use Categories Path for Product URLs to YES. 
ii) php bin/magento indexer:reindex

I have again saved Categories but still no effect in url. catalog/product/view/id/2140/room-set/category/11/

  • i think the reindexing is not working. Please make sure whether all indexing process completed or in processing stage. Jan 31 '18 at 12:45
  • @ShyamKrishnaSreekumar I have run the php bin/magento indexer:reindex successfully. But still no success
    – jassi
    Jan 31 '18 at 15:58

In Magento 2 it does not exist URL Rewrite index so it does not make sense to reindex all.

You could use this extension: “Regenerate Url rewrites” extension

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.