Hello,
Thanks for contacting us and sorry for the inconvenience caused.
The breadcrumbs added by our plugin use the primary taxonomy of your posts. They can’t include a link to a custom page that is not directly related to the post. If you want to include the link to a custom page, then you will have to modify and use the following filter for that: https://rankmath.com/kb/filters-hooks-api-developer/#change-remove-breadcrumb-items
Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
And here is an example of how to modify the filter to change the breadcrumbs output:
add_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) {
if(is_product()) {
$crumbs[1][0] = 'Your custom base';
$crumbs[1][1] = 'new-url';
return $crumbs;
}
return $crumbs;
}, 10, 2);
Hope that helps. Let us know if you need any other assistance.
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.