Robots.txt Templates
10 pre-built templates for common website types
WordPress
Standard robots.txt for WordPress sites. Blocks admin areas and system files.
# WordPress Robots.txt User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/plugins/ Disallow: /wp-content/cache/ Disallow: /wp-content/themes/ Disallow...
E-commerce
Perfect for online stores. Blocks checkout, cart, and user account pages.
# E-commerce Robots.txt User-agent: * Disallow: /checkout/ Disallow: /cart/ Disallow: /my-account/ Disallow: /order-tracking/ Disallow: /wishlist/ Disallow: /compare/ Disallow: /ad...
Blog / Content
For blogs and content-focused sites. Allows full crawling of content.
# Blog / Content Site Robots.txt User-agent: * Disallow: /admin/ Disallow: /login/ Disallow: /search/ Disallow: /author/*/page/ Disallow: /*?s= Allow: / Sitemap: https://example.c...
Portfolio
For portfolio and agency websites. Maximum visibility for your work.
# Portfolio / Agency Robots.txt User-agent: * Allow: / Sitemap: https://example.com/sitemap.xml...
Strict Mode
Only allows Google and Bing. Blocks all other bots for maximum control.
# Strict - Block Most Bots User-agent: * Disallow: / User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / Sitemap: https://example.com/sitemap.xml...
SaaS Platform
For SaaS applications. Blocks user dashboards and API endpoints.
# SaaS Platform Robots.txt User-agent: * Disallow: /app/ Disallow: /dashboard/ Disallow: /api/ Disallow: /login/ Disallow: /signup/ Disallow: /account/ Disallow: /settings/ Allow: ...
Next.js
Optimized for Next.js applications with SSR, API routes, and static assets.
# Next.js Robots.txt User-agent: * Disallow: /api/ Disallow: /_next/webpack-hmr Disallow: /*.json$ Allow: /api/og/* Allow: /_next/static/ Allow: /_next/image/ Sitemap: https://exa...
Laravel
For Laravel PHP applications. Blocks admin routes, storage, and vendor files.
# Laravel Robots.txt User-agent: * Disallow: /admin/ Disallow: /storage/ Disallow: /vendor/ Disallow: /config/ Disallow: /database/ Disallow: /resources/ Disallow: /*.blade.php$ Di...
Django
Python Django framework template. Blocks admin panel, media uploads, and static files.
# Django Robots.txt User-agent: * Disallow: /admin/ Disallow: /accounts/ Disallow: /api/ Disallow: /__debug__/ Disallow: /static/admin/ Allow: /static/ Allow: /media/ Sitemap: htt...
Ruby on Rails
Ruby on Rails application template. Blocks admin routes, assets compilation, and user accounts.
# Ruby on Rails Robots.txt User-agent: * Disallow: /admin/ Disallow: /users/ Disallow: /api/ Disallow: /rails/ Disallow: /cable/ Allow: /assets/ Allow: /packs/ Sitemap: https://ex...
