Unable to render Card preview (Twitter)
-
Hi, I have created dedicated images for twitter shares with my blogposts, but they do not show up if I tweet the links.
The page I need help with: [log in to see the link]
-
Hi @feri257,
Thank you for reaching out.
We clicked the page URL you mentioned and we were redirected to https://257designstudio.com/wp-content/cache/page_enhanced/257designstudio.com/2020/05/09/why-webdesign-is-a-specialisation/_index.html_gzip. Is this expected, if not, please check your caching plugin.
For the Twitter issue, when we run the original URL in their Card Validator tool here: https://cards-dev.twitter.com/validator, we can see Twitter is not finding meta tags as the URL is probably redirected on their side as well.
Hope this helps troubleshooting.
Sorry. I have no idea what you just wrote means.
When I click the URL, I go there. There is no redirect.
I use W3 Total cache (free version) but to be honest, I have not much idea of how to use it properly.
What do you need in order to be able to help me with this?
I uploaded the W3 Total cache configuration file so you can take a look (if that helps). Download it from here:
https://www.dropbox.com/s/da5i4f8gazsflry/257designstudio.com.json?dl=0-
This reply was modified 6 years, 3 months ago by
Feri Zsolnai.
Hi @feri257,
Thanks for your reply.
Can you please open the URL in an incognito window of your browser or any other browser where you are not logged into your site. We ask since most caching plugins exclude logged in users. We verified the page is not reachable from our side.
Can you please check whether clearing your cache helps, and if not, is temporarily disabling the W3TC plugin and then check the URL in the Twitter Card validator makes the images appear?
Hope this helps.
OK, so cleared theme cache, deactived W3TC and loaded the URL in an incognito window. No redirect. But the card validator still can’t find it.
Hi @feri257,
We did check the page URL with the card validator again and we do see that Twitter says it cannot find any meta tags, which is odd. We checked the page and the meta tags are in place. We also checked your robots.txt file to see if you were blocking the Twitterbot, but that is okay as well. We are not sure why it is still not showing for this URL, we can say however that the Yoast output looks good to us.
We might believe that Twitter is still looking at a cached version, can you please try again a bit later to see if it does pick up the image?
How long should I wait, what do you think? It still can’t show it.
In the meantime, I reactivated W3TC but with different settings. Could you please check if I did it appropriately this time? Or tell me how I can check it myself?
Thanks,
FChecked again this morning, still no results. 🙁
@feri257 we can confirm that the Yoast SEO plugin is outputting the correct meta tags. We’re not sure why the Twitter Card Validator is unable to locate the meta tags. It’s possible that there might be something on your server that is blocking Twitterbot.
You may want to refer to Twitter’s troubleshooting guide for more information if there is anything blocking the Twitterbot from accessing the page.
Otherwise, you can also create a post on Twitter’s Developer Forum for further assistance.
Thank you! My domain and webspace provider just informed me that they unblocked Twitterbot. I have no idea why they blocked it in the first place. 🙂
But anyway, now it works. 🙂 Thanks! -
This reply was modified 6 years, 3 months ago by
The topic ‘Unable to render Card preview (Twitter)’ is closed to new replies.