Title: Server error when validating twitter cards
Last modified: August 21, 2016

---

# Server error when validating twitter cards

 *  Resolved [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/)
 * Hello! Whenever I’m trying to validate my twitter cards and after inputing the
   url of my post, I keep on getting an error saying:
 * > Server error, please try again.
 *  I followed the tutorial accompanied by the plugin and I’m sure I did it correctly.
   Can someone please tell me how to resolve this? Thanks in advance 🙂
 * [https://wordpress.org/plugins/jm-twitter-cards/](https://wordpress.org/plugins/jm-twitter-cards/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028688)
 * Hi sometimes the validator has issues. A lot of people are using it at the same
   time. Just try it again.
 * Otherwise give me a URL so I can check it myself.
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028692)
 * Hi, thanks for your reply jmlapam.
 * I already had tried repeatedly day by day but it’s still the same error I’m getting
   during validation. In my admin’s post page, it seems fine and it’s giving me 
   a preview of how it’ll look like. I don’t have proper posts as of now cos I’m
   just starting to set up my blog, could it be the reason why I can’t get it validated?
   
   [ Btw, here’s the url](http://jhemsays.com/twitter-cards-test-post/)
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028694)
 * Try to add the required rules in robots.txt to authorize Twitter’s bot to fetch
   your content and see if that works.
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028698)
 * Hi, thanks for the prompt reply jmlapam.. I just added the twitter’s in robots.
   txt, I tried all these 3, cos I don’t know if I’m doing it right, anyway just
   trying my luck hehe~~~but none of these worked.
 *     ```
       User-agent: *
       Disallow: /cgi-bin
       Disallow: /wp-admin/
       Disallow: /wp-includes/
       Disallow: /wp-content/
       Disallow: /readme.html
       Disallow: /license.txt
       Disallow: /search/
       Disallow: /*?
       Disallow: /*.php$
   
       User-agent: Twitterbot
       Disallow:
       ```
   
 *     ```
       User-agent: *
       Disallow: /cgi-bin
       Disallow: /wp-admin/
       Disallow: /wp-includes/
       Disallow: /wp-content/
       Disallow: /readme.html
       Disallow: /license.txt
       Disallow: /search/
       Disallow: /*?
       Disallow: /*.php$
   
       User-agent: Twitterbot
       Disallow:
   
       User-agent: *
       Disallow: /
       ```
   
 *     ```
       User-agent: *
       Disallow: /cgi-bin
       Disallow: /wp-admin/
       Disallow: /wp-includes/
       Disallow: /wp-content/
       Disallow: /readme.html
       Disallow: /license.txt
       Disallow: /search/
       Disallow: /*?
       Disallow: /*.php$
   
       User-agent: Twitterbot
       Disallow: *
   
       Allow: /images
       Allow: /archives
       ```
   
 * Is there any other possible solution that I could try?
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028699)
 * You need to put that file at the root of your installation. I do not see it when
   I check your website.
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028701)
 * I just went to my file manager, public_html and check for robots.txt file and
   this is what I found…
 *     ```
       User-agent: *
       Disallow: /cgi-bin
       Disallow: /wp-admin/
       Disallow: /wp-includes/
       Disallow: /wp-content/
       Disallow: /readme.html
       Disallow: /license.txt
       Disallow: /search/
       Disallow: /*?
       Disallow: /*.php$
   
       User-agent: Twitterbot
       Disallow:
       ```
   
 * Not sure if this is what you’re pointing out, but I think it is. Please enlighten
   me so I could learn to make it effectively. Thanks again for your time
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028702)
 * No make sure you have this file at the roots. For now I see this :
 *     ```
       ######################################################## Robots.txt SEO by jhemsays.com
   
       #All bots
       User-agent: *
       Disallow: /cgi-bin
       Disallow: /wp-admin/
       Disallow: /wp-includes/
       Disallow: /wp-content/
       Disallow: /readme.html
       Disallow: /license.txt
       Disallow: /search/
       Disallow: /*?
       Disallow: /*.php$
       ```
   
 * No rules for Twitter
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028703)
 * I dont know what’s wrong but if I try to [view here, it’s there.](http://jhemsays.com/robots.txt)
 * It shows [like this](https://lh3.googleusercontent.com/-FbTBT28NnIo/U6b5JYCzwcI/AAAAAAAAEzs/pF4eNV6arg0/h120/Screenshot%2Bfrom%2B2014-06-22%2B23%253A38%253A57.png)
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028708)
 * You’re running linux which is great ^^.
    But I don’t see the same so I bet there’s
   some cache runnning (on your webserver) and robots.txt should be excluded from
   it.
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028710)
 * Oh, I’ll try to do that. Will get back again whether I fixed it or not hehe..
   For now, I’d still want to say thank you for your time and reply, it’s a big 
   help anyway. bye bye
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028711)
 * cheers. Hope it will be fixed. Just let me know.
 *  Thread Starter [cuddlefishkitty](https://wordpress.org/support/users/cuddlefishkitty/)
 * (@cuddlefishkitty)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028855)
 * Hello there!
 * Finally, I have my twitter cards approved in no time after validating a _summary
   below large image_. Maybe the problem is with my previous host? I’ve just moved
   to another host and get my twitter cards validated at first try.
 * But I was wondering why my twitter card is only showing the summary and url? 
   The image is there, but _it only shows up upon ticking the View Summary_. How
   can I make it show up?
 * Another question is, _do I have to apply for different card types?_ Let’s say
   I also want to use some time the _Summary card_, and _Photo card_..?
 * Thank you in advance 🙂
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028857)
 * Hi,
 * Glad you got it work. Sometimes it’s about server config but most of the time
   this is about rules in robots.txt.
 * This could be also the reason why you do not find your images in tweets. Twitter’s
   bot has to be allowed to fetch your directories especially where you upload your
   stuffs.
 * To apply for different card types you have to use the meta box it will allows
   you to set another card type for a particular post. Use the validator to confirm
   that your markup is fine and then re-submit your domain to twitter.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Server error when validating twitter cards’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jm-twitter-cards.svg)
 * [JM Twitter Cards](https://wordpress.org/plugins/jm-twitter-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jm-twitter-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jm-twitter-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/jm-twitter-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jm-twitter-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jm-twitter-cards/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: Anonymous User 10765487
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/server-error-when-validating-twitter-cards/#post-5028857)
 * Status: resolved