1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Sitemap could not be read

Discussion in 'Google' started by jaguar34, Jan 24, 2021.

  1. #1
    I am facing issues submitting sitemap to google search console...

    when I submitted the sitemap to GSC it shows "Sitemap could not be read" in new GSC. I have updated the xmlsitemap.xml file many times and resubmitted it but still, I'm getting the same error.

    Can you please help me to solve this problem?
     
    jaguar34, Jan 24, 2021 IP
  2. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #2
    A sitemap is a very simple file that seldom has issues provided it is built correctly. Since we have no way of examining the patient (your sitemap) there is no way we can diagnose the problem.

    Find what the structure of the sitemap is supposed to look like (Google et alia have several very good tutorials on building sitemaps) then compare yours to the required structure. Whatever the problem is will be VERY easy to find since sitemaps are so simple.

    Here is a very simple example of a correct sitemap.

    
    <urlset>
       <url>
         <loc>
           https://example.com/example/Anything/Anything.htm
         </loc>
         <lastmod>2021-01-02</lastmod>
       </url>
       <url>
         <loc>
           https://example.com/example/Something/Something.htm
         </loc>
         <lastmod>2021-01-03</lastmod>
       </url>
       <url>
         <loc>
           https://example.com/example/Nothing/Nothing.htm
         </loc>
         <lastmod>2021-01-09</lastmod>
       </url>
    </urlset>
    
    Code (markup):
     
    Last edited: Jan 24, 2021
    mmerlinn, Jan 24, 2021 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #3
    Can you share a link to your sitemap?
     
    sarahk, Jan 24, 2021 IP
  4. Jim4767

    Jim4767 Prominent Member

    Messages:
    4,738
    Likes Received:
    766
    Best Answers:
    10
    Trophy Points:
    305
    #4
    Jim4767, Jan 24, 2021 IP
  5. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #5
    The Bing Webmaster Tools is reading the sitemap correctly but there is problem in Google Search Console.
     
    jaguar34, Jan 24, 2021 IP
  6. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #6
    If you do not help us, we cannot help you.

    I am mmerlinn da wizard, but I do not have enough magic to diagnose patients when I cannot see the patient.

    Edit: I cannot open the link you PMed to me. Cut and paste your sitemap into "code" brackets so everyone can see it. There is NO reason to hide it in a PM since ALL that it should contain is links that you WANT Google to index and you WANT the world to see.
     
    Last edited: Jan 24, 2021
    mmerlinn, Jan 24, 2021 IP
  7. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #7
    here it is - removed***

    and sitemap generated using this tool - https://www.web-site-map.com/xml_sitemap.php
    removed***

    Both submitted to GSC but its showing error - "Sitemap could not be read" for both of these sitemaps.

    When I 'Test Live URL' in GSC for sitemap it shows this in the display page -

    Crawl
    Time
    Jan 24, 2021, 7:32:15 PM
    Crawled as
    Googlebot smartphone
    Crawl allowed?
    Yes
    Page fetch
    Successful
    Indexing allowed?
    Yes
     
    Last edited: Jan 25, 2021
    jaguar34, Jan 24, 2021 IP
  8. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #8
    As stated before, I cannot open your links. Open them in a text editor, then cut and paste the sitemap between "code" tags so we can look at it.
     
    mmerlinn, Jan 24, 2021 IP
  9. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #9
    Here it is -
    removed***
     
    Last edited: Jan 25, 2021
    jaguar34, Jan 25, 2021 IP
  10. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #10
    The only thing that I see that MIGHT be the problem is your first line, but I cannot tell for sure.

    The first line MUST be at the beginning of the site map. If you have a BLANK line before it, Google WILL throw an error. Make sure there is NO blank line at the top, paste it back to your site map and see if that solves the problem. How do I know? I chased that exact problem for months before I read the fine print in the specs which says there CANNOT be ANY blank lines at the top of the site map.

    Try that and see if that solves your problem.
     
    mmerlinn, Jan 25, 2021 IP
  11. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #11
    There is no blank link... See in code above the number 1 in beginning has this code - <?xml version="1.0" encoding="UTF-8" ?>
    The line starts where it says number 1 and not above it. I also checked in the sitemap and there is no blank line.
     
    jaguar34, Jan 25, 2021 IP
  12. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #12
    OK. The only other potential I see is blank line before your closing "URLSET" tag. No clue if that could be a problem or not. Remove it and try that. If that does not fix it, I have no idea where to go from there.
     
    mmerlinn, Jan 25, 2021 IP
  13. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #13
    Below is the code for sitemap gemerated using this tool - https://www.web-site-map.com/xml_sitemap.php and it has not blank lines but still getting same error as "Sitemap could not be read" this this sitemap also in GSC

    removed***
     
    Last edited: Jan 25, 2021
    jaguar34, Jan 25, 2021 IP
  14. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #14
    I cannot see anything wrong at all. My only advice is to remove EVERYTHING except the <URLSET> and </URLSET> and see what happens. If that works, then line by line add the rest back until it breaks. If that does not work, it has to be a blank line at the top, maybe invisible characters that you cannot see.

    No matter what, if you find the problem, be sure to come back and post the solution. It might save someone down the road lots of headaches.

    I will keep thinking about this and see if I can figure something out. Maybe try a different computer and see if I can get a direct look at your sitemap.
     
    mmerlinn, Jan 25, 2021 IP
  15. jaguar34

    jaguar34 Notable Member

    Messages:
    1,350
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    215
    #15
    Tried to remove everything except <URLSET> and </URLSET> and still getting same problem. Maybe this could be temporary GSC error?
     
    jaguar34, Jan 25, 2021 IP
  16. supporthost50

    supporthost50 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #16
    Hello, at times you need to send it several times, it could be normal
     
    supporthost50, Jan 25, 2021 IP
  17. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #17
    I got sent the link which shows the site is WordPress and it's using a plugin.

    The plugin's site has a "Help" page which will validate the feed. https://xmlsitemapgenerator.org/Free/diagnostic-seo-tools.aspx

    The results are important!

    upload_2021-1-26_10-28-46.png

    I'd start by going through their blog and seeing if anything applies. Zero pages found shows there's something going on inside your site - the XML feed is probably not to blame.
     
    sarahk, Jan 25, 2021 IP
  18. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #18
    Could it be some stupid cache issue? Try renaming it to sitemap.xml and then resubmitting it as a new sitemap.
     
    qwikad.com, Jan 25, 2021 IP
  19. mmerlinn

    mmerlinn Prominent Member

    Messages:
    3,197
    Likes Received:
    818
    Best Answers:
    7
    Trophy Points:
    320
    #19
    Well, I guess that is that. I was going to try looking at the raw sitemap, but the links are gone. Good luck.
     
    mmerlinn, Jan 25, 2021 IP
  20. Sumit_Singh

    Sumit_Singh Well-Known Member

    Messages:
    716
    Likes Received:
    64
    Best Answers:
    6
    Trophy Points:
    100
    #20
    Is this issue fixed or not? If not then share the sitemap file link as a text or replace the "." with "dots" otherwise it will be removed again by the moderators.
     
    Sumit_Singh, Jan 26, 2021 IP