# Willnq — crawl policy for the public surface. # # WHAT IS PUBLIC: the landing page (/), the job board (/jobs), employer discovery (/companies) and # the legal documents (/legal). Everything else in this app is behind an auth gate and answers with # the SPA shell, so a crawler that follows one gets a contentless 200 rather than a page — that is # what the Disallow rules below prevent, not a leak. Nothing here is a security control: the server # authorizes every read regardless of what this file says. # # The workspace mounts (/candidate/jobs, /candidate/companies) render the SAME pages as the public # ones. They are disallowed here AND carry plus a canonical # pointing at the public address, because a duplicate that is merely uncrawled can still be indexed # if something links to it. # # Served by nginx straight off the SPA image (`try_files $uri`), so it needs no API route. User-agent: * # The landing page (ADR-0035). ANCHORED with `$` so it means the root exactly and nothing beneath it: # a bare `Allow: /` would read as "allow the whole site" and sit in plain contradiction with the # Disallow block below. Strictly this line changes no crawler's behaviour — no rule here disallows the # root, and none ever should — but this file is the crawl policy's documentation as much as its # implementation, and the site's most important page should not have to be inferred from silence. Allow: /$ Allow: /jobs Allow: /companies Allow: /legal # Authenticated workspaces — candidate, company/recruiter, vendor and the admin console. Disallow: /candidate/ Disallow: /company/ Disallow: /recruiter/ Disallow: /vendor/ Disallow: /admin/ Disallow: /account/ # Identity and onboarding journeys. Nothing here is indexable content, and several are one-time # token landing pages that must never be shared through a search result. Disallow: /login Disallow: /register Disallow: /register-company Disallow: /verify-email Disallow: /forgot-password Disallow: /reset-password Disallow: /mfa Disallow: /forgot-mfa Disallow: /invitations/ Disallow: /welcome Disallow: /workspaces # Standing status pages — real routes, but never a search result anyone wants. Disallow: /session-expired Disallow: /unauthorized Disallow: /403 Disallow: /404 # Substituted from VITE_PUBLIC_SITE_URL at image build time (Dockerfile.web), the same way the CSP # resolves its gateway origin — a sitemap reference must be an absolute URL, and hardcoding one here # would point every environment at production. Left as the literal placeholder in a `npm run dev` # tree, where no crawler reads it. Sitemap: https://willnq.com/sitemap.xml