Technical SEO & Indexing • 15 min read

How to Fix 'Submitted URL Blocked by Robots.txt' in Search Console

Fix the 'Submitted URL blocked by robots.txt' error in Search Console. Find the blocking rule, test it, and get your pages crawled and indexed again.

By SEO Free Editorial Team
Published: November 23, 2026
Fix Submitted URL Blocked by Robots.txt guide — find the winning rule with the free bulk tester on SEO Free

You submit a sitemap, wait a few days, then open Google Search Console and see it: "Submitted URL blocked by robots.txt". The page is in your sitemap, you want it indexed, and Google is telling you it cannot even crawl it. The cause is almost always small — one rule in your robots.txt file that reaches further than you intended — but the fix has to be exact, because guessing at the file and re-submitting can leave the error in place for weeks.

This guide explains what the error actually means, how to find the exact rule that blocks each URL, and how to fix it and prove the fix worked — using the free Bulk Robots.txt Tester on SEO Free. No server access beyond editing your robots.txt file is needed, and every step below uses the live behaviour of the tool, not theory.

What "Submitted URL blocked by robots.txt" means

When Google processes your sitemap, it takes every URL you listed and tries to crawl it. If your robots.txt file contains a rule that disallows that URL for Googlebot, the crawl stops before it starts, and Search Console records the URL under this error. The page is not indexed, and no ranking signal is collected from it — Google has never seen the content.

Three things are worth understanding before you touch anything. First, the error is about crawling, not indexing. Robots.txt cannot remove a URL from the index; a blocked URL that other sites link to can still appear in search results as a bare URL with no description. If your goal is to keep a page out of search results entirely, you need a noindex tag or a removed page, not a robots.txt rule. Second, the block applies to the user-agent group that matches Googlebot. A rule under User-agent: * applies to every crawler, but a rule under a different bot's group does not affect Googlebot at all — which is why the same URL can be blocked for one crawler and open for another. Third, the error is per URL: Search Console lists each affected address separately, and one bad rule can put hundreds of URLs on that list at once.

