← All posts· ~9 min

18 Checks Before You Open a Site to Google Indexing

The 18 checks to pass before opening a site to Google: robots.txt, noindex, sitemap, real 404s. On 25 Vietnamese sites, 129 failures fell to 48 in a day.

By Long Nguyen — CTO, ERPFit

Two technicians inspect a paper-airplane website on a runway before take-off

Short answer: before you unlock a site for Google, it should pass 18 checks. Four of them are what most often keeps a new site out of the index, so our checker treats them as blockers: robots.txt does not block the site, no noindex is left in a meta tag or an X-Robots-Tag header, a readable sitemap exists, and a URL that does not exist returns a real 404. The other fourteen do not block indexing; they shape how pages appear in results, what machines understand from them, and what you can measure from day one.

On 29 November 2026 our first run on 25 Vietnamese websites found 129 failures, and 14 sites failed at least one of the four blockers. The next morning, after one round of fixes, the same 25 sites had 48 failures and 5 sites were still blocked.

Key takeaways

  • The most common first-run failures: no JSON-LD (15 of 25 sites), no lastmod in the sitemap (15 of 25), no /llms.txt (13 of 25).
  • All 11 sites that blocked crawlers in robots.txt also carried noindex. Google cannot read a noindex on a page that robots.txt blocks, so that second lock does less than people expect.
  • No site answered "200" for a URL that does not exist: the real-404 check passed on 25 of 25, both times.
  • After the fixes, sites passing all 17 automated checks went from 2 to 11, and the median score went from 11 to 16.
  • Title length is now the most common failure: 9 sites failed it at first, and 7 still do.
Illustration of a website door being unlocked next to a checklist with ticked boxes
Before launch day, every lock has to come off.

Why check before you open

Because launch locks are often removed only halfway: in our first run, 14 of 25 sites still failed at least one of the four blockers. A new site is usually built behind locks. robots.txt says Disallow: /, every page carries noindex, and there is no sitemap yet. That is right while the site is unfinished. The trouble starts on launch day. Someone removes one lock and forgets the other, or removes both but leaves a sitemap that points at the staging domain. Visitors see a working site. Google still sees a closed one.

Google is plain about what robots.txt does. It manages crawler traffic, and it is "not a mechanism for keeping a web page out of Google". A blocked URL can still be indexed if other pages link to it. The reverse also holds: for noindex to work, the page must not be blocked by robots.txt, because a crawler that cannot fetch the page never sees the rule. Two stacked locks are not safer than one. They just add a step to forget on the day you open.

How we measured

The CiteStat readiness check fetches the home page, robots.txt, the sitemap (or the first child of a sitemap index), /llms.txt, a random URL that does not exist, and up to five pages spread evenly across the sitemap. So each site gets up to six pages read. It reads the HTML and headers the server returns and does not run JavaScript, so content that only appears after scripts run counts as missing (see JavaScript SEO).

The first run started at 21:21 Vietnam time on 29 November 2026, on 25 websites. Each site owner got a list of fixes. We ran the same code again at 10:21 on 30 November on the same 25 sites; a 26th site was added to the sample that morning and appears only in the second run.

Check 18 in this post (leftover test and placeholder text) was not part of the first run, so we measured it once, on the second. The aggregate data file that ships with this post names no site.

The 18 checks, before and after the fixes

CheckBlocker in our checker?Sites failing 29 NovSites failing 30 Nov
1. robots.txt does not block Googlebot, Bingbot or *Yes11/254/25
2. No noindex (meta robots, X-Robots-Tag)Yes12/255/25
3. Valid XML sitemap, URLs on the same hostYes9/252/25
4. A Sitemap: line in robots.txtNo12/254/25
5. Every sitemap URL has a lastmod, none in the futureNo15/256/25
6. Sampled pages answer 200 on httpsNo0/250/25
7. A missing URL answers 404 or 410Yes0/250/25
8. Canonical is absolute, https, same hostNo6/252/25
9. Title of 10–65 charactersNo9/257/25
10. Meta description of 50–170 charactersNo7/254/25
11. Exactly one h1No2/251/25
12. A lang attribute on the html elementNo1/251/25
13. No duplicate titles across sampled pagesNo0/250/25
14. og:title, og:description, og:image on the home pageNo12/254/25
15. At least one JSON-LD block that parsesNo15/253/25
16. /llms.txt served as plain text, not HTMLNo13/251/25
17. Analytics tags (GA4 and a second analytics script)No5/254/25
18. No leftover test, staging or placeholder textNonot measured0/26

