• Resolved firehox

    (@firehox)


    When I Activate Yoast Seo, Webstory Shows an error.
    The error message is “Your story contains errors that can affect eligibility to appear on Google. Please see Our FAQ for more information”.
    HOW TO FIX THIS ISSUE??

Viewing 6 replies - 1 through 6 (of 6 total)
  • vdl

    (@dellalibera)

    Hello Firehox,

    disable yoast for post type web-story, use this code in your functions.php

    #Disable Yoast in WebStories
    function remove_wpseo() {

    if ( is_singular (‘web-story’) ) {
    $front_end = YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End_Integration::class );

    remove_action( ‘wpseo_head’, [ $front_end, ‘present_head’ ], -9999 );
    }
    }
    add_action( ‘template_redirect’, ‘remove_wpseo’ );

    After adding this code enter your webstories and click on update, test the amp. if it worked, update them all.

    • This reply was modified 3 years, 6 months ago by vdl.
    Thread Starter firehox

    (@firehox)

    Thanks a Lot, It worked

    @firehox Thanks for getting in touch and @dellalibera thanks for sharing that solution! This issue was already reported to Yoast via GitHub by another user here, so I’ve added a note there as well so that Yoast can fix this issue in a future release. Please follow that issue for future updates.

    Feel free to open a new support topic if you have any other questions. Thank you!

    @firehox @dellalibera Web Stories has released version 1.12.0, which should resolve the compatibility issue with Yoast:?https://github.com/Yoast/wordpress-seo/issues/17419.

    Please update to the latest version of Web Stories, safely remove the mini-plugin and the temporary workaround code in your functions.php file. Then, confirm the issue is resolved on your end as well. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!

    Thread Starter firehox

    (@firehox)

    Yes, The Issue is resolved Now.

    @firehox Thank you for the follow-up!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Web Story Plugin is Conflicting With Yoast Seo’ is closed to new replies.