How to fix sitemap error?

mitali

New member
Joined
Dec 7, 2016
Messages
14
Points
0
Hey guys, I just submit my sitemap but it gives one error like this

sitemap-error.jpg

so please help what we do next..
 

Marc van Leeuwen

Premium Member
Joined
May 29, 2016
Messages
1,127
Points
63
It showed you the answer on your image

URL restricted by robots.txt

Check this file again and make sure that it allowed search engine spiders to crawl your sites.
 

mitali

New member
Joined
Dec 7, 2016
Messages
14
Points
0
No URLs are blocked by it. We set in robots.txt
User-agent: *
Disallow: /wp-admin/

SO NOW we need to set like
User-agent: *
Allow: /
 

mitali

New member
Joined
Dec 7, 2016
Messages
14
Points
0
my site URL is abc.com/sitemap.xml and robots.txt file include:
User-agent: *
Disallow: /wp-admin/
when submitted it gives warning message like Sitemap contains URLs which are blocked by robots.txt. and issue cont 56
 
Last edited:

skullofskill

Member
Joined
Nov 16, 2016
Messages
39
Points
8
Hey there mitali, did you add any references to your Sitemap on your Robots.txt?

----------
User-Agent: *
Allow: /
Disallow:/wp-admin/

Sitemap: http://abc.com/sitemap_index.xml
----------

Totally optional of course, but just throwing it out there, and I hope that helps a little.
 
Newer threads
Replies
5
Views
2,595
Replies
7
Views
3,554
Replies
10
Views
5,826
Latest threads
Replies
4
Views
676
Replies
0
Views
109
Replies
1
Views
146
Replies
1
Views
144
Recommended threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top