Support » Plugin: Yoast SEO » Sitemap could not be read

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support suascat_wp

    (@suascat_wp)

    @tubaa

    I checked the given screenshot and do see that your Google Search Console is reporting a General HTTP error for your post-sitemap.xml. Upon checking sitemaps under URL https://www.bilgidem.com/sitemap_index.xml, all sitemaps are loading fine without any error. I think Google Search Console got confused.

    One possible reason could be your robots.txt file is referencing the sitemap link which is usually not required since you’ve already submitted it via Google Search Console.

    We usually recommend the robots.txt file to look like this:

    User-Agent: *
    Disallow: /wp_admin/
    Allow: /wp-admin/admin-ajax.php

    This would allow GoogleBot to crawl all the links on your site and better understand how the pages are viewed and displayed. This guide explains more: https://yoast.com/ultimate-guide-robots-txt/. We have additional recommendations on robots.txt here: https://yoast.com/wordpress-robots-txt-example/.

    Update your robots file and resubmit the sitemap. Clear all your cache from your theme, plugin, server, CDN like CloudFlare or browser. If you are not sure how to clear cache from theme/plugin please speak to those authors. If you want to clear cache from the server, please speak to your host provider.

    Keep monitoring Google Search Console for few more days.

    I hope this will resolve the issue.

    Thread Starter Tubaa

    (@tubaa)

    I have changed the robots.txt file , now seems Ok , thank you

    Plugin Support suascat_wp

    (@suascat_wp)

    Glad to know the issue has been resolved. If you have further questions in the future, do not hesitate to reach out to us; we are happy to help.

    Thread Starter Tubaa

    (@tubaa)

    Hi, should I add this line to the robot txt file?
    Sitemap: https://www.bilgidem.com/sitemap_index.xml

    https://www.bilgidem.com/robots.txt

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sitemap could not be read’ is closed to new replies.