Technical SEO Step-by-step

How to Check Whether a Website Is Accidentally Blocking Google

Sites are blocked from Google by accident more often than you’d think, usually by a leftover development setting. Here are the six places a block can hide and how to check each one.

Share this guide

Your new site has been live for a month and doesn’t appear in Google at all, not even for your business name. Or traffic fell off a cliff the week after a redesign. Before assuming a penalty or an algorithm update, check whether the site is simply telling Google to stay away. It’s one of the most common launch mistakes, and one of the easiest to fix.

Quick answer

Check six places: the WordPress “Discourage search engines” setting, robots.txt, noindex meta tags, X-Robots-Tag HTTP headers, password protection or maintenance mode, and firewalls or security tools blocking Googlebot. URL Inspection in Search Console tells you which one applies to a given page in seconds.

This guide shows how to check each place, how to fix it, and how to make sure it doesn’t happen again at your next launch or redesign.

Start with URL Inspection

In Search Console, paste your homepage URL into the bar at the top. The result answers the key questions directly:

URL Inspection saysThe block is probably
Crawl allowed? No: blocked by robots.txtA robots.txt rule (check 2)
Indexing allowed? No: ‘noindex’ detected in ‘robots’ meta tagA noindex tag or WordPress setting (checks 1 and 3)
Indexing allowed? No: ‘noindex’ detected in ‘X-Robots-Tag’ http headerA server header (check 4)
Page fetch failed, 401 or 403Password, maintenance mode or firewall (checks 5 and 6)

Then run a live test to see the current state rather than Google’s last visit. See using URL Inspection.

The six places a block hides

1. WordPress search engine visibility

Under Settings, Reading, WordPress has a box labelled “Discourage search engines from indexing this site”. Developers tick it during builds. If it’s still ticked after launch, untick it and save. This is the single most common accidental block on WordPress sites.

2. Robots.txt

Visit yourdomain.ie/robots.txt. A line reading Disallow: / under User-agent: * or User-agent: Googlebot blocks crawling of the whole site. Check Settings, robots.txt in Search Console for the version Google fetched. Our robots.txt explainer covers the rules.

3. Noindex meta tags

View the page source (Ctrl+U) and search for noindex. A tag like <meta name="robots" content="noindex"> tells Google not to index the page, as explained in Google’s noindex documentation. SEO plugins can set this per page, per post type or for whole archives. Check plugin settings as well as individual pages. See robots meta tag.

4. X-Robots-Tag headers

A noindex can also be sent as an HTTP header, invisible in the page source. Google’s robots meta tag guide covers the X-Robots-Tag. Staging environments often add it at server level, and it can survive a careless move to production. URL Inspection, or a header checker, will show it.

5. Passwords and maintenance mode

Password-protected sites, “coming soon” plugins and maintenance mode all stop Googlebot seeing content. Make sure they’re fully switched off, including for logged-out visitors.

6. Firewalls and security tools

Security plugins, hosting firewalls and CDNs sometimes block or challenge Googlebot. The live test returns 403 or a challenge page. Allow verified Google crawlers, using the Googlebot verification method rather than trusting any visitor claiming to be Google. See checking whether Googlebot can access your website.

Quick diagnosis

What you are seeing

  • Site missing even for its own name
  • Traffic dropped right after a launch or redesign
  • Pages listed as Excluded by noindex

Likely causes

  • Staging settings left on
  • SEO plugin defaults
  • Server headers
  • Security tools

Check first

  • URL Inspection live test
  • View source for noindex
  • robots.txt report

Get help when

  • Block appears only for Googlebot
  • Whole site deindexed

After you fix it

  1. Run a live test againConfirm crawling and indexing are both allowed.
  2. Request indexingFor the homepage and key pages.
  3. Resubmit your sitemapSo Google revisits every page. See XML sitemaps.
  4. Validate the fixIn the Page indexing report, use Validate fix on the affected status.
  5. Monitor for a few weeksIndexed pages should rise as Google recrawls.

A worked example

This is an illustration, not a specific client. A Dublin architecture practice relaunches its site in September. By November, organic traffic is close to zero. URL Inspection shows “noindex detected in X-Robots-Tag http header”. The developer had copied the staging server configuration, including a header added to keep the test site out of Google.

Removing the header, requesting indexing for key pages and resubmitting the sitemap brings the pages back over the following weeks. The practice adds a launch checklist step: check URL Inspection on day one.

Prevent it next time

  • Add “Check search visibility” to every launch and redesign checklist; see the post-launch checklist.
  • Protect staging sites with a password rather than relying only on noindex, so the setting isn’t copied to live.
  • Run URL Inspection on the homepage and a few key pages on launch day.
  • Set up Search Console email alerts so indexing drops are flagged.

If Google still isn’t visiting once the block is removed, read why Google isn’t crawling your website and diagnosing a site that suddenly disappears. For help, our technical SEO service and SEO audit check every blocking route.

Frequently asked questions

How do I know if my site is blocking Google?

Use URL Inspection in Search Console. It says whether crawling and indexing are allowed.

What does Discourage search engines do in WordPress?

It asks search engines not to index the site. Untick it once the site is live.

How long until Google re-indexes after I remove a block?

Often days for key pages, longer for the whole site.

Can robots.txt and noindex conflict?

Yes. If robots.txt blocks a page, Google can’t see its noindex tag.

Is a password-protected staging site safe?

Yes, and it’s safer than relying on noindex alone.

Can a firewall block Google without me knowing?

Yes. The live test in URL Inspection will show a 403 or challenge.

Related reading: how Google finds a new website, images and CSS blocked from Googlebot and our technical SEO guide.

Sources and further reading

  1. Introduction to robots.txtGoogle Search Central.
  2. Robots meta tag, data-nosnippet and X-Robots-TagGoogle Search Central.
  3. Block search indexing with noindexGoogle Search Central.
  4. Verifying Googlebot and other Google crawlersGoogle Search Central.
  5. Page indexing reportSearch Console Help.

Last updated 25 November 2026. Google changes its tools and reports regularly, so check the official sources above if something on screen looks different. This guide is general information, not advice for your specific website.

Found this useful? Share it