-
Hi!
In WooCommerce I have my permalinks structured using the check box that says “Shop base with category”
so archive pages look like this:example.com/products/category/subcategory/
If you change the url in the browser to something like thisexample.com/products/random/subcategorythen you will stay on the archive page without a redirect. Now if I inspect the page the link rel looks like this<link rel="canonical" href="https://example.com/products/random/subcategory">instead of<link rel="canonical" href="https://example.com/products/category/subcategory">as it should be.I tried deactivating all plugins except for woocommerce, I tried changing themes and I tried removing everything that was not needed in the htaccess without any result.
The problem is I cannot reproduce the problem on a fresh install.
Would you guys have any idea what could be causing this?
The ticket ‘Canonical url always changes to the current url woocommerce archive’ is closed to new replies.