Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
Can you please share the affected URLs with us? So that we can check the issue further for you.
Also, share with us which crumbs you’ll need to modify.
Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
We’d need specific affected URLs to understand better. Can you please clarify which breadcrumb link is wrong? Which one you’d like to be corrected?
Looking forward to hearing back from you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Please try applying the following filter on your site to see if that works for you:
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
if ( ( $crumbs[1][0] == 'Blog' ) && ( $crumbs[1][1] == 'https://www.YOURDOMAIN.com/category/blog/' ) ){
$crumbs[1][1]= 'https://www.YOURDOMAIN.com/blog/';
}
return $crumbs;
}, 10, 2);
Here’s how you can add filters/hooks to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
NOTE: Replace YOURDOMAIN with your actual domain name to make it work.
Let us know how it goes. Looking forward to helping you.
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.