The most common ways this happens are worth recognising, because they tell you where to look. A developer blocks a staging directory with Disallow: /staging/ and the rule also matches a live section called /staging-area/. A wildcard meant to stop parameter URLs, such as Disallow: /*?*, blocks every URL with a query string, including the ones you submitted. A CMS update rewrites robots.txt and adds a broad rule nobody reviewed. Or a rule that was correct when the sitemap was built becomes wrong after a URL restructure, and the sitemap still lists the old paths. In every case the fix is the same: find the winning rule, change it, and verify.

Step 1: Find the blocked URLs in Search Console

Open Google Search Console, select the property, and go to Pages under Indexing. In the "Why pages aren't indexed" section, look for "Submitted URL blocked by robots.txt". Click it to see the full list of affected URLs, with the date each was last seen. Export the list — you will need the exact URLs for testing.

Before you fix anything, check two things on that screen. First, how many URLs are affected. A handful of URLs usually points to a narrow rule or a few stale sitemap entries; hundreds of URLs with a shared path prefix point to one broad rule. Second, whether the URLs should be indexed at all. Sitemaps sometimes contain URLs that were never meant for search — login pages, internal search results, or old campaign pages. If a blocked URL should not be indexed, the correct fix is to remove it from the sitemap, not to unblock it. Only URLs you genuinely want in search results belong in the fix list.

Step 2: Confirm the block with the live robots.txt file

Open your live robots.txt file in a browser at yourdomain.com/robots.txt and read it. Look for the group that applies to Googlebot — the User-agent: Googlebot group if one exists, otherwise the User-agent: * group — and scan its Disallow lines for anything that could match your blocked URLs. A rule such as Disallow: /blog/ blocks every URL under /blog/, and a rule such as Disallow: /*.pdf$ blocks every PDF. Remember that matching is case-sensitive and that the longest matching rule wins: a longer, more specific Allow can override a shorter Disallow, and when an Allow and a Disallow match with exactly the same length, the Allow wins.

Reading the file by eye is a good start, but it is not proof. Wildcards, end anchors, and group precedence make it easy to misjudge which rule actually decides a URL's fate. That is what the tester is for.

Step 3: Test the blocked URLs with the Bulk Robots.txt Tester

The Bulk Robots.txt Tester evaluates up to 100 URLs at once against your robots.txt rules and reports, for each URL, whether it is allowed or blocked, the winning rule, and the line number that decided it. Follow these steps:

  1. Open the tester and choose Live Fetch Mode. Enter your domain so the tool pulls the robots.txt file your server is actually serving right now. This matters: testing a draft you pasted from memory checks the wrong file. If Live Fetch cannot retrieve the file — because of a redirect chain, bot protection, or basic authentication — copy the file's contents from your browser and use Paste Mode instead; the rule engine is identical either way.
  2. Paste the blocked URLs into the Test URLs box. One path per line, up to 100 at a time. Use the exact URLs from Search Console, including any query strings — a path with a missing trailing segment is a different URL and may test differently. If the list is longer than 100, test it in batches, starting with the URLs that matter most.
  3. Set the Target Crawler to Googlebot. This is the step most people skip, and it is the one that matters most: the block that Search Console reports is a Googlebot block. Testing with the default "Any" crawler or with Bingbot can give a different answer, because rules are grouped by user-agent and a path allowed for one bot may be blocked for another.
  4. Click "Run Bulk Evaluation". The engine applies the RFC 9309 rules — longest match wins, Allow wins an exact-length tie — and returns a status for every URL in the batch.
  5. Read the winning rule and line number for each blocked URL. This is the diagnosis. If twenty blocked URLs all point to the same line, you have one rule to fix. If they point to different lines, note each one: you may have several rules to change, and fixing only the first will leave the rest of the error list in place.
  6. Export the CSV. Click "Export CSV" and save the report next to your current robots.txt file as a dated record. It is your before-and-after evidence, and it is what you attach to a ticket if a developer makes the edit for you.

Step 4: Fix the blocking rule

With the winning rule identified, the fix depends on what the rule was meant to do. Choose the smallest change that unblocks the wanted URLs while keeping the protection the rule was providing.

If a broad rule blocks more than intended, narrow it. A rule such as Disallow: /products/ that was meant to block only filtered listings can become Disallow: /products/*?sort=, which blocks only the parameter versions. If a single URL is wrongly caught by a wildcard, add a specific Allow above it: an Allow: /blog/important-guide/ line beats a shorter Disallow, and the tester will confirm the new result before you publish. If the rule blocks a whole section that should never have been blocked, delete the line — but check first that nothing else depends on it, such as a staging area that shares the same path prefix.

Two mistakes are common at this stage. The first is editing the wrong file: some sites serve robots.txt from a CDN, a plugin, or a redirect, so the file you edited is not the file Google fetches. After every edit, open yourdomain.com/robots.txt in a fresh browser tab and confirm the change is live. The second is fixing the rule but leaving the URL in the wrong state elsewhere: if the page also carries a noindex tag, or returns a 404, unblocking the crawl will not get it indexed. Check the page itself loads with a 200 status and has no noindex directive before you re-submit.

Step 5: Re-test, then ask Google to validate the fix

Do not re-submit anything until you have re-tested. Paste the corrected rules into Paste Mode before publishing them, run the same URL list against them with Googlebot selected, and confirm every URL now shows Allowed with the expected winning rule. If the rules are already live, run the same list in Live Fetch Mode instead. Only when the tester says Allowed should you move on.

Then go back to Search Console, open the same "Submitted URL blocked by robots.txt" report, and click Validate Fix. Google re-crawls a sample of the affected URLs and reports whether the error is gone. Validation is not instant — it can take days, and Google checks the URLs gradually, not all at once — so do not panic if the report still shows the error the next morning. While you wait, you can also use URL Inspection on one or two of the most important URLs and click Request Indexing once the live test shows the URL is allowed. Our guide to checking whether Googlebot is blocked walks through the same verification from the other direction, and if you are rebuilding the sitemap itself, see how to generate and submit an XML sitemap so the file Google reads next time is clean.

Common causes, and what each one looks like

A wildcard that is wider than intended

Disallow: /*?* blocks every URL containing a question mark. It is often added to stop parameter-based duplicate content, but it also blocks legitimate URLs with tracking or pagination parameters that are in the sitemap. Narrow it to the parameter you actually want to stop, such as Disallow: /*?sort=, and test the difference in Paste Mode before publishing.

A staging rule that leaked into production

Staging sites are commonly blocked with Disallow: /, and the file is sometimes copied to production during a deployment. If your whole site is blocked, this is the first thing to check. The fix is to replace the production robots.txt with the correct one — and to keep staging and production files in separate deployment steps so it cannot happen again.

A CMS or plugin rewrite nobody reviewed

WordPress, Shopify, and other platforms can regenerate robots.txt when a plugin updates or a setting changes. A new rule appears, and the error shows up in Search Console days later. After any CMS update, open the live robots.txt file and compare it with the previous version. Keep a dated copy of the known-good file so the comparison takes seconds.

The URL in the sitemap is not the URL on the site

After a restructure, a sitemap can keep listing old paths — a moved category, a changed slug, a retired parameter — while robots.txt blocks the old path pattern. The tester will show the old URL as blocked, and no robots.txt edit is the right fix: update the sitemap to list the current URLs, and redirect the old ones. Always check the sitemap and the robots.txt file together when the blocked list looks stale.

Case sensitivity

Robots.txt paths are case-sensitive. Disallow: /Blog/ does not block /blog/, and Disallow: /PDF/ does not block /pdf/. If a URL is blocked and you cannot see why, compare the case of every character in the rule against the real URL. This is also why testing the exact URL from Search Console, rather than a retyped version, matters.

Blocking CSS and JavaScript

Rules that block /wp-content/, /assets/, or similar folders can block the CSS and JavaScript Googlebot needs to render a page. The page itself may be allowed while its resources are blocked, which produces rendering problems rather than this exact error — but the two often appear together after the same broad rule change. Keep resource folders open unless you have a specific reason to close them.

Tips for keeping the error away

  • Test before every deploy. Make the tester a fixed step in your release process: paste the draft rules in Paste Mode, load the URLs that matter — top landing pages, category templates, and any URL in the sitemap — run once per crawler, and export the CSV as the signed-off record.
  • Compare drafts side by side. When you plan a policy change, run the same URL list against the live file in Live Fetch Mode and against the proposed replacement in Paste Mode. Any row whose status changes is a deliberate consequence you can see before it goes live.
  • Test every crawler you care about. After the Googlebot check passes, switch the crawler selector to Bingbot, GPTBot, or ClaudeBot and re-run the same list. A rule that is fine for Googlebot can still block an AI crawler you want reading your content.
  • Keep the sitemap and robots.txt in sync. Every URL in the sitemap must be crawlable by Googlebot. After a restructure, a migration, or a robots.txt change, test the full sitemap URL list — in batches of 100 — before the next Search Console check.
  • Never use robots.txt to hide a page from search. Use a noindex tag or remove the page instead. A blocked page can still be indexed as a bare URL, which is the worst of both worlds: invisible content, visible listing.
  • Keep a dated copy of every robots.txt version. When an error appears, the first question is always "what changed?" A dated archive answers it in seconds, and the CSV export from the tester gives you the matching before-and-after test record.

Frequently asked questions

How long does "Submitted URL blocked by robots.txt" take to clear?

After you fix the rule and click Validate Fix, Google re-crawls the affected URLs gradually. Small lists can clear in a few days; large lists can take two to four weeks. The error only clears for URLs Google has re-checked, so re-test your fix with the tester first — if the live file still blocks a URL, validation will fail and the wait restarts.

Can I just remove the blocked URLs from my sitemap instead?

Yes, if the URLs should not be indexed. Removing them from the sitemap clears the error, because Google no longer has a submitted URL to check. But if you want the pages in search results, removal is the wrong fix — it hides the symptom while the pages stay unindexed. Remove only URLs you genuinely do not want indexed.

Why does Search Console still show the error after I fixed robots.txt?

Usually one of three reasons: the fix is not live yet because a CDN or plugin serves a cached copy of the old file; the rule you fixed was not the winning rule, and a different line still blocks the URL; or Google simply has not re-crawled the URL yet. Open the live robots.txt file to confirm the change, re-test the exact URL in Live Fetch Mode, and then wait for validation to run.

Does fixing robots.txt get the page indexed automatically?

No — it only allows the crawl. After the block is lifted, Google still has to crawl the page, find it worth indexing, and add it to the index. Use URL Inspection and Request Indexing on the most important URLs to speed that up, and make sure the page itself returns a 200 status with no noindex tag.

Can a blocked URL still appear in Google search results?

Yes. Robots.txt blocks crawling, not indexing. If other sites link to a blocked URL, Google may index the bare URL without any content or description. If you want a page out of search results, use a noindex meta tag and allow the crawl, or remove the page and let it return a 404 or 410.

Bottom line

"Submitted URL blocked by robots.txt" is a small error with a precise fix: find the affected URLs in Search Console, test them against your live robots.txt file with Googlebot selected, read the winning rule and line number, change the smallest thing that unblocks them, re-test before you publish, and let Search Console validate the fix. The tester does the hard part — turning a guess about which rule matters into a named line number — and the CSV export gives you a dated record of the before and after. Do that, and the pages you submitted get crawled, and the error clears on its own schedule.

Validate Your Robots.txt Directives in Bulk

Test up to 100 paths simultaneously against your live or draft rules using our RFC 9309 compliant evaluation engine.

Open Bulk Robots.txt Tester

Related Technical Guides