Correct Robots.Txt Code, but Google Will Not Crawl Site
I first installed Google XML Sitemaps but removed the plug in and then installed Yoast
SEO. My site is new so I just allowed Worpress to be searched by robots in the privacy settings. Everthing seems fine except Google Webmaster Tools states that a warning as listed below. Could someone please take a look at my robot.txt which is listed below and let me know if I should be blocking
wp-admin and
wp-includes as when I search for my URL in Google it states that it cannot crawl site as robot.txt is blocking it. Thanks Todd
"Warnings |
Url blocked by robots.txt. |
Sitemap contains urls which are blocked by robots.txt. 16"
|
Sitemap URL setup as:
/sitemap_index.xml
User-agent: *
Disallow: /
wp-admin/
Disallow: /
wp-includes/