Sitemap blocked by robots
-
Hi,
I just run into this problem on my siteSitemap gives error in google console (blocked urls including main page) and I can see these in the php log file:
file_get_contents(): Failed to seek to position -1 in the stream Type: PHP Warning Line: 1032 File: /wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php
file_get_contents(): SEEK_END is not supported Type: PHP Warning Line: 1032 File: /wp-content/plugins/all-in-one-seo-pack/modules/aioseop_sitemap.php
Also when I check the sitemap.xml it will redirect to main page and I see this in the XML sitemap settings: Potential conflict with unknown file /home/…/sitemap.xml.
My robots file
User-agent: * Disallow: /cgi-bin Disallow: /cdn-cgi Disallow: /wp-admin Disallow: /wp-content/plugins Disallow: /wp-includes Disallow: /xmlrpc.php
Thanks
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Sitemap blocked by robots’ is closed to new replies.