# Block all bots by default (including scrapers and AI training crawlers). # Exception: ads.txt and robots.txt are public-discovery files per the IAB # Tech Lab spec; any crawler (Google's ads.txt fetcher, future ad networks, # verification services, etc.) must be able to fetch them regardless of # user-agent. The Allow rules below are more specific than the broad # Disallow, so they win path-matching. User-agent: * Disallow: / Allow: /ads.txt Allow: /robots.txt # Allow major search engines User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / User-agent: DuckDuckBot Allow: / User-agent: YandexBot Allow: / # Google AdSense crawler — needs full access to evaluate page content for # ad relevance. Without this, AdSense review fails or serves low-quality # (Public Service) ads. See https://support.google.com/adsense/answer/2381908 User-agent: Mediapartners-Google Allow: / # Google Ads landing-page quality crawler — checked when running Google Ads # campaigns. Harmless to allow even if we never run campaigns; matches the # pattern Google's docs recommend for AdSense publishers. User-agent: AdsBot-Google Allow: / # Search Console's URL Inspection / Rich Results live tests. This token does # NOT fall back to the Googlebot group — without an explicit allow it matches # the default "*" Disallow and every "Test live URL" comes back # "blocked by robots.txt", which makes verifying deploy/SEO fixes impossible. User-agent: Google-InspectionTool Allow: / # Sitemap — lists the static pages plus every prerendered public build # page (/gallery/:shareToken). Generated at build time by # scripts/generate-sitemap.mjs. Sitemap: https://mortalcodex.com/sitemap.xml