Skip to content

Get site into the Google search index #8

Description

@deepflame

Status of the code-side setup (already done)

  • public/robots.txt allows all crawlers and references the sitemap.
  • @astrojs/sitemap is enabled in astro.config.ts; https://frontrunner.io/sitemap-index.xml lists all 6 pages (/, /about, /contact, /imprint, /privacy, /terms).
  • Google Search Console verification meta tag (orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M) is wired into every page's <head> via src/components/common/SiteVerification.astrosrc/layouts/Layout.astro.
  • Default metadata is index: true, follow: true (src/config.yaml); the live homepage serves <meta name="robots" content="index,follow">.

Open issue: apex vs. www domain mismatch (resolved)

frontrunner.io (apex) currently 307-redirects to www.frontrunner.io, but the code declares the apex as canonical

Resolved: www.frontrunner.io now redirects to frontrunner.io. Sitemap, canonicals, and redirects all agree on the apex domain.

  • Option A — make apex canonical (matches current code). In the Vercel domain settings, flip the redirect so www.frontrunner.iofrontrunner.io. No code changes needed.
  • Option B — make www canonical.

Manual steps in Google Search Console

  • Open https://search.google.com/search-console and add the property for the chosen domain. Prefer a Domain property (DNS verification) — it covers apex + www + all subdomains and avoids the whole apex/www split.
  • If a URL-prefix property is used instead, meta-tag verification will already pass because the token is live.
  • Sitemaps → submit sitemap-index.xml.
  • URL Inspection → paste the homepage URL → "Request indexing". Repeat for /about and /contact to nudge Google instead of waiting for organic discovery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions