Robots.txt is a text file in the site root (yoursite.com/robots.txt) that tells search bots which pages they can crawl. It doesn't block indexing directly — only limits crawling. Needed to stop bots wasting crawl budget on tech pages (cart, account, filters) and hide service sections. Mandatory for any site over 50 pages. Always lives strictly in the domain root.
Robots.txt is a text file in the site root that tells search bots which pages they can crawl. Important: it doesn't block indexing directly — only crawling. To block indexing, use noindex meta tag.
User-agent: * Disallow: /admin/ Disallow: /cart/ Allow: / Sitemap: https://yoursite.com/sitemap.xml
Free SEO audit within 24 hours — we'll identify your growth bottlenecks and give a concrete action plan.
We use cookies for analytics (Google Analytics, Yandex Metrika) and to improve your experience. You can accept or decline analytics cookies. Necessary cookies are always active. Privacy Policy.