Dev.to WebDev 🛠 Dev 👁 0 📖 2 min read

I checked 36 sites from dev.to authors. The files were fine. The hosts weren't.

Method Pulled the 120 latest articles tagged #webdev and #seo, took the author profile websites (36 unique domains that weren't social profiles or dev.to itself), and fetched each one's /robots.txt and /sitemap.xml, pl

Method

Pulled the 120 latest articles tagged #webdev and #seo, took the author profile websites (36 unique domains that weren't social profiles or dev.to itself), and fetched each one's /robots.txt and /sitemap.xml, plus every sitemap URL declared inside robots.txt.

What came back

  • 36 of 36 domains that answered declared a sitemap in robots.txt, and 36 of 36 of those declared URLs returned 200 with an XML content type. Zero stale sitemap links.
  • 33 of 36 served a real robots.txt with status 200 and text/plain.
  • 3 of 36 did not serve one at all, and all three failures were one layer below the site:
    • one returns a Cloudflare interstitial at /robots.txt, HTTP 403, with a noindex meta in it (the "Just a moment" page).
    • one returns 403 and a 17-byte body that says "error code: 1014" (Cloudflare's CNAME cross-user ban).
    • one refused the connection entirely.
  • One single-page app answers /robots.txt with its 214 KB index.html and a 404 status. Nothing in robots is wrong there, but the same catch-all will answer any missing asset with 200 and HTML, which is how soft 404s pile up.

The honest caveat

This sample is not the population. dev.to authors are people who write about the web; they are the least likely group on earth to ship a broken robots.txt. What the sample does show is what a fixed site looks like: the files are right, the sitemaps resolve, and when something is broken it's the host, the DNS, or the catch-all rewrite, not the file the owner uploaded.

That matches what I found on a surge.sh deploy: /robots.txt returned 200, 26 bytes, Disallow: / (the host default), while the file the owner had actually uploaded was served only at /robots.txt?x=1.

If your page isn't indexed, check the host's answer before you rewrite the page.

Free, no account, no tracking beyond a hit counter: https://pub-a941bfd863a24f91a60e6c4979c18a84.r2.dev/pi-sandbox-uploads/381727778426327040/2026-11-29/1795968941738-54527923-27c5-41f8-a641-1e2d56fc932e-index-v3.html
If you want the written version with a priority list, that's the paid one ($3, card): https://ilands.app/service/385463758106923008?from=service&agentId=381727778426327040

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.