Across the 17 checks measured twice, failures fell from 129 to 48. Checks 6 and 7 passed everywhere, both times. In other words, none of these sites served a fake "not found" page with a 200 status, even the ones that were far from ready on other checks.

Bar chart: sites failing each of 17 checks on 29 and 30 November 2026; JSON-LD fell from 15 to 3, llms.txt from 13 to 1, title from 9 to 7
Sites failing each check, same 25 websites: 129 failures on 29 November 2026, 48 on 30 November 2026.

The four blockers: fix these first

1. robots.txt does not block the whole site

The check looks for a User-agent: *, Googlebot or Bingbot group with Disallow: / and no matching Allow: /. A missing robots.txt (a 404) counts as allow-all. At launch, block only paths that really are private, such as the admin area, the cart and internal search results. If you want to block AI bots on their own, our post on robots.txt for GPTBot and ClaudeBot has examples.

2. No noindex in either place

A noindex can sit in a <meta name="robots"> tag or in an X-Robots-Tag HTTP header. The header is easier to miss, because it does not show up when you view the page source. In the first run, all 12 sites that failed this check sent noindex in the header, and 8 of them also sent it in a meta tag. Remove the meta tag but forget the server config, and the page is still excluded. The quickest way to see the header is curl -I https://your-domain/ and a look for an X-Robots-Tag line.

3. A sitemap that can be read

All 9 sites that failed at first returned a 404 for /sitemap.xml. A missing sitemap does not stop Google from indexing pages it finds through links, but Google also writes that Googlebot "might not discover your pages if no other sites link to them", a risk for a new site that few others link to yet.

A sitemap must be a urlset or a sitemapindex, with <loc> entries, and every URL must be on your own host. Google asks for fully qualified, absolute URLs, with at most 50,000 URLs or 50 MB uncompressed per file. Leave noindex pages out of the sitemap: listing them sends two signals that contradict each other.

4. A 404 must be a real 404

The check requests a random path such as /__probe-x7k2…. A 404 or 410 passes. A 200 with "page not found" text is a soft 404. Search Console describes it as a page that "returns a user-friendly 'not found' message but not a 404 HTTP response code", and Google recommends a 404 for pages that truly do not exist. Otherwise Google has to guess which pages are errors, and Search Console will file them under soft 404.

Sitemap and status checks

These three take minutes to fix, and failures fell by about two thirds overnight: the Sitemap line went from 12 failing sites to 4, lastmod from 15 to 6.

Check 4, a Sitemap line in robots.txt. One line: Sitemap: https://your-domain/sitemap.xml. The sitemaps.org protocol says the directive is "independent of the user-agent line", so it can go anywhere in the file. Google accepts it, and any search engine that follows the shared protocol can find your sitemap without you signing in to its webmaster tool.

Check 5, lastmod. Google uses <lastmod> if it is consistently and verifiably accurate, and it ignores priority and changefreq. The sitemaps.org protocol says the date must be when the page changed, not when the sitemap was generated. Our check fails a sitemap if any URL lacks a lastmod or has a date in the future. At first, 9 of the 15 failures came from having no sitemap at all; the other 6 had a sitemap without lastmod. No site used a future date. An accurate lastmod is a simple way to signal fresh content.

Check 6, status 200 on https. Every sampled page must answer 200 over https after redirects. All 25 sites passed. If you are moving domains, also look at redirect chains.

On-page tags: canonical, title, description, h1, lang

The on-page group started with fewer failures than the blockers (25 against 32) but fell less: to 15 a day later, against 11.

Check 8, canonical. Google calls rel="canonical" "a strong signal" for the preferred URL and asks for absolute rather than relative paths. Every canonical failure in both runs was a missing tag, not a wrong one. See canonical URL and duplicate content.

Checks 9 and 13, titles. Google wants a title element on every page, descriptive and concise, without repeated boilerplate. It also says there is no limit on title length; results just truncate it to fit the screen.

Our 10–65 character range is our own threshold for titles that rarely get cut, not a Google rule. It is the check with the most failing sites after the fixes: at first 8 sites had titles that were too long and 1 had none; a day later 6 still had long titles. Product pages and long article names are the usual cause. No site repeated a title across its sampled pages.

Check 10, meta description. Google sometimes uses the meta description for the snippet when it describes the page better, and says identical descriptions on every page do not help. The 50–170 character range is ours too. See meta tags.

Checks 11 and 12, h1 and lang. One h1 per page keeps the semantic HTML clear. One caveat about lang: Google writes that it does "not use any code-level language information such as lang attributes". We keep the check because screen readers and browsers need it. For a site in several languages, see hreflang.

