In magento2 click on category, that category url look like this www.example.com/catalog/category/view/s/hook-and-loop-brands/id/71/

how can i remove the category id and category path in url?

  • have you followed this way, check link – Shashank Kumrawat Oct 24 '18 at 7:03
  • or do you want to remove just id from above URL and not fully SEO URL ? – Shashank Kumrawat Oct 24 '18 at 7:04
  • actually the url looking like www.example.com/hook-and-loop-brands/ but in my case url having tha catalog/category/view/s/hook-and-loop-brands/id/71 i think its wrong..how can can i solve this – Ram Sampathi Oct 24 '18 at 7:08
  • did you check above link ? – Shashank Kumrawat Oct 24 '18 at 7:09
  • yes,checked the above link and all settings are same but url have the id – Ram Sampathi Oct 24 '18 at 7:15

You can try setting use category path for product url to no. You will find this option here:

Admin - System – Configuration – Catalog – Catalog - Search Engine Optimisations – selecting No in Use Categories Path for Product URL

After that try flushing cache and reindexing

Hope it helps!!

  • Tried this one but again the same issue – Ram Sampathi Oct 24 '18 at 13:25

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.