How to write a robots.txt for become all robots exclude MJ12Bot?

I write with this following code:

User-agent: MJ12Bot
Disallow: /

User-agent: googlebot
Allow: /

User-agent: msnbot
Allow: /

User-agent: bingbot
Allow: /

However, when I check at robots.txt checker it tell me incorrect.

from Search Engine Optimization http://ift.tt/1ThGzjs
via IFTTT
Previous
Next Post »
Thanks for your comment