# Enhanced Robots.txt - SEO Expert Recommendations 2024 # Based on Google Search Console best practices User-agent: * Allow: / # Block admin and development pages from indexing Disallow: /admin Disallow: /admin/* # Optimized crawling directives Crawl-delay: 1 # Block unnecessary files for better crawl budget Disallow: /src/ Disallow: /*.ts$ Disallow: /*.tsx$ Disallow: /*.json$ Disallow: /vite.config.* Disallow: /tailwind.config.* Disallow: /tsconfig.* Disallow: /.git/ Disallow: /node_modules/ # Allow important assets Allow: /src/assets/ Allow: /*.css Allow: /*.js Allow: /*.webp Allow: /*.jpg Allow: /*.png Allow: /*.svg # Sitemap location - Critical for indexing Sitemap: https://www.romainbailleul.fr/sitemap.xml # Additional sitemaps for better discovery # Future: Add blog sitemap when content scales # Sitemap: https://www.romainbailleul.fr/blog-sitemap.xml # User-agent specific rules User-agent: Googlebot Allow: / User-agent: Bingbot Allow: / # Social media crawlers User-agent: facebookexternalhit Allow: / User-agent: Twitterbot Allow: / User-agent: LinkedInBot Allow: /