# robots.txt — cheapestrateinsurance.com
#
# Served from `public/`, which Vite copies to `dist/client/`, so this is a
# static file at the origin root and not a route.
#
# ---------------------------------------------------------------------------
# Why nothing is disallowed
# ---------------------------------------------------------------------------
#
# The paid-traffic landers (`/new-vehicle`, `/renewal-rate`, `/renewal-rate-v2`)
# and the form step (`/form`) are meant to stay out of search results. That is
# handled entirely by `` on those pages
# (see `src/lib/seo.ts`), NOT by a `Disallow` here, because the two directives
# do different jobs and using the wrong one silently fails:
#
# * `Disallow` blocks the fetch. A blocked page is never downloaded, so its
# `noindex` is never read. Google can still list the bare URL — no title, no
# snippet — purely on the strength of links pointing at it. Blocking is
# therefore the one reliable way to get a page listed that you cannot then
# remove, because the removal instruction is behind the block.
# * `noindex` requires the fetch. The crawler has to load the page to obey it.
#
# So: allow the crawl, refuse the index. Do not add a `Disallow` for the landers
# without first removing their `noindex` — the combination is strictly worse
# than either alone.
#
# ---------------------------------------------------------------------------
# Search engines
# ---------------------------------------------------------------------------
User-agent: *
Allow: /
# ---------------------------------------------------------------------------
# Ad-platform crawlers
# ---------------------------------------------------------------------------
#
# These check landing page quality and policy compliance, and a destination they
# cannot fetch can get an ad disapproved or an account flagged. They must reach
# the landers.
#
# The Google groups below are NOT redundant with `User-agent: *`. AdsBot-Google
# and AdsBot-Google-Mobile ignore the wildcard group by design and only obey a
# group that names them, precisely so a broad site-wide rule cannot accidentally
# break advertising. Naming them here makes the intent explicit and survives
# anyone later tightening the wildcard group above.
#
# `noindex` on the landers does not affect any of these: it is an *indexing*
# directive aimed at search results, and none of these bots build a search
# index. They fetch and evaluate, which is exactly what we want them to do.
User-agent: AdsBot-Google
Allow: /
User-agent: AdsBot-Google-Mobile
Allow: /
User-agent: AdsBot-Google-Mobile-Apps
Allow: /
# Microsoft Advertising's landing-page crawler.
User-agent: adidxbot
Allow: /
# Link-preview and ad-review scrapers for paid social. They render the Open
# Graph tags from `src/lib/seo.ts`.
User-agent: facebookexternalhit
Allow: /
User-agent: Twitterbot
Allow: /
# ---------------------------------------------------------------------------
# Sitemap
# ---------------------------------------------------------------------------
#
# Generated at build time from `src/lib/site-pages.ts`, so it lists exactly the
# pages that are not `noindex` — the landers and `/form` are absent by
# construction. A sitemap asserts that a URL *should* be indexed, so listing a
# `noindex` page states both at once and Search Console reports it as an error.
#
# This URL is absolute because a `Sitemap:` directive has to be, unlike every
# path above. If this site is redeployed on another domain, update it (and set
# `VITE_SITE_URL`, which is what the generated `` values are built from).
Sitemap: https://cheapestrateinsurance.com/sitemap.xml