Sitemap contains urls which are blocked by robots.txt
-
Hello,
This is the current robots.txt that I am using. I don’t understand why I get this error
“Sitemap contains urls which are blocked by robots.txt”
on google search problem. Can you please help me out? Am I doing something wrong?
I am getting 96 warnings spread on the 3 sitemap urls. Please help, I am desperate.Sitemap: https://yourdomain.com/post-sitemap.xml
Sitemap: https://yourdomain.com/page-sitemap.xml
Sitemap: https://yourdomain.com/category-sitemap.xml
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
User-agent: *
Disallow: /wp-content/$
User-agent: *
Disallow: /admin/
Disallow: /admin/*?*
Disallow: /admin/*?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sitemap contains urls which are blocked by robots.txt’ is closed to new replies.