• Hi support team,

    My name is Bethany and I work on support for the Google Web Stories plugin. I wanted to reach out about https://github.com/Yoast/wordpress-seo/issues/17419 as we’ve recently had multiple reports of this issue on our forums.

    As the issue notes, Yoast is generating a canonical link for Web Stories content, which the Web Stories plugin already handles. As a result, in AMP testing tools, all Web Stories URLs are coming back as invalid for AMP because of the duplicate canonical issue: https://jmp.sh/erLjqN4+/Screen+Shot+2021-09-14+at+2.48.57+PM.png.

    This is having a significant impact on our users, many of whom (yay!) use Yoast, so please let me know what we can do to work toward a quick resolution.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for reaching out here @shetheliving. We appreciate you for bringing this to our attention.

    We can confirm that an internal report has been made to our development team as well where we have a priority for the relevant issue. While I can’t share the exact ETA, I can confirm that our development teams are working on it.

    In the meantime, anyone experiencing the issue could use the workaround below to disable the canonical URL generated by Yoast SEO for Google Web Stories items:

    function prefix_filter_canonical_web_story( $canonical ) {
      if ( is_singular( web-story ) ) {
        return false;
      }
    
      return $canonical;
    }
    
    add_filter( 'wpseo_canonical', 'prefix_filter_canonical_web_story' );
    

    Have a great day!

    Thread Starter Bethany Chobanian Lang

    (@mxbclang)

    Thanks so much! I’ve updated our sticky to include this snippet. I’ll continue to follow the GH issue for updates.

    Marking this as resolved.

    I have added the code using snippets plug-in and doesn’t seem to work. Any help here is appreciated.

    For us dummy users .. would you explain where and how to add your recommended code fix?

    function prefix_filter_canonical_web_story( $canonical ) {
      if ( is_singular( 
    web-story
     ) ) {
        return false;
      }
    
      return $canonical;
    }
    
    add_filter( 'wpseo_canonical', 'prefix_filter_canonical_web_story' );
    Thread Starter Bethany Chobanian Lang

    (@mxbclang)

    Hi @chefleez! The Web Stories team has actually created a mini-plugin to make this easier. You can download the plugin and view instructions in our forum topic here: https://wordpress.org/support/topic/known-issue-yoast-seo-compatibility-error-2021-09-22-update/.

    I have an issue with google web stories pluggin On Google Search console it tells me I have an error and that I need to

    The mandatory tag ‘html !doctype’ is missing or incorrect.

    Does anyone know how to fix this? I am using the Google Webstories pluggin so I assume it should not be an issue with google but it seems Google webs stories and Google Search Console are conflicting somehow .
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Canonical link error on Web Stories’ is closed to new replies.