Support » Plugin: Canonical URL's » Latest post set as Canonical URl for frontpage

  • Hey guys,

    i just encountered a very strange problem with the Canonical URL PLugin. On my frontpage the last post was set as canonical. I couldn’t find something in the search although i think someone else mst have had this problem to.

    i fixed it by putting a is_single check into the function.

    function yoast_canonical_link() {
        global $post;
        if(!is_single()) return;

    anybody else had this behaviour? I’m using multisite und the newest canonical url plugin 2.0.1.

  • The topic ‘Latest post set as Canonical URl for frontpage’ is closed to new replies.