{
    "title": "robots.txt cannot be read by bots",
    "description": "/robots.txt refuses bots or gives an unusual status, so crawlers cannot read your rules and may treat the site as having none.",
    "url": "https://ursy.com/issues/robots-txt-refused/",
    "canonical": "https://ursy.com/issues/robots-txt-refused/",
    "markdown": "https://ursy.com/issues/robots-txt-refused/index.md",
    "json": "https://ursy.com/issues/robots-txt-refused/index.json",
    "published": "2026-11-29T21:57:23+00:00",
    "updated": "2026-11-30T12:53:03+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/robots-txt-refused/",
    "start_here": {
        "page": "https://ursy.com/issues/robots-txt-refused/",
        "markdown": "https://ursy.com/issues/robots-txt-refused/index.md",
        "json": "https://ursy.com/issues/robots-txt-refused/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "robots-txt-refused",
        "problem": "robots.txt cannot be read by bots",
        "summary": "/robots.txt refuses bots or gives an unusual status, so crawlers cannot read your rules and may treat the site as having none.",
        "status": "Live",
        "priority": "medium",
        "category": "robots",
        "category_title": "robots.txt",
        "why_it_matters": [
            "robots.txt is public by design: it is the one file every bot must be able to read. Google documents that a 4xx answer, including 401 and 403, counts as if there were no robots.txt, so it may crawl every page. Other bots may do the same, or stop.",
            "That means rules you wrote, such as an AI training opt-out or a block on filter pages, are not read by bots that get the same refusal. Tools that check your site cannot read them either."
        ],
        "how_to_fix": [
            "Let every visitor read /robots.txt. Look for a firewall rule, a bot shield, a log-in or a security plugin that protects the root of the site, and add an exception for this one file. It should answer 200 with your rules, or 404 if you have none.",
            "Check it with the Robots.txt Checker, and look at the robots.txt report in Google Search Console to see what Google received."
        ],
        "steps": [
            "Open /robots.txt in a private browser window and note the status.",
            "Find the rule or plugin that refuses it.",
            "Add an exception so the file is open to everyone."
        ],
        "check_it_is_fixed": "Run the URSY.com Robots.txt Checker (/robots-txt-checker/) again. It should get 200 and show your rules; the robots.txt report in Google Search Console should show the same.",
        "found_by": [
            {
                "tool": "robots-txt-checker",
                "name": "Robots.txt Checker",
                "status": "Live",
                "page": "https://ursy.com/robots-txt-checker/",
                "card": "https://ursy.com/robots-txt-checker.json"
            },
            {
                "tool": "ai-training-opt-out-checker",
                "name": "AI Training Opt-Out Checker",
                "status": "Live",
                "page": "https://ursy.com/ai-training-opt-out-checker/",
                "card": "https://ursy.com/ai-training-opt-out-checker.json"
            },
            {
                "tool": "common-crawl-checker",
                "name": "Common Crawl Checker",
                "status": "Live",
                "page": "https://ursy.com/common-crawl-checker/",
                "card": "https://ursy.com/common-crawl-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/robots-txt-refused",
        "source": {
            "url": "https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec",
            "title": "Google Crawling Infrastructure: How Google interprets the robots.txt specification"
        },
        "cite": "robots.txt cannot be read by bots. URSY.com. https://ursy.com/issues/robots-txt-refused/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/robots-txt-refused/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/robots-txt-refused/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/robots-txt-refused/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/robots-txt-refused/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/robots-txt-refused/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/robots-txt-refused/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/robots-txt-refused/#wordpress"
        },
        {
            "level": 3,
            "text": "Your server or hosting",
            "id": "your-server-or-hosting",
            "url": "https://ursy.com/issues/robots-txt-refused/#your-server-or-hosting"
        },
        {
            "level": 3,
            "text": "Your CDN (for example Cloudflare)",
            "id": "your-cdn-for-example-cloudflare",
            "url": "https://ursy.com/issues/robots-txt-refused/#your-cdn-for-example-cloudflare"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/robots-txt-refused/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/robots-txt-refused/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/robots-txt-refused/#questions"
        },
        {
            "level": 3,
            "text": "Is it safe to make robots.txt public?",
            "id": "is-it-safe-to-make-robots-txt-public",
            "url": "https://ursy.com/issues/robots-txt-refused/#is-it-safe-to-make-robots-txt-public"
        },
        {
            "level": 3,
            "text": "What does Google do when robots.txt answers 403?",
            "id": "what-does-google-do-when-robots-txt-answers-403",
            "url": "https://ursy.com/issues/robots-txt-refused/#what-does-google-do-when-robots-txt-answers-403"
        }
    ],
    "links": [
        {
            "text": "bots",
            "url": "https://ursy.com/wiki/bot-web-robot/",
            "internal": true
        },
        {
            "text": "robots.txt",
            "url": "https://ursy.com/wiki/robots-txt/",
            "internal": true
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "Google Search Console",
            "url": "https://ursy.com/wiki/google-search-console/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "user agent",
            "url": "https://ursy.com/wiki/user-agent/",
            "internal": true
        },
        {
            "text": "CDN",
            "url": "https://ursy.com/wiki/cdn/",
            "internal": true
        },
        {
            "text": "Google Crawling Infrastructure: How Google interprets the robots.txt specification",
            "url": "https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec",
            "internal": false
        }
    ],
    "words": 678,
    "text": "/robots.txt refuses bots or gives an unusual status, so crawlers cannot read your rules and may treat the site as having none. Why it matters robots.txt is public by design: it is the one file every bot must be able to read. Google documents that a 4xx answer, including 401 and 403, counts as if there were no robots.txt, so it may crawl every page. Other bots may do the same, or stop. That means rules you wrote, such as an AI training opt-out or a block on filter pages, are not read by bots that get the same refusal. Tools that check your site cannot read them either. How to fix it Let every visitor read /robots.txt. Look for a firewall rule, a bot shield, a log-in or a security plugin that protects the root of the site, and add an exception for this one file. It should answer 200 with your rules, or 404 if you have none. Check it with the Robots.txt Checker, and look at the robots.txt report in Google Search Console to see what Google received. Open /robots.txt in a private browser window and note the status. Find the rule or plugin that refuses it. Add an exception so the file is open to everyone. What the problem looks like GET /robots.txt HTTP/1.1 Host: www.example.com User-Agent: Mozilla/5.0 (compatible; bingbot/2.0) HTTP/1.1 403 Forbidden Bots are refused robots.txt itself, so they cannot read your rules and may act as if there are none. What it looks like fixed # .htaccess: the site is protected, but robots.txt stays open to everyone <Files \"robots.txt\"> Require all granted </Files> An exception for the one file lets every bot read the rules, while the rest of the protection stays in place. Fix it with your AI assistant Paste this into ChatGPT, Claude, Gemini or your coding agent, and fill in the words in square brackets: My website [your website address] runs on [your platform, e.g. Apache with a WordPress security plugin]. A check says bots are refused when they ask for /robots.txt (401, 403 or a similar status), so they cannot read my rules. First fetch [your website address]/robots.txt as a normal browser and as a bot such as bingbot, and compare the answers (or ask me to paste them). Tell me in plain words what refuses the file: password protection, a firewall, a CDN, a security plugin or a maintenance mode. Then give me the smallest exception that makes this one file answer 200 to every visitor, with my current rules unchanged. Rules: back up any configuration first, do not open any other address, keep all other protection as it is, and do not change the rules inside robots.txt. Give me the exact code or settings and where they go. Finally, tell me to re-check with the URSY.com Robots.txt Checker at ursy.com/robots-txt-checker/. Fix it on your platform WordPress Check security plugins and maintenance or coming soon plugins: they often protect every address, robots.txt included. Add robots.txt to their allowed list, or upload a static robots.txt file. Your server or hosting Look for password protection, IP allow lists or user agent blocks that cover the site root, and add an exception for /robots.txt. Your CDN (for example Cloudflare) Add a rule in your CDN that skips bot challenges and blocks for the exact path /robots.txt. Check it is fixed Run the URSY.com Robots.txt Checker (/robots-txt-checker/) again. It should get 200 and show your rules; the robots.txt report in Google Search Console should show the same. Official source Google Crawling Infrastructure: How Google interprets the robots.txt specification Questions Is it safe to make robots.txt public? Yes. It is public by design. Do not list secret addresses in it, because anyone can read it. What does Google do when robots.txt answers 403? Google documents that it treats a 4xx answer as if there were no robots.txt, so it may crawl every page, including ones you meant to block.",
    "source": "https://ursy.com/issues/robots-txt-refused/"
}