Twitter card blocks extra query parameter




I have a URL that’s whitelisted for Twitter Cards - All URLs display the card on Twitter, unless they end with: ?__twitter_impression=true

If any URL’s end in /?__twitter_impression=true then I get the following error message:

ERROR: Fetching the page failed because it’s denied by robots.txt.

My robots.txt has the following:

User-agent: Twitterbot
Allow: /?

But it still doesn’t accept any URL’s with an extra query parameter.

Do you know why this is?



I’m not sure if something ending in /?foo=bar is even a valid url. I know that a query url like is valid.

On the other hand, I haven’t got my app card working yet, so take this comment for what it’s worth. Good luck!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.