Support » Plugin: Yoast SEO » WPML & Yoast SEO canonical link issue

  • WPML handles duplicated (non translated) cloned pages correctly by adding a canonical link towards the original page. Example:

    site.org/page/ (original) > canonical link: none
    site.org/es/page/ (duplicate of original) > canonical link: site.org/page/
    site.org/ru/page/ (duplicate of original) > canonical link: site.org/page/
    site.org/nl/page/ (translated) > canonical link: none

    Perfect, but after installing the SEO plugin from Yoast all the pages canonical links, link towards themselves. Like:

    site.org/page/ (original) > canonical link: site.org/page/
    site.org/es/page/ (duplicate of original) > canonical link: site.org/es/page/
    site.org/ru/page/ (duplicate of original) > canonical link: site.org/ru/page/
    site.org/nl/page/ (translated) > canonical link: site.org/nl/page/

    This will cause duplicate content because the canonical link isn’t referring to the original page. How to fix this.

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the exact same issue.. in the meanwhile I disabled non translated languages… but this needs to be fixed the sooner…
    an easy solution would be to be able to DISABLE the canonical feat in Yoast seo…
    Any suggestions?
    my site is http://www.weddingintuscany.info but i have others who will have the same problem

    I see you still got problem with cananonical by checking your site’s source code. I fixed the issue by disabling yoast canonical and re enabling wpml one.

    add_filter('wpseo_canonical', 'filter_canonical');
    function filter_canonical(){
    	return false;
    }
    global $sitepress;
    add_action('wp_head', array($sitepress,'rel_canonical'),1);

    Bye

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPML & Yoast SEO canonical link issue’ is closed to new replies.