• Resolved forvideogames

    (@forvideogames)


    I have been using this plug for a long time.However I have a problem.When I want to share my post in Twitter or Whatsapp,thumbnail is not working.Thumbnail is working only in Facebook.Card validator in the Twitter says ”Unable to render Card preview” and it does not find my metatags.I always add thumbnail for post and add thumbnail for Twitter and Facebook in the post.In the seo plugin ”Add Twitter card meta data” is active.How can I solve this problem ?

    My website : https://www.forvideogames.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • We checked on your page’s metadata and did confirm that the Yoast SEO plugin is outputting the Twitter metadata correctly (see image here). However, we do see that in the Twitter card validator it is returning a message of ‘WARN: No metatags found.’

    To resolve this we would recommend performing a conflict check to see if another plugin or theme is interfering with Twitter’s ability to read the metadata. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen and then testing your page in the Card Validator.

    Also, you can find additional information on issues that affect whether Twitter can read the metadata correctly in the following article: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/troubleshooting-cards

    Thread Starter forvideogames

    (@forvideogames)

    A few days ago the Whatsapp problem was solved, but Twitter is still unresolved.After that,I disabled all plugins except Yoast SEO and I installed Twenty Nineteen theme.However,my problem still continues.

    Plugin Support amboutwe

    (@amboutwe)

    In your robots.txt file, you are only allowing Twitter to access the uploads folder on your site. All other pages are disallowed which means Twitter cannot see the meta tags on your posts and pages.

    User-agent: Twitterbot
    Disallow: *
    Allow: /wp-content/uploads/*

    Please update the robots.txt file and allow Twitter access to your site. This guide provides more information on how to edit robots.txt through Yoast SEO: https://yoast.com/help/how-to-edit-robots-txt-through-yoast-seo/

    If the robots.txt file is not writable or your WordPress install has disabled file editing, you will not see the option to edit robots.txt. Instead, you can edit at the server level.

    Thread Starter forvideogames

    (@forvideogames)

    I changed robot.txt file.After that I changed my theme,so I use Twenty Nineteen theme now.Then,I disabled all plugings except Yoast SEO.However,my problem still continues.

    Robot.txt : https://ibb.co/rF40pG3

    Plugin Support amboutwe

    (@amboutwe)

    Using a terminal window, I ran the following command a few times

    curl --user-agent "Twitterbot" URL

    replacing URL with your homepage, a post on your site and a variety of links from other Yoast SEO user’s sites.

    On your site, there is a huge (~100 lines) of empty space before the html opener is seen. For other sites, there are no empty lines.

    This means something in your setup is causing a delay which means Twitter never sees the actual output of the page.

    Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, as this requires Twitter being able to access your test environment.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

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

The topic ‘Thumbnail Problem’ is closed to new replies.