I have a Magento2 store. I don't want to add the category path into products URLs for that I set “Use Categories Path for Product URLs” as "NO" in magento2 Admin, but It still add the category path to the product URL.
What I already tried.
- set “Use Categories Path for Product URLs” as "NO"
- Did Reindex
- Next I truncate tables url_rewrite and catalog_url_rewrite_product_category
- Did reindex
- Regenerate products URL
But No results.