Recently, when one of my imageless posts was shared on Twitter, I added a featured image so when it is shared in the future it looks better. However Twitter caches the information for the tweet so even though I had added the image, the image was not displaying in tweets.
How to Clear the Twitter Cache
To clear information associated with a shared URL, I did the following.
Step 1: Go to the Twitter Card Validator
I went to https://cards-dev.twitter.com/validator
Step 2: Enter the URL
Then I entered my URL https://salferrarello.com/functions-plugin-mu-plugin-wordpress/

Step 3: Click Preview Card
After clicking Preview Card, the rendered Twitter Card (with image) was displayed.

Why are Featured Images Important
Featured images (with the help of the Yoast SEO Plugin) populate the Twitter Card when a URL is shared on Twitter, which significantly improves the appearance of the tweet.
Why Do I Have Imageless Posts
I’ve started publishing draft blog posts. Since adding featured images is typically the last thing I do, these draft blog posts generally do not have featured images.
Leave a Reply