I use this User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Sitemap: http://www.eduportalbd.com/sitemap.xml.gz as my wordpress site's robots.txt. is it ok? Experts only reply. Thanks .
you should write it in this order Sitemap: your sitmap url here User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ There are many more things a robots.txt can do and you should learn more about it. I can send the robots.txt I use but am not able to posts links right now.
The Wordpress robots.txt is dynamically generated, so you can't edit it without adding a plugin such as WP Robots Txt. However, the default robots.txt is fine. You best read up on what the robots.txt is actually for so that you can understand it: http://www.robotstxt.org/
Nope its wrong ..you should write as User-agent:* Disallow: /wp-admin/ Disallow: /wp-includes/ Sitemap: