# robots.txt for dsaprep.dev # Last updated: February 09, 2026 # Purpose: Allow full crawling for search engines, block unwanted AI scrapers for training User-agent: * Allow: / Disallow: /login Disallow: /signup Disallow: /account Disallow: /profile Disallow: /admin Disallow: /api/private Disallow: /*?*sort=* Disallow: /*?*filter=* Disallow: /blog/*?preview=* Disallow: /*.pdf$ Disallow: /*.zip$ Disallow: /cdn-cgi/ Disallow: /server-status Disallow: /test/ Sitemap: https://www.dsaprep.dev/sitemap.xml # Training-only bots stay blocked. AI *search* crawlers (OAI-SearchBot, # ChatGPT-User, PerplexityBot, Claude-User/Claude-SearchBot) are allowed so # DSA Prep can be cited in AI search answers — a growing discovery channel. # The blog (/blog) is off limits to every AI crawler. "Disallow: /blog" is # both longer and listed first, so it wins under longest-match (RFC 9309, # Google, OpenAI) and under parsers that take the first matching rule. User-agent: GPTBot Disallow: / User-agent: ChatGPT-User Disallow: /blog Allow: / User-agent: ClaudeBot Disallow: / User-agent: Anthropic-Web-Crawler Disallow: / User-agent: PerplexityBot Disallow: /blog Allow: / User-agent: anthropic-ai Disallow: / User-agent: cohere-ai Disallow: / User-agent: Bytespider Disallow: / User-agent: Amazonbot Disallow: / User-agent: Applebot-Extended Disallow: / User-agent: OAI-SearchBot Disallow: /blog Allow: / User-agent: Claude-User Disallow: /blog Allow: / User-agent: Claude-SearchBot Disallow: /blog Allow: / # Allow helpful / research bots that respect robots.txt + llms.txt User-agent: Google-Extended Disallow: /blog Allow: / User-agent: GoogleOther Disallow: /blog Allow: / # Other AI crawlers and AI dataset builders: the site is open, the blog is not. # (A named group replaces the * group for these bots, so the private paths # from the * group are repeated here.) User-agent: CCBot User-agent: Meta-ExternalAgent User-agent: Meta-ExternalFetcher User-agent: FacebookBot User-agent: Perplexity-User User-agent: Claude-Web User-agent: GoogleOther-Image User-agent: GoogleOther-Video User-agent: Google-CloudVertexBot User-agent: cohere-training-data-crawler User-agent: MistralAI-User User-agent: DuckAssistBot User-agent: YouBot User-agent: AI2Bot User-agent: Ai2Bot-Dolma User-agent: PanguBot User-agent: Diffbot User-agent: ImagesiftBot User-agent: Omgilibot User-agent: Omgili User-agent: Timpibot User-agent: Webzio-Extended User-agent: img2dataset Disallow: /blog Allow: / Disallow: /login Disallow: /signup Disallow: /account Disallow: /profile Disallow: /admin # Explicitly allow major search engines (redundant but sometimes helps) User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / User-agent: DuckDuckBot Allow: / User-agent: YandexBot Allow: /