Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter danielefratin

    (@danielefratin)

    Dear Maybellyne,
    thank you for your replay.

    Just yesterday I found a workaround to solve the issue.
    I added the following php script to the function file:

    // define the wpseo_breadcrumb_single_link callback -> (update wrong http url part to https)

    function filter_wpseo_breadcrumb_single_link( $link_output, $link ) {
    // make filter magic happen here…
    if (strpos($link_output, ‘https://’) !== false) {
    $link_output = str_replace ( ‘https://’ , ‘https://’ , $link_output);
    }

    return $link_output;
    };

    // add the filter
    add_filter( ‘wpseo_breadcrumb_single_link’, ‘filter_wpseo_breadcrumb_single_link’, 10, 2 );

    // End of script

    And it works well!
    Hope this can find someone else!

    Have a nice day!
    Daniele

Viewing 1 replies (of 1 total)