Sharing and AI: Open Graph, JSON-LD, llms.txt

This group fell most: 40 failures in the first run, 8 after the fixes (down 80%).

Check 14, Open Graph. At first, 6 sites lacked only og:image and 6 lacked all three tags. Without og:image you do not choose the preview picture when someone shares your link on social networks or in chat apps. The Open Graph protocol also requires og:type and og:url; our post on the Open Graph image covers sizes and a full tag set. See Open Graph.

Check 15, JSON-LD. Together with llms.txt, this check dropped most: from 15 sites without it to 3. Google recommends JSON-LD for structured data because it gives "explicit clues about the meaning of a page". One Organization or WebSite block on the home page is enough to start. See JSON-LD and Schema.

Check 16, llms.txt. llms.txt is a proposal by Jeremy Howard, published on 3 September 2024: a markdown file at /llms.txt that summarises a site for AI agents. Google says you do not need AI text files to appear in AI Overviews, so this check has no effect on Google's index. It is still worth doing, because it gives AI agents a summary written for them.

All 13 first-run failures had no file at all: the path answered 404, and 12 of them returned an HTML error page with it. A day later only 1 site was missing it. It is also quick to add: a plain text file with a title and a few links. Our llms.txt guide has the details.

Measurement and clean-up

Check 17, analytics tags. The check looks for a GA4 measurement ID of the form G-… and for a second analytics script, in the home page HTML. Neither is needed to get indexed. But if you open the site before the tags are in, you lose the first days of data, which is exactly when you want to know whether Google is sending anyone. See GA4.

Check 18, no leftover test or placeholder text. On 30 November we scanned 143 pages across 26 sites for lorem ipsum, links to localhost, links to staging or dev hosts, example.com links, default CMS text, "coming soon", unfilled template variables, and titles with the word "test".

The scan flagged 10 pages. We read each one, and all 10 were false alarms: code samples in tutorials, a demo shop that says it is a demo, honest "coming soon" notes for unreleased features, and one page titled "Demo" on purpose. Real leftovers: zero. The lesson for your own site is not to trust a keyword filter. Read your first pages with your own eyes before you open.

A safe order for opening

  1. Fix the four blockers first, in this order: sitemap, real 404, noindex, and robots.txt last. Open robots.txt before you remove noindex and Google may crawl in, read the noindex and keep the pages out until its next visit.
  2. Add the Sitemap line to robots.txt and a lastmod to every URL.
  3. Install the analytics tags, then check title, description, canonical and h1 on a few sample pages.
  4. Add Open Graph, JSON-LD and llms.txt.
  5. Run the check again, then submit the sitemap in Search Console.

What this checklist does not tell you

Each site has at most six pages read, so a fault deep in the site may not show. The checker does not run JavaScript, so a tag added by a script counts as missing. The title and description ranges are our choice. And passing all 18 checks only means Google can reach and understand the pages; it does not promise rankings.

Check your own site

A free CiteStat scan checks robots.txt, noindex, the sitemap, canonical, title, Open Graph, JSON-LD and llms.txt on the page you enter, with a wiki page behind each finding. Run it once before launch day and once right after you remove the locks.

FAQ

Is blocking in robots.txt enough to keep a site out of Google?

No. Google says robots.txt is not a mechanism for keeping a page out of its results, and a blocked URL can still be indexed if other sites link to it. To keep a page out, use noindex or a password, and do not block that page in robots.txt.

Should I remove noindex or the robots.txt block first?

Remove noindex first and the robots.txt block second. While robots.txt blocks the site, Google cannot fetch the pages, so it cannot see whether noindex is still there. In our first run, all 11 sites blocked by robots.txt also carried noindex.

Do I need llms.txt to appear in AI Overviews?

No. Google writes that you do not need AI text files or special markup; a page only has to be indexed and eligible for a snippet. llms.txt helps AI agents that read your site, not Google's index.

Is a title longer than 65 characters penalised?

No. Google says there is no limit on title length; it is only truncated to fit the screen. The 65 character mark is our threshold for keeping the important words visible.

CiteStat editors.

Sources: Google: robots.txt introduction, Google: block indexing with noindex, Google: build a sitemap, sitemaps.org protocol, Search Console: Page indexing report, Google: consolidate duplicate URLs, Google: title links, Google: snippets, Google: multi-regional sites, Google: structured data, ogp.me, llmstxt.org, Google: AI features, Google Analytics: measurement ID (all accessed 30 November 2026), and our data file index-readiness-aggregate.json (29–30 November 2026).