Search Atlas Help Center

πŸ› οΈ Fix Site Audit Sitemap and Robots.txt Errors

Camilo Aponte

Camilo Aponte

Last updated on Dec 4, 2026

πŸ” What This Error Means

Site Audit starts by reading two files on your website: your robots.txt file and your XML sitemap. The robots.txt file tells crawlers which areas of your site they may visit. The sitemap lists the pages you want crawled. If Site Audit cannot open one of these files, you may see a message that the sitemap or robots.txt is inaccessible, or you may see fewer pages crawled than expected.

A sitemap that worked in an earlier crawl can stop working for a few reasons. The most common ones are a changed file location, a new security rule, or a website update. The file may also still load in your browser while being blocked for automated crawlers.

⚠️ Common Causes

  • Wrong or changed sitemap address. Many sites use /sitemap.xml or /sitemap_index.xml. A small difference such as /sitemaps.xml (with an extra s) will return a not found error if the file lives somewhere else.
  • Firewall or security service blocking the crawler. Website firewalls, CDNs, bot protection and security plugins can block automated visitors, even when the page opens normally for you.
  • Server errors. The file may return a 403 (forbidden), 404 (not found), 429 (too many requests) or 5xx (server error) response.
  • Redirect problems. The sitemap may redirect to another address, redirect in a loop, or redirect to a login or error page.
  • Robots.txt rules. If Respect robots.txt is turned on in your audit settings, Site Audit follows your robots.txt file. A rule that disallows the crawler's user agent (or all crawlers), or a broad rule such as "Disallow: /" that blocks the whole site, stops Site Audit from reading the blocked pages. Those pages are left out of the crawl. To check, open your robots.txt file and look for rules that apply to the user agent selected in your audit settings. Remove or narrow the blocking rule. Alternatively, turn off Respect robots.txt in the audit settings and run the audit again. Also check the audit's own crawl rules, which can exclude pages in the same way.
  • Plugin or platform updates. SEO plugins, theme updates and hosting changes can rename, move or turn off your sitemap without warning.
  • Invalid file content. A sitemap with broken XML, extra characters or an empty body can fail to load.

βœ… Step 1: Check the Sitemap in Your Browser

  1. Open a new browser window, ideally a private or incognito window.
  2. Type your sitemap address, for example https://yourdomain.com/sitemap.xml.
  3. Check that the page loads and shows a list of URLs or links to other sitemaps.
  4. If you see a not found message, try /sitemap_index.xml, /wp-sitemap.xml or the address listed in your robots.txt file.
  5. If the address changed, make a note of the correct one.

πŸ€– Step 2: Check Your Robots.txt File

  1. Open https://yourdomain.com/robots.txt in your browser.
  2. Confirm that the file loads and does not return an error.
  3. Look for a line such as Disallow: / under User-agent: *. This blocks all crawlers from your whole site.
  4. Look for rules that name a specific crawler and disallow it.
  5. Look for a Sitemap: line and make sure it points to the correct, working address.
  6. If you change anything, save the file and reload it in your browser to confirm the update is live.

πŸ›‘οΈ Step 3: Check Firewalls and Security Settings

If the files load in your browser but Site Audit still cannot reach them, your site may be blocking automated traffic. Check the following:

  • Your hosting control panel for firewall or bot protection settings.
  • Your CDN or security service, such as a web application firewall or bot management feature.
  • Any WordPress or CMS security plugin that limits crawlers or blocks unknown visitors.
  • Rate limiting rules that may block a crawler making many requests in a short time.

If you find a block, add the Search Atlas crawler to your allowlist, then run a new audit. If you do not know how to identify the crawler, open the chat widget and ask our support team for the details you need.

πŸ”„ Step 4: Check Redirects and Page Status

  • Make sure the sitemap address does not redirect to a login page, a different domain or a long chain of redirects.
  • Make sure the version of your site you entered in Site Audit matches the live version, including https versus http and www versus non-www.
  • Confirm that the file returns a normal successful response and is not password protected.

πŸ” Step 5: Update Your Site and Run a New Audit

  1. If your sitemap moved, update the address in your SEO plugin or CMS settings and in your robots.txt file.
  2. If a firewall or security rule was blocking the crawler, update the rule and save it.
  3. Go back to Site Audit in the platform.
  4. Start a new audit for your site.
  5. Wait for the audit to finish and check whether the sitemap and robots.txt error has cleared.

πŸ’‘ Tips to Prevent This in the Future

  • Keep your sitemap at a stable address and avoid renaming it during site updates.
  • List your sitemap address in robots.txt so crawlers can always find it.
  • After plugin, theme or hosting changes, open your sitemap and robots.txt in a browser to confirm they still work.
  • Review firewall and security settings when you add a new security tool or turn on stricter bot protection.
  • Avoid adding broad disallow rules to robots.txt unless you want to block crawlers from your site.

πŸ“ What to Include When You Contact Support

If the problem continues after these steps, sharing a few details helps us find the cause faster:

  • Your domain and the exact sitemap address you expect Site Audit to use.
  • The date of the last audit where the sitemap worked.
  • Any recent changes to your site, such as a new plugin, theme, hosting provider, CDN or firewall.
  • The error message you see in Site Audit.

πŸ’¬ Need More Help?

If you need further assistance, open the chat widget in the bottom-right corner of the platform and send your message. A member of our support team will reply in the chat.

Was this article helpful?