WordPress "Discourage search engines from indexing this site": how to fix it
Go to Settings, then Reading in your WordPress dashboard, untick "Discourage search engines from indexing this site" and click Save Changes. Then check that the page source no longer contains a noindex tag and ask Google to recrawl.
This setting is a single tickbox in WordPress that asks search engines to keep your whole site out of their results. It is meant for sites under construction, and it is very easy to leave switched on after launch. Your site looks and works normally for visitors, so nobody notices until they wonder why Google never shows it.
What people see
The tickbox does not change how your site looks. The symptoms show up elsewhere:
- Searching Google for your business name or
site:yourdomain.comreturns nothing, or only a few old results. - Google Search Console reports pages as "Excluded by 'noindex' tag" or "Indexing allowed? No".
- Organic traffic drops to almost nothing after a redesign, migration or relaunch.
- An SEO plugin such as Yoast SEO or Rank Math shows a warning in the dashboard that the site is hidden from search engines.
Why it matters
If search engines are told not to index your pages, those pages cannot appear in results. For a business that relies on people finding it by searching, that means no new visitors from search, no enquiries and no orders from that source. Existing pages can also drop out of Google over days or weeks, which is why a relaunch can quietly wipe out years of visibility.
It is not a security feature. The setting is a request, not a lock. Well behaved search engines honor it, but the pages stay publicly reachable, and anyone with the link can still open them. If something must stay private, use a password or login.
How to check if your site has it
All of these are free:
- In the WordPress dashboard, open
Settings, thenReading. Look for "Search engine visibility" and see whether "Discourage search engines from indexing this site" is ticked. - Open your homepage in a browser, right click, choose View Page Source, and search for
robots. A line like<meta name='robots' content='noindex, nofollow' />means search engines are being told to stay away. - In Google Search Console, paste your homepage address into the URL Inspection bar. If it says indexing is not allowed because of a noindex tag, the setting (or something similar) is active.
- Visit
yourdomain.com/robots.txt. A line readingDisallow: /underUser-agent: *blocks crawling entirely. Older WordPress versions added this when the box was ticked, newer ones rely on the meta tag, so what you see depends on your version. - Visit
yourdomain.com/wp-sitemap.xml. WordPress turns off its built-in sitemap when the box is ticked, so a 404 there is another clue (unless your SEO plugin provides its own sitemap at a different address).
How to fix it
The fix is the same on every host, because it is a WordPress setting:
- Log in to
/wp-admin/as an administrator. - Go to
Settings, thenReading. - Untick "Discourage search engines from indexing this site".
- Click
Save Changes.
On multisite networks, each site has its own setting, so check every site. Platform specific notes are in our guides for WordPress, WooCommerce, Elementor, WP Engine, SiteGround, Bluehost and cPanel.
If the box is greyed out or keeps coming back
Something else is controlling the setting. Common causes:
- A staging or development copy of the site was pushed to the live site, which overwrote the setting. Many hosts create staging sites with search engines discouraged on purpose.
- A plugin or custom code (often in the theme's
functions.phpor a must-use plugin) forces the value. Ask your developer to search forblog_publicandwp_robots. - A host or maintenance tool toggles it when a site is put into a "coming soon" or maintenance state.
If it is unticked but pages still say noindex
The tickbox is only one source of noindex. Check the individual page settings in your SEO plugin, your theme options, and any X-Robots-Tag header added by the server or a CDN. Caching can also keep serving an old page with the tag in it, so clear your caching plugin and any CDN cache after the change. Our guide to the accidental noindex tag covers these in detail.
How to confirm the fix worked
- Reload your homepage source and confirm the noindex line is gone. Test in a private window so you are not seeing a cached copy.
- In Search Console, run URL Inspection on the homepage and choose "Test live URL". It should say the page is available to Google and indexing is allowed.
- Click "Request indexing" for your most important pages, such as the homepage and main service or product pages.
- If you use an SEO plugin sitemap, submit it again under
Sitemapsin Search Console. - Watch the Pages report over the following days and weeks. Pages move from excluded to indexed gradually, and nobody can promise how long it takes. Small sites are often picked up within days, but it can be weeks.
If Search Console still lists pages as excluded by noindex after a few weeks, see excluded by noindex in Google Search Console.
How to stop it coming back
- Put "untick the search visibility box" on your launch checklist, and check it again after every migration, restore or staging push.
- Ask whoever builds or redesigns your site to tell you in writing when the setting is changed in either direction.
- Keep an SEO plugin installed that warns you in the dashboard, and do not dismiss that warning.
- Check the page source or Search Console once a month, and always after a site change.
- Remember that a developer who ticks the box during a rebuild may not be the person who remembers to untick it.
The SiteMonday week 1 SEO review checks for this kind of blocker and lists it in the ranked fix list, but a quick look at Settings, then Reading costs nothing and takes one minute.
Step by step for your platform
- WordPress discourage search engines box ticked on WordPress
- WordPress discourage search engines box ticked on WooCommerce
- WordPress discourage search engines box ticked on Elementor
- WordPress discourage search engines box ticked on WP Engine
- WordPress discourage search engines box ticked on SiteGround
- WordPress discourage search engines box ticked on Bluehost
- WordPress discourage search engines box ticked on cPanel
Questions
Does ticking the box really remove my site from Google?
It tells search engines not to index the site, and Google normally respects that. Pages that were already indexed usually drop out over time, and new pages will not be added.
Is the setting a guarantee that my site stays private?
No. It is a request that reputable search engines follow, not access control. Anyone with the link can still open the pages, so use a password or login for anything confidential.
How long until my site shows in Google after I untick it?
It varies. Requesting indexing in Search Console helps, and small sites are often picked up within days, but it can take weeks and nobody can guarantee a date.
Why does WordPress keep re-ticking the box on its own?
Usually a staging push, a plugin, custom code or a host tool is setting it. Find what changes the `blog_public` setting and fix that, otherwise the box will return.
Should I tick the box on a staging site?
Yes, that is what it is for, as long as the staging site is not meant to be found. Just make sure the setting is not copied to the live site when you push changes.
I unticked it but Google still says noindex. What now?
Check for a page level noindex in your SEO plugin, a theme setting, an `X-Robots-Tag` header, or a cached copy of the page. Clear all caches, then run a live URL test in Search Console.