Use it for crawl guidance
Robots.txt can ask compliant bots not to crawl an area. It does not secure a URL—anyone who knows the address may still be able to visit it.
ROBOTS.TXT GENERATOR
Use robots.txt to guide compliant crawlers. It is public, so it should not be used to protect sensitive files or private information.
The file is generated locally in your browser.
Robots.txt can ask compliant bots not to crawl an area. It does not secure a URL—anyone who knows the address may still be able to visit it.
Do not accidentally block the pages, images, stylesheets or scripts that visitors and search engines need to understand the public website.
Add the public sitemap.xml address to help crawlers find the page list you want them to consider.
HOW ROBOTS.TXT WORKS
Robots.txt lives at the root of a website, for example https://www.example.co.za/robots.txt. Search crawlers commonly read it before moving through a site and use its directives as crawl guidance.
Keep the file deliberate and easy to review. Combine it with sensible access control, canonical URLs, an XML sitemap and noindex directives where needed—not as a replacement for those controls.
SEARCH DIGITAL4FRONT
Type at least 3 characters to search.
Open the full search pageDIGITAL4FRONT UPDATES
Choose the subjects that matter to you. We will send occasional practical updates—never a flood of mail.