Hello,
We appreciate you reaching out to us regarding the breadcrumbs on your website. To disable the breadcrumbs on the homepage of your website, you can add a custom code snippet to the appropriate location in your theme’s template file.
Here is the code snippet you can use to achieve this:
You can add this code snippet to the appropriate location in your theme’s template file. If you encounter any issues or need further assistance, please feel free to reach out to us.
Best regards,
Rank Math Support Team
Sources:
How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math
How to Enable Breadcrumbs on Your Website With Rank Math SEO » Rank Math
Rank Math General Settings
Rank Math General Settings
How to Customize Breadcrumbs in Rank Math » Rank Math
Hi,
I don’t see the code snippet provided by Rankbot.
Hello,
Could you please confirm if you have added the breadcrumbs code? Or it is already shown once you have enabled it in the General Settings?
Meanwhile, here’s another code you can use to disable the breadcrumbs on your homepage only:
<?php
/** Show Rank Math Breadcrumbs on all pages except the homepage **/
if ( function_exists('rank_math_the_breadcrumbs')
&& ( !is_home() && !is_front_page() ) ) {
rank_math_the_breadcrumbs();
}?>
Let us know how this goes.
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.