Locating and Creating robots.txt in Scout Control Panel
What is robots.txt?
robots.txt is a plain text file that tells search engine crawlers (like Google, Bing, and others) which pages or sections of your website they are allowed to visit. It sits in the root of your website and is one of the first files a crawler looks for when indexing your site.
Having a properly configured robots.txt helps you control how search engines interact with your content, prevent indexing of private or duplicate pages, and manage crawl budget on larger sites.
Where to Find robots.txt in Scout
In Scout Control Panel, your website’s root directory is located at:
/home/[username]/site/public_html/
To access it:
- Log in to Scout Control Panel
- Select the site you want to manage
- Open File Manager from the Files dashboard
- Click on the Site Folder and navigate to the
public_htmlfolder
If robots.txt exists, you’ll see it listed here. If it doesn’t appear, it hasn’t been created yet and you’ll need to create it manually (see below).

Creating robots.txt
Scout does not generate a robots.txt file automatically. If one doesn’t exist, you’ll need to create it yourself:
- In File Manager, navigate to
public_html - Click New File
- Name the file exactly
robots.txt(all lowercase, no spaces) - Add your desired rules (see examples below)
- Save the file
The file must be placed directly in public_html, not inside a subfolder. Crawlers will only look for it at https://yourdomain.com/robots.txt.
Basic Examples
Allow all crawlers to access everything (default behaviour if no file exists):
User-agent: * Allow: /
Block all crawlers from your entire site:
User-agent: * Disallow: /
Block a specific folder (e.g. an admin area or staging content):
User-agent: * Disallow: /admin/ Disallow: /staging/
Block a specific crawler (e.g. a known AI scraper):
User-agent: GPTBot Disallow: /
Point crawlers to your sitemap:
User-agent: * Allow: / Sitemap: https://yourdomain.com/sitemap.xml
Common Use Cases
- Blocking AI scrapers from training on your content (e.g. GPTBot, CCBot)
- Hiding admin or login pages from search results
- Preventing duplicate content issues by blocking crawlers from parameter-heavy URLs
- Prioritising crawling by pointing crawlers toward your sitemap
- Protecting staging or development content from being indexed prematurely
Important Notes
- robots.txt is a request, not a security measure. Well-behaved crawlers will respect it, but malicious bots may ignore it entirely. Do not rely on it to protect sensitive data.
- Changes take effect immediately, but search engines may take time to re-crawl your site.
- If you’re using WordPress, some SEO plugins (like Yoast or Rank Math) generate a virtual robots.txt. If you place a physical file in
public_html, it will override the plugin’s version.