Can somebody tell me how can i remove category-id and view-id path to my products url? I drag and drop categories to new and this proplem started.


Please check below configurations in your store.

Stores > Configurations > Catalog > Catalog > Storefront > Search Engine Optimization > Use Categories Path for Product URLs > YES/NO

don't forget to Reindexing and flush the cache

php bin/magento cache:flush
php bin/magento indexer:reindex
|improve this answer|||||
  • Ok, thanks! Can you tell me how reindex in magento admin? Or where should i go/write this? php bin/magento cache:flush php bin/magento indexer:reindex – Frank Jan 11 '18 at 22:11
  • you have to use CLI for it. Command Line – Abhishek Panchal Jan 11 '18 at 22:12
  • Is there any way to do it on backend? – Frank Jan 11 '18 at 22:45

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.