SEO technique
robots.txt
Pourquoi c’est important
robots.txt controls which parts of a site crawlers may visit. A wrong Disallow rule can block important pages from Google; a missing file is fine but wastes the chance to list your sitemap.
Comment corriger
- Make sure no Disallow rule blocks pages that should rank.
- Add a “Sitemap:” line pointing to your XML sitemap.
- Test changes before publishing them.
Vérifier avec
- Robots.txt Tester – Fetch and validate robots.txt, and test whether any URL is blocked for Googlebot or AI bots.
- Robots.txt Generator – Build a robots.txt file with sitemap, blocked folders and AI crawler controls.
Score : un contrôle réussi obtient tout son poids, un avertissement la moitié et une erreur rien. Fonctionnement du score SEO