Hi, I need help with something.
I have a few categories, when I look at frontend, the URL reads like it should "/components/memory-ram/desktop-memory"
But when I go to a product within that category, it reads.
"/catalog/product/view/id/17/s/kingston-8gb-ddr3-1333mhz-value-memory/"
What do I need to do to get "/components/memory-ram/desktop-memory/kingston-8gb-ddr3-1333mhz-value-memory/"
I have double checked my settings.
All these are set to "Yes".
Generate "category/product" URL Rewrites = Yes
Create Permanent Redirect for URLs if URL Key Changed = Yes
Use Categories Path for Product URLs = Yes
These settings have been set to Yes when I first installed Magento 2, it was a clean setup of MG2 so no upgrade from MG1 etc. And these settings were all Yes before I added any products or categories.
Rob
Solved! Go to Solution.
Hello @robert_eccles again,
You do not need to repeat it for every new product but rewrite URL for only the product in which you face this issue.
If, for the new products, the URL related configurations are proper, it will automatically generate the correct URLs.
Thanks.
Hello @robert_eccles
Please use this free extension to solve the issue:
https://github.com/Iazel/magento2-regenurl
Hope it helps.
Thanks,
Ive actually just found this, and it seems to work brilliantly.
Question, would I have to do this every time I create a new product?
Rob.
Hello @robert_eccles again,
You do not need to repeat it for every new product but rewrite URL for only the product in which you face this issue.
If, for the new products, the URL related configurations are proper, it will automatically generate the correct URLs.
Thanks.