{"id":1338,"date":"2026-08-20T07:56:18","date_gmt":"2026-08-20T07:56:18","guid":{"rendered":"https:\/\/www.freethought.uk\/help\/locating-and-creating-robots-txt-in-scout-control-panel\/"},"modified":"2026-08-20T07:56:18","modified_gmt":"2026-08-20T07:56:18","slug":"locating-and-creating-robots-txt-in-scout-control-panel","status":"publish","type":"post","link":"https:\/\/www.freethought.uk\/help\/locating-and-creating-robots-txt-in-scout-control-panel\/","title":{"rendered":"Locating and Creating robots.txt in Scout Control Panel"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"what-is-robots-txt\">What is robots.txt?<\/h2>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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.<a><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"where-to-find-robots-txt-in-scout\">Where to Find robots.txt in Scout<\/h2>\n\n\n\n<p>In Scout Control Panel, your website&#8217;s root directory is located at:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/home\/[username]\/site\/public_html\/<\/pre>\n\n\n\n<p>To access it:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to Scout Control Panel<\/li>\n\n\n\n<li>Select the site you want to manage<\/li>\n\n\n\n<li>Open <strong>File Manager<\/strong> from the Files dashboard<\/li>\n\n\n\n<li>Click on the Site Folder and navigate to the <code>public_html<\/code> folder <\/li>\n<\/ol>\n\n\n\n<p>If robots.txt exists, you&#8217;ll see it listed here. If it doesn&#8217;t appear, it hasn&#8217;t been created yet and you&#8217;ll need to create it manually (see below).<a><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"64\" src=\"https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-1024x64.png\" alt=\"\" class=\"wp-image-1339\" srcset=\"https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-1024x64.png 1024w, https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-300x19.png 300w, https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-768x48.png 768w, https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-1536x96.png 1536w, https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3-770x48.png 770w, https:\/\/kb.freethought.uk\/wp-content\/uploads\/sites\/6\/2026\/08\/image-3.png 1865w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-robots-txt\">Creating robots.txt<\/h2>\n\n\n\n<p>Scout does not generate a robots.txt file automatically. If one doesn&#8217;t exist, you&#8217;ll need to create it yourself:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In File Manager, navigate to <code>public_html<\/code><\/li>\n\n\n\n<li>Click <strong>New File<\/strong><\/li>\n\n\n\n<li>Name the file exactly <code>robots.txt<\/code> (all lowercase, no spaces)<\/li>\n\n\n\n<li>Add your desired rules (see examples below)<\/li>\n\n\n\n<li>Save the file<\/li>\n<\/ol>\n\n\n\n<p>The file must be placed directly in <code>public_html<\/code>, not inside a subfolder. Crawlers will only look for it at <code>https:\/\/yourdomain.com\/robots.txt<\/code>.<a><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"basic-examples\">Basic Examples<\/h2>\n\n\n\n<p><strong>Allow all crawlers to access everything (default behaviour if no file exists):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">User-agent: *\nAllow: \/<\/pre>\n\n\n\n<p><strong>Block all crawlers from your entire site:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">User-agent: *\nDisallow: \/<\/pre>\n\n\n\n<p><strong>Block a specific folder (e.g. an admin area or staging content):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">User-agent: *\nDisallow: \/admin\/\nDisallow: \/staging\/<\/pre>\n\n\n\n<p><strong>Block a specific crawler (e.g. a known AI scraper):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">User-agent: GPTBot\nDisallow: \/<\/pre>\n\n\n\n<p><strong>Point crawlers to your sitemap:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">User-agent: *\nAllow: \/\n\nSitemap: https:\/\/yourdomain.com\/sitemap.xml<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"common-use-cases\">Common Use Cases<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Blocking AI scrapers<\/strong> from training on your content (e.g. GPTBot, CCBot)<\/li>\n\n\n\n<li><strong>Hiding admin or login pages<\/strong> from search results<\/li>\n\n\n\n<li><strong>Preventing duplicate content issues<\/strong> by blocking crawlers from parameter-heavy URLs<\/li>\n\n\n\n<li><strong>Prioritising crawling<\/strong> by pointing crawlers toward your sitemap<\/li>\n\n\n\n<li><strong>Protecting staging or development content<\/strong> from being indexed prematurely<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"important-notes\">Important Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>robots.txt is a <strong>request<\/strong>, 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.<\/li>\n\n\n\n<li>Changes take effect immediately, but search engines may take time to re-crawl your site.<\/li>\n\n\n\n<li>If you&#8217;re using WordPress, some SEO plugins (like Yoast or Rank Math) generate a virtual robots.txt. If you place a physical file in <code>public_html<\/code>, it will override the plugin&#8217;s version.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,23,26],"tags":[],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-our-control-panel","category-faq","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/comments?post=1338"}],"version-history":[{"count":1,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1340,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/posts\/1338\/revisions\/1340"}],"wp:attachment":[{"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/media?parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/categories?post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freethought.uk\/help\/wp-json\/wp\/v2\/tags?post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}