User-agent: * # Private pages - never crawl Disallow: /dashboard Disallow: /admin/ Disallow: /saved Disallow: /auth/ Disallow: /api/ # Auth and form pages (/login, /register, /claim/, /claim-status, /report, # /schools/*/reviews/new) are NOT blocked: they send noindex (meta + X-Robots-Tag), # which Google can only see if it may crawl them. /_next/ assets are crawlable # so pages render; /_next/static/ responses carry X-Robots-Tag: noindex. # Listing filters/sorts are blocked; pure ?page=N pagination is crawlable. # Google applies the longest matching rule (Allow wins a tie): ?page=N (16) # beats /schools/*? (11), and any ¶m after it (18) is blocked again. Disallow: /schools?* Disallow: /schools/*? Allow: /schools/*?page= Disallow: /schools/*?page=*& # Same for the fee pages: only ?page=N is crawlable. Disallow: /best-schools-under-*? Allow: /best-schools-under-*?page= Disallow: /best-schools-under-*?page=*& Disallow: /cgi-sys/ # Allow everything else Allow: /schools/ Allow: /blog/ Allow: /compare Allow: /for-schools Allow: /about Allow: / Sitemap: https://bestschool.pk/sitemap.xml