Twitter card isn't working properly


Hi there,

I’ve faced a problem with my twitter card. My website runs with WordPress CMS and I’ve been using yoast plugin. By using this plugin, I set the twitter card with “large image with summary.” The posts image are showing properly. But my website homepage image isn’t showing up. Please check below attachments.

Post image which has no problem with twitter card:

Homepage image problem:

Please check that and let me know how can I fix this problem.

Md Saddam Hossain


Check the troubleshooting FAQ post. Your robots.txt file is blocking access to the image for that page.



Many thanks for your response. It worked before and I don’t change the robots.txt of my website. I’ve checked resources link your given. Can you please check my website robots.txt here ? And help me to find the disallow access of my website homepage image.

Md Saddam Hossain


Yes, I already checked. You are disallowing all user agents (*) from accessing /wp-content which is where the image is stored.


Thank you I really appreciate your help. :slight_smile: After removing the disallow code that the problem has fixed.

closed #6