Since using this theme, no Twitter previews are showing up on my posts. I know this has been discussed before and my Yoast open graph meta data is enabled - but it still doesn't work (Facebook works fine). Any suggestions please?
at the end of this file and don’t allow any robots to access anything below / which is the root level of your site. So that stops any of the other rules from having any effect at all - let's remove it from your robots.txt file.
After that, wait some days for Twitter updates it.
Since using this theme, no Twitter previews are showing up on my posts. I know this has been discussed before and my Yoast open graph meta data is enabled - but it still doesn't work (Facebook works fine). Any suggestions please?
Hi,
I just checked the validator here: https://cards-dev.twitter.com/validator
And I see the error: ERROR: Fetching the page failed because it's denied by robots.txt.
Here is a post about this issue:
https://twittercommunity.com/t/error-fetching-the-page-failed-because-its-denied-by-robots-txt/72572/6
And your robots.txt file https://forfleetssake.co.uk/robots.txt has the line:
at the end of this file and don’t allow any robots to access anything below / which is the root level of your site. So that stops any of the other rules from having any effect at all - let's remove it from your robots.txt file.
After that, wait some days for Twitter updates it.
Best Regards,
PenciDesign
Ok I have removed the disallow line, leaving the one line that says -
User-agent: *