1

In my magento 2.2.4 setup some products of some categories show the category path and some do not. i checked all settings but I dont see the difference.

In all store views (Default, etc.) I have setup "NO" for the below setting:

Stores/Configuration/Catalog/Catalog/SearchEngineOptimisation/Use Categories Path for Product URLs

I have ran the reindex several times but no results so far.

2 Answers 2

0

Go to admin panel and Catalog => Category/Display Settings / Anchor and check value . This setting change URL path product . (make clean cache and reindex)

2
  • Its the same in every category. Commented Jul 1, 2018 at 12:04
  • But I did that and no change. Commented Jul 1, 2018 at 12:10
0

The problem here is that URL rewrites cannot be recreated from nowhere.

SO please try the below extension and run the commands as mentioned there.

https://github.com/olegkoval/magento2-regenerate_url_rewrites

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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