# CSS-Tricks robots.txt # Last updated: January 2026 # Allow all search engines and AI crawlers to access content User-agent: * Allow: / # Allow specific AI crawlers explicitly User-agent: GPTBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: CCBot Allow: / User-agent: anthropic-ai Allow: / User-agent: ClaudeBot Allow: / User-agent: Google-Extended Allow: / User-agent: PerplexityBot Allow: / User-agent: Bytespider Allow: / # Block common problem crawlers (spam, scrapers) User-agent: SemrushBot Disallow: / User-agent: AhrefsBot Disallow: / User-agent: DotBot Disallow: / # Disallow admin and private areas User-agent: * Disallow: /wp-admin/ Disallow: /wp-login.php Disallow: /cgi-bin/ Disallow: /search? Disallow: /*?s= Disallow: /cart/ Disallow: /checkout/ # Allow WordPress uploads (images, media) Allow: /wp-content/uploads/ # Prevent indexing of duplicate content Disallow: /*?replytocom= Disallow: /tag/*/page/ Disallow: /category/*/page/ # Crawl delay for aggressive bots User-agent: * Crawl-delay: 1 # Sitemap location Sitemap: https://css-tricks.com/sitemap.xml Sitemap: https://css-tricks.com/post-sitemap.xml Sitemap: https://css-tricks.com/page-sitemap.xml