• Hi, I need to set a custom canonical link for posts only but I can’t get it to work.
    I’ve tried to remove the canonicals set by TSF with the below filter and then set my own but that doesn’t work.

    add_filter( ‘the_seo_framework_rel_canonical_output’, ‘__return_false’ );

    The background is that I sync posts between two pages with “wp simple crosspost” and it works great but the canonical on page two should link to the original post on page one and I just can’t change it.

    Thanks!

The topic ‘custom canonical’ is closed to new replies.