• Hi ?? I’m trying to change the Yoast SEO breadcrumb links so when clicked on, they link to the custom pages that I have built and not the categories with the default post lists. I looked for help on the Yoast forums, and they say that;

    The steps below are a temporary solution as manual edits made to theme files may be overwritten with future theme updates. Please contact the theme developer for a permanent solution. We’ve written an article about the importance of breadcrumbs for SEO.
    
    To implement the breadcrumbs function in Yoast SEO, you will have to edit your theme. We recommend that prior to any editing of the theme files, a backup is taken. Your host provider can help you take a backup.
    Copy the following code into your theme where you want the breadcrumbs to be. If you are not sure, you will need to experiment with placement:
    
    <?php
    if ( function_exists( 'yoast_breadcrumb' ) ) {
        yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
    }
    ?>

    Would this sort the issue, and is there a permanent solution to redirecting the path of the breadcrumbs? (NOT the breadcrumb names, these are fine and there is plenty of documentation on how to change these already)

    Thanks,
    James

Viewing 1 replies (of 1 total)
  • Hi @jameszp9,

    Did you mean you would like to change the link of the Breadcrumbs? Let say the Breadcrumbs look like Home > Clothes > Shirt and when clicking the Shirt, instead of taking to the Shirt page, you will be taken to the Car page. Is it like that?

    Please share your site URL that contains the Breadcrumbs too.

    Looking forward to hearing from you.

    Kind regards,
    Herman ??

Viewing 1 replies (of 1 total)
  • The topic ‘How to change path of Yoast SEO breadcrumbs’ is closed to new replies.