Why do I need to "Update all shop posts/pages" everytime I add or edit a product?
My structure is as such:
> https://domain.com/cat1/product-name/
> https://domain.com/cat1/product-name-2/
> https://domain.com/cat2/product-name/
> https://domain.com/cat3/product-name/
> https://domain.com/cat4/product-name/
Whenever I add OR edit a product, the resulting URL is always set to
> https://domain.com/product-name/ (NO category)
Which then causes a 404. I then have to click on the "Update all shop posts/pages" link in the configuration page.
Why is this?
> https://domain.com/cat1/product-name/
> https://domain.com/cat1/product-name-2/
> https://domain.com/cat2/product-name/
> https://domain.com/cat3/product-name/
> https://domain.com/cat4/product-name/
Whenever I add OR edit a product, the resulting URL is always set to
> https://domain.com/product-name/ (NO category)
Which then causes a 404. I then have to click on the "Update all shop posts/pages" link in the configuration page.
Why is this?
Comments
Configuration > General > Posts/Pages and Categories > Update Content = "No"
Configuration > General > Posts/Pages and Categories > Update Content = "Yes"
Configuration > General > Posts/Pages and Categories > Default Post Type = "Post"
Configuration > General > Posts/Pages and Categories > Default Post Type = "Page"
Configuration > General > Posts/Pages and Categories > Default Post Type = "Custom"
And all possible variations ... none of those seemed to help and some actually made it so that NO products would come up on any of the pages whatsoever...
I now have it set to "Yes" and "Page" (respectively) but I am still forced to "Update all shop posts/pages" EVERY time I add or update a product.
Any advice any one can offer would be appreciated. TIA.