# Sitemap # NOTE: this MUST use the "Sitemap:" directive. A bare URL on its own line is treated as # an unrecognised line and silently ignored by every crawler, which is what was happening # here - the sitemap was published but never actually declared to Google. Sitemap: https://alhasswalawfirm.com/sitemap.xml # Allow all crawlers User-agent: * Allow: / # Disallow admin pages Disallow: /admin/ Disallow: /crm/ Disallow: /admin-login/ # Disallow private client portal (requires login, no SEO value) Disallow: /client/ # Disallow private API endpoints Disallow: /api/ # Transactional payment return page - per-visitor state, no SEO value Disallow: /payment-result # Allow specific important pages Allow: / Allow: /about Allow: /practice-areas Allow: /services Allow: /services/* Allow: /articles Allow: /articles/* Allow: /law-library Allow: /law-library/* Allow: /contact Allow: /lawyer-nasr-city Allow: /book-consultation Allow: /consultations Allow: /privacy Allow: /terms Allow: /refund # --------------------------------------------------------------------------- # AI search & citation crawlers - MUST remain allowed. # # These are the CITATION crawlers: they fetch a page so an assistant can quote and link # it in an answer. Blocking one removes the firm from that assistant's answers outright. # They are distinct from the TRAINING crawlers (GPTBot, ClaudeBot, meta-externalagent), # which only collect corpus data - blocking those costs no visibility. Do not conflate # the two. # # IMPORTANT robots.txt semantics: a crawler that finds a group naming itself obeys ONLY # that group and ignores "User-agent: *" entirely. That is why the private-area rules are # repeated here rather than inherited - without them these crawlers would be invited into # /admin/ and /api/. Any Disallow added to the * group above must be mirrored below. # --------------------------------------------------------------------------- User-agent: OAI-SearchBot User-agent: Claude-SearchBot User-agent: PerplexityBot User-agent: Google-Extended User-agent: Bingbot User-agent: CCBot Allow: / Disallow: /admin/ Disallow: /crm/ Disallow: /admin-login/ Disallow: /client/ Disallow: /api/ Disallow: /payment-result # Crawl-delay Crawl-delay: 1