Hello,
Thank you for contacting Rank Math.
WooCommerce Tags and Categories uses Custom Permalink base defined in WordPress dashboard > Settings > Permalinks. Defining custom taxonomy with same id as WooCommerce taxonomies is likely to have Rank math checking for the related permalink settings.
Could you try changing the product_cat
to something different to see if this resolves your issue. Let us know if it does.
Looking forward to helping you. Thank you.
​​​​​​
I have modified product_cat, it does not run normally, it is still the same error
My theme is set like this
register_post_type → product
register_taxonomy → product_cat
Used the same method as WooCommerce
function is_product_taxonomy() {
return is_tax( get_object_taxonomies('product') );
}
function is_product() {
return is_singular( array('product') );
}
After disabling $this->prepend_shop_page()
in the function add_crumbs_product , the product page is no longer wrong and the breadcrumb navigation can be used
I think I used the same register_post_type and register_taxonomy as WooCommerce. Rank math judged that I was the shop type of WooCommerce.
Rank math can use the function_exists method to determine whether the main function of the WooCommerce plugin exists, and then execute other methods
Hello,
Due to the Holiday season and dealing with so many tickets right now, we unfortunately unable to offer custom codes to extent the functionality of Rank Math.
Sorry about that but you might have to hire a coder to extend this functionality of please check with us in a few weeks as the dev. team has their hands full at the moment.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.