Social – Yoast WordPress SEO | Twitter card meta data does not show up
Scenario:
When you attempt to enable Twitter Cards under Social – Yoast WordPress SEO page, despite it shows it integrated the Twitter Card, this plugin doesn’t seem to insert the required meta data to my site.
Steps you follow:
Add your Twitter username in WordPress > Users > My Profile > Contact Info > Twitter username (without @)
Then enable Twitter Social in WordPress > Yoast WordPress SEO: Social > Twitter >
> Checked “Add Twitter card meta data”
> Added my name at “Site Twitter Username:”
> Chosen Summary in “The default card type to use:”
In your Twitter login, On Card Validator page https://cards-dev.twitter.com/validator, you create a new card. But when you navigate to your website, you don’t see any of the twitter tags added in your websites header portion.
My observations and :
<
p>I learned that twitter cards are getting created for websites which have static page as their main page.
In my case, I’ve my card created by temporarily setting my main page to static page and when I set it back to a dynamic page, Twitter card fails to work.
To compare, you can check out my web site main page (https://gunnalag.com/) which doesn’t show up Twitter card tags but any of my article pages (say http://wp.me/p4zWHd-3rx) shows up twitter card tags.
However, if I go to my twitter card validator, there are no valid cards on my main page or on my article pages.
References: