Yoast SEO
[resolved] sitemap probelm (4 posts)

  1. EmanueleT
    Posted 2 years ago #


    i am writing because i have some problems with the sitemap generated by yoast;

    i use youast on many websites and this is the first one im getting this problems.

    the website is this http://silentsystem.it

    and after generation the sitemap, and testing it on webmastertools i get this error:

    We encountered an error while trying to access your Sitemap.

    example , robots.txt is blocking the access.

    The thing is that i dont have a robots txt, i also tried to do it but it didnt work at all, when i tr to see the sitemap from the webmaster tool i see a blank page.

    Any suggestion? can u take a look please.

    thank you in advance


  2. Mike
    Posted 2 years ago #

    Hi Emanuele,

    WordPress adds a robots.txt. You can see the one it generates for your site here: http://silentsystem.it/robots.txt and it all looks in order.

    After you deblock the site from search engines and submit the sitemap, Webmastertools still has the cached version of robots.txt. It can take a couple of days but then a site will be indexed.

    As I can see your sitemap at http://silentsystem.it/sitemap_index.xml your problem seems to be solved.

    If you agree could you close this topic?

    regards, Mike

  3. EmanueleT
    Posted 2 years ago #

    Hi, thank you a lot for helping, i am closing the topic.

  4. Alok Tiwari
    Posted 2 years ago #

    For every body else :
    There is a a small bug in yoast plugin is it's attachment-sitemap.xml
    It also adds those images which you might had used in some draft posts. And posts are not publicly visible

    attachment-sitemap.xml is used to list attached media files thus this also adds those ( Draft )images in attachment-sitemap.xml

    When Google tries to crawls the attachment-sitemap.xml It finds the (draft) image and when Google tries to access that (draft) images it raise the 404 error just because the post is in draft mode.
    that's why Google thinks this is being blocked by robots.txt

    Hope this helps some body trying to figure out the issue..

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.