It's very easy. There are many robot.txt generator. Just google them and they will make it for u. Or u can create it manually by placing the urls u dont want to indexed by google after the disallow: text.
Yead Reviewed by Yead on . robots.txt Hi Guys i have wordpress and when i go to my robots.txt i found this : User-agent: * Disallow: Sitemap: http://xxxxxxxxxxxxxxx.org/sitemap.xml.gz is that normal ???? cause i installed a plugin and i have written this : Rating: 5