Getting started

Search engine indexing: when to turn it on, and how

New sites default to closed to search engines — turn it on once you're ready; exactly what the switch changes in robots.txt and the sitemap, and how to keep a single page out of the index

On this page

This switch controls whether search engines like Google and Baidu can crawl your site and include your pages in search results. New sites default to this being off — turn it on yourself once your content is ready.

Where to find it

Admin → Settings → Site info → "Search engine indexing." Next to the title it shows "Open" or "Not available," and the button next to it reads "Allow indexing" or "Stop indexing."

Only a site's super admin can see this page.

Why new sites default to off

A newly opened site still has the template's sample content in it. If it gets indexed now, that sample content can linger in search results long after you've replaced it with your own — search engines take time to update, and someone's first impression of you only happens once.

So it's off when the site opens, and you turn it on yourself once things are in place.

When you can turn it on

Turn it on once all of these are true:

  • The homepage, About, and Contact pages are all your own content, with no leftover sample text
  • Product / course names, prices, and descriptions are all real
  • You have at least one or two articles you wrote yourself
  • Your brand name and logo have both been swapped in

Not sure? Ask AI: "Is my site ready for search engine indexing?" It calls get_site_health, and the site health check will tell you:

  • If you have enough pages and articles, but template sample content is still sitting there untouched, it'll tell you to swap or remove the samples first — not recommended to turn on yet;
  • If you have enough pages and articles, and the samples have all been replaced, it'll tell you "your site looks ready, but isn't open to search engines yet" — at that point you can turn it on.

How to turn it on

Admin → Settings → Site info → "Search engine indexing," click "Allow indexing." Once the label next to the title reads "Open," you're done.

Or just tell your AI "turn on search engine indexing" — it calls set_seo_indexing with on set to true. To check the current state first, it calls get_seo_indexing.

What happens once it's on

  • Your site's robots.txt switches to allowing crawling, blocking only the admin, account pages, API endpoints, checkout, and payment pages that shouldn't be indexed — the last line points to the sitemap address.
  • sitemap.xml starts listing pages: the homepage, products, About, blog, Contact, courses (the fixed pages), legal pages, your published blog posts, and your published custom pages.
  • Indexing doesn't happen right away — it usually takes a few days to a few weeks.

To speed it up, you can submit https://your-domain/sitemap.xml to Google Search Console and Baidu's webmaster platform.

While it's off, what exactly is blocked

  • robots.txt contains Disallow: /, with a line explaining: this site isn't open to search engines yet, and can be turned on anytime under "Site info → Search engine indexing" in the admin. Legitimate search engines stop crawling as soon as they see this line.
  • sitemap.xml returns an empty list — no pages are handed to search engines at all.

Two things worth being clear about:

  • This is not access control. Anyone with the link can still open your site; it only keeps search engines from crawling it.
  • It blocks "crawling" — individual pages don't get a "don't index this" marker of their own. If you want one specific page to definitely not be indexed, see the next section.

Keeping one specific page out of the index

For example, a thank-you page, internal materials, or a page only for existing customers.

Right now, only AI can do this: tell it "set this page to not be indexed by search engines," and it calls upsert_page with noindex set to true. This:

  • Adds a noindex marker to that page's HTML, so search engines won't index it even if they crawl it;
  • Keeps that page out of sitemap.xml;
  • Doesn't affect any other page on the site.

Turning it off

Click "Stop indexing" in the same place, or have AI call set_seo_indexing with on set to false. Once it's off, robots.txt goes back to disallowing all crawling (this file is cached for up to 5 minutes).

Allowing AI search to cite my content

Under "Search engine indexing" there's another switch: "Let AI search tools quote my content."

  • What it controls: whether AI search engines / AI assistants like ChatGPT, Claude, and Perplexity can crawl your site and cite your content — with a link — in their answers.
  • When you can change it: the row is always shown, but its button ("Block AI" / "Allow AI") only appears while "Search engine indexing" is on. While indexing is off, AI crawlers are blocked too, no exceptions.
  • Default: once indexing is open, this defaults to allowed.
  • What turning it off does: robots.txt adds separate disallow rules for AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, etc.), and /llms.txt (the site description written for AI) stops being served. Regular search engines like Google and Baidu keep indexing you as usual — unaffected.
  • Worth knowing: like the indexing switch itself, this is just "please don't crawl me" — well-behaved AI crawlers honor it, but it won't erase content an AI has already read and remembered.
  • You can also just tell your AI "don't let AI search engines read my site": it calls set_seo_indexing with aiCrawlers set to false. Pass true to allow it again.

Watch out for / FAQ

  • Q: It's been a week and I still can't find my site in search results?A: That's normal — indexing takes a few days to a few weeks. First confirm the label next to the button reads "Open," then open https://your-domain/robots.txt and check it allows crawling.
  • Q: I haven't turned it on — why can other people still open my site?A: This switch only controls search engines, not people. To keep visitors out while you're setting things up, that's a different feature — "Site under construction / Coming-soon mode" (visitors see only a coming-soon page and need a password to get in) — unrelated to this switch.
  • Q: What should I write for the page title and description?A: See "SEO: what to write for the title and description." To check how well each page is written, have AI call check_seo.

Related articles

  • "SEO: what to write for the title and description" (seo-title-desc)
  • "Site analytics: A/B reports, SEO scores, page heatmaps" (site-analytics)
  • "Where your site's content comes from: templates, AI, or writing it yourself" (where-content-comes-from)
  • "Do these things first after opening your site" (quick-start)
Last updated: October 7, 2026
Still stuck? Just ask

Write your question — we look in the docs first, and hand it to AI support if the answer is not there.

If you have connected an AI, you can ask it directly — it reads these same docs, and it can make the change for you.Or email us at support@dlxai.ai.
We use essential cookies; "Accept" also records device traits to prevent abuse. Cookie Policy