Create a correct robots.txt for your website in seconds — control what search engines may crawl, block private folders, and point to your sitemap.
The robots.txt file is the first thing search-engine crawlers read when they visit your site. It is a set of polite instructions: which folders may be crawled and which are off-limits, plus a pointer to your sitemap so every important page is found. Admin areas, staging folders and duplicate print pages are typical things to block.
Two cautions: robots.txt is not a lock — it asks crawlers to stay out, and honest ones obey, but it cannot hide a page from someone determined to see it (never put secrets in a “blocked” folder). And blocking a page stops crawling, which is different from removing it from Google; for that you need a noindex tag instead. Pair this file with good meta tags for a search-ready site.
At the very root of your domain: https://yoursite.com/robots.txt. It must be a plain text file named exactly “robots.txt”.
Yes — blocking /admin/ or /wp-admin/ keeps crawlers out of login and management areas and saves your crawl budget for real content.
Crawlers assume everything is allowed. That is fine for many small sites, but adding the file with your sitemap line helps search engines find pages faster.