We create digital solutions that work for businesses
SEO and marketing
You may also like
A ready robots.txt with presets for your CMS.
Upload the file to your site root: example.com/robots.txt
A file in the site root telling crawlers where they may go. It is guidance, not a server-level lock.
robots.txt is a plain text file in your site root that a search crawler reads first. It tells the bot which sections it may crawl and which to skip. The file is made of blocks: User-agent defines which crawler the rule applies to, followed by Disallow and Allow.
The first and costliest is forgetting to remove Disallow: / after moving from a staging domain. The site disappears from search within weeks. The second is blocking pages you actually want removed from the index: the crawler stops visiting them, but URLs already indexed stay in the results. Removal requires a noindex meta tag, and the page must remain crawlable for the bot to see it. The third is blocking CSS and JS: Google cannot render the page and rates the mobile version worse.
There is no point crawling cart, checkout and account pages. Filters and sorting deserve special attention: URLs like /*?sort= create thousands of near-identical pages and drain crawl budget. Block them — and turn genuinely useful filter combinations into standalone landing pages with their own copy instead.
Once uploaded, check the file in Google Search Console under Settings → robots.txt. Google will show when it was last read and whether it contains errors.