-
Hi,
On our WooCommerce webshop, the breadcrumbs are incorrect when enabling the Rankmath SEO plugin. Enabling or disabling the breadcrumbs-option under General Settings doesn’t make a difference. Products are assigned random breadcrumb categories that are unrelated to the products.
We are using the Kadence theme.
Is there a bug or is there a way to resolve this?
Regards, Thijs
-
Hello,
We apologize for the issue you are facing with the breadcrumbs on your WooCommerce webshop. It sounds like there may be a conflict with how the Kadence theme is handling breadcrumbs or how Rank Math is configured to display them.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
-
Check Theme Compatibility: Ensure that your Kadence theme is fully compatible with Rank Math. Sometimes themes have their own breadcrumb functionality that can conflict with plugins. You can refer to the Kadence theme documentation for any specific settings related to breadcrumbs.
-
Disable Default WooCommerce Breadcrumbs: Since you are using WooCommerce, it’s important to ensure that the default WooCommerce breadcrumbs are disabled if you want to use Rank Math’s breadcrumbs. You can do this by adding the following code to your theme’s
functions.php
file:/** * Function to disable WooCommerce breadcrumbs */ function remove_wc_breadcrumbs() { remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); } add_action( 'init', 'remove_wc_breadcrumbs' );
-
Configure Breadcrumb Settings: Go to Rank Math SEO → General Settings → Breadcrumbs and ensure that all settings are configured correctly. If you have not already done so, enable the breadcrumbs feature and adjust any relevant options.
-
Use Shortcode: If the above steps do not resolve the issue, consider using the Rank Math shortcode to manually add breadcrumbs to your templates. You can use the following code in your theme template files:
-
Clear Cache: If you are using any caching plugins, make sure to clear your cache after making changes to see the updates reflected on your site.
If you continue to experience issues after trying these steps, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern, and we’re here to help!
Sources:
How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math
How to Make Your Theme Rank Math Compatible » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Thanks. We tried this, but unfortunately it doesn’t resolve the issue. We also disabled all plugins to check for conflicts and found that the breadcrumbs are working fine then disabling rankmath. How to proceed?
Hello,
Thank you for contacting Rank Math support.
Please share the URL of an affected page with us.
We look forward to hearing back from you.
Thank you.
Hi,
An example of an affected product:
https://www.horecaheaven.nl/product/cavanova-flessenkoeler/
This breadcrumb is totally unrelated: Keukenaccessoires / Messen / Messensets / Cavanova – flessenkoeler
In the WordPress backend, we have double checked the categories. This specific products is in categories related to cooling, while the breadcrumb suggest the product is in the category ‘Messen’ (Kitchen knives).
Regards,
Thijs
Hello,
We can see that the Breadcrumbs on this page is added by the Kadence theme, not by the Rank Math.
In this case, can you please share the screenshots of the breadcrumbs with and without the Rank Math plugin so that we can check the issue further for you?
You can use any image-sharing tool like https://imgur.com/upload to share the screenshot with us.
Looking forward to helping you.
Thank you.
Hi, please see below:
RankMath enabled: https://imgur.com/a/y2O29lQ
RankMath disabled: https://imgur.com/a/o899oGl
Hello,
Please make sure that you’ve selected the product’s Primary Category as “Horeca koelkasten” and assuming its parent categories are also associated with the product page, Rnak Math should be able to render the correct sequence of breadcrumb items.
If that doesn’t work, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi, I have added the credentials. I am looking forward to your reply.
Hello,
After checking your website, there are many misconfigurations and these must be addressed to achieve the desired breadcrumb format.
1. Rank Math is currently not selected as your breadcrumb generator as you can see from the screenshot below:
You’ll have to go to your WordPress → Theme → Customizer → General → Breadcrumbs and setup the correct settings there.
2. The parent categories aren’t set to show in the breadcrumbs settings:
3. Lastly, the primary taxonomy is set to “none”. Please make sure to set your primary taxonomy to Product Category so Rank Math’s breadcrumbs will refer to the product categories as the breadcrumb trail.
We would like to set this up for you, but due to the sheer number of your product terms on your website, the Titles & Meta setting is unresponsive and failing to load, which doesn’t allow us to save the settings.
Once you have addressed the above configurations, you need to select the primary category in your product by following this guide: https://rankmath.com/kb/how-to-choose-a-primary-category/
That should resolve your issue.
Hope that helps.
-
You must be logged in to reply to this ticket.