WooCommerce products issue: plugin is redirecting one product URL to another one
-
Hello,
I’ve been using permalinks customizer plugin for a while now on “post” taxonomy. I don’t know if the plugin is meant to be used like that, but in my case I use it to manually change the URL structure (post slug), leaving all other plugin settings to default values.
It always worked as expected, but now I started to add WooCommerce products on the same site (different taxonomy), and I’m experiencing a strange behaviour: after manually changing the URL slug (with permalinks customizer) and publishing some Woocommerce products (the same process I do with post taxonomy), the URL of some products get “automatically” re-written to the same URL of another product.
Example:
Product 1: sitexyz.com/product_cat/product-1
Product 2: sitexyz.com/product_cat/product-2
Then, after a while (some hours), when I vistit Product 1, it changes to URL of Product 2, and I can’t visit the page of Product 1 anymore.Something is triggering an automatic permanent redirect from one product URL to another one, and I don’t even know where to start the debugging.
I must also note that I have already added these 2 lines of code in my functions.php file of theme:
add_filter( ‘permalinks_customizer_auto_created_redirects’, ‘__return_false’);
add_filter( ‘permalinks_customizer_disable_redirects’, ‘__return_false’);Can someone help me on this issue?
Thank you in advance.
- The topic ‘WooCommerce products issue: plugin is redirecting one product URL to another one’ is closed to new replies.