Hi
I've been building a site for a few weeks now and have had to build a custom taxonomy for Woocommerce product, so as well as categories a product has a collection it can be applied to. I have a custom taxonomy template setup, everything appeared to be working fine.. After leaving the site for a week and a Woocommerce update the Collections taxonomy has stopped functioning. Instead it 301s then redirects to a similar URL. If I disable permnalinks everything works fine. Enable again and it redirects.
So basically this URL -
.../product-collection/pentewan/ (taxonomoy)
Flat out redirects to -
.../interiors/pentewan-collection/ (page)
And its ruining my life.
If I disable the Page that its redirecting too then it will simply 404.
My set up is pretty straight forward, and nothing has changed except a Woo update.
Taxonomy setup code is as follows -
register_taxonomy(
'product_coll',
array('product'),
array(
'label' => __( 'Collections' ),
'hierarchical' => true,
'query_var' => true,
'has_archive' => true/*,
'rewrite' => array(
'slug' => 'product-collection'
)*/
)
);
There was a rewrite rule but I disabled it for testing, still, no affect, and I've cleared the htaccess by toggling permalinks many times... Usual stuff has been done - disabling plugins etc, and because I'm on a temp domain error logs don't appear to be populating, however I can obviously expose errors on the site itself and theres nada issue. The only thing I can relaly find is via Firebug, and thats simply telling me that it is 301ing before it redirects.
Any help or suggestions is greatly appreciated, Its a funny one and I'm not even sure where to start debugging really..
Thanks again for your time - Anthony