SemhackDevelopers
OpenAPIGet an API key
Skip to content
SemhackHelp center
Open app

Loading article…

© 2026 Semhack
HomePricingPrivacyTermsContact
© 2026 Semhack
HomePricingPrivacyTerms
  1. Help center
  2. Audit checks
  3. robots.txt

SEO check

robots.txt

Fetches /robots.txt and tests the audited URL against its rules for Googlebot.

Category
SEO
Importance
High importance
Check id
robots-txt

How the result is decided

  • Passrobots.txt exists and allows Googlebot to crawl this page.
  • WarningThere is no robots.txt (a 4xx status), or it returned an unexpected status.
  • Failrobots.txt blocks Googlebot from this page, or it returns a server error (5xx), which Google treats as “don’t crawl”.
  • Inforobots.txt couldn’t be loaded.

“Info” results don’t count toward the score.

Why it matters

robots.txt controls what crawlers may visit. A rule that blocks an important page keeps it from ranking properly, and a robots.txt that errors can make Google pause crawling the whole site.

How to fix it

  • If the report names a blocking rule, remove or narrow it.
  • If there is no robots.txt, add a small one that lists your sitemap.
  • If it returns a 5xx error, fix the server so it returns the file (or a 404).
A minimal robots.txt
User-agent: *
Disallow:

Sitemap: https://www.example.com/sitemap.xml

After the fix, open the page’s report and choose Run again to confirm it passes.

Was this helpful?

Previous check404 pageNext checkIn-page links

About audits

  • How the audit score worksThe 0–100 score is a weighted average of the checks: importance sets the weight, the result sets the credit.
  • Running a page auditWhat Semhack fetches when it audits a URL, what the report shows and the limits that apply.
Search help

SEO checks

  • Title tag
  • Meta description
  • Headings
  • Content keywords
  • Image alt text
  • SEO-friendly URL
  • 404 page
  • robots.txt
  • In-page links
  • Favicon
  • Language
  • Noindex
  • Meta refresh
  • Meta keywords
  • Canonical URL