Key takeaways

  • A noindex rule drops a page from Google’s results, and on a law firm site it can sit unnoticed on practice area pages or attorney profiles.
  • The usual WordPress causes are the “Discourage search engines” box, per-page SEO plugin settings, content-type and archive defaults, and a staging copy pushed over the live site.
  • An X-Robots-Tag HTTP header from the server, a CDN or a security tool does the same job without appearing in the HTML.
  • If robots.txt blocks a page, Google never sees its noindex rule, so blocking and noindexing the same URL works against you.
  • Find it with the Page indexing report, the URL Inspection tool (indexed and live versions) and a crawl that checks both the HTML and the response headers.

An unintentional noindex is one of the quietest ways a law firm can lose search visibility. Nothing looks broken, yet Google leaves the page out of its results because something on the site asked it to. When I do WordPress SEO consulting for professional services sites, checking where noindex comes from, and whether anyone meant it, is one of the first things I look at.

Stray indexing rules are part of a wider family of WordPress problems that hide in settings rather than in content, which I cover in my article on hidden technical SEO mistakes in WordPress. This one goes deeper on noindex alone: where it comes from on a legal site and how to find it.

I first published this article in 2025 and have rewritten it around the checks I actually run, using Google’s and WordPress’s own documentation rather than statistics nobody can verify.

What a noindex rule does, and why it is easy to miss

Google’s page on blocking indexing with noindex is short and blunt: with a noindex rule, “Google will drop that page entirely from Google Search results, regardless of whether other sites link to it.”

The same page explains that “There are two ways to implement noindex: as a <meta> tag and as an HTTP response header.” One is <meta name="robots" content="noindex"> in the page’s head, the other an X-Robots-Tag header with the value noindex or none.

That is why it is easy to miss. A partner checking the new personal injury page sees exactly what a client sees, and the rule that matters to Google is invisible to both.

The settings box and the staging copy

The broadest cause is a single checkbox. In WordPress, Settings > Reading has a “Search engine visibility” option. The WordPress documentation for the Reading screen says that checking “Discourage search engines from indexing this site” (since version 5.3) causes <meta name='robots' content='noindex,nofollow' /> to be added to the head of the site’s pages. The option does not block visitors: “it is up to search engines to honor your request.”

A staging website being copied over a live website, with a blocking sign carried across with the copy
Figure 1. When a staging copy replaces the live site, its “discourage search engines” setting can come across with it.

Developers tick this box on purpose while a site is being built. The trouble starts at launch or during a redesign: the setting is stored in the database, so when a staging site is pushed over the live one, the live site can inherit it. In audits I often see this after a theme change or a hosting move, when nobody looked at the Reading screen afterwards. Check that screen, and the live home page’s source, on the day the site goes live.

Free tool · SEO ROI Calculator

Found a practice area page that was hidden from Google? Estimate what its main keyword could be worth.

Enter search volume, CPC and your current ranking to estimate traffic, revenue and value for a keyword. Free.

Calculate your SEO ROI →

SEO plugin settings, content types and archive templates

Most law firm WordPress sites run an SEO plugin that gives every page and content type its own indexing switch. Because those switches are spread across many screens, this is where most partial noindex problems come from. The patterns I check:

  • Per-page switches. A draft, duplicate or temporary campaign page was set to noindex, then turned into a real practice area page without the switch being changed back.
  • Content-type defaults. Attorney profiles, practice areas, case results or locations are often custom post types added by the theme or a plugin. If the SEO plugin’s default for that content type is “do not show in search results”, every new profile inherits it.
  • Archive and taxonomy templates. Category, tag, author and date archives are often noindexed on purpose. That is fine until the theme uses an archive as the main listing of practice areas or attorneys, and the listing page disappears with the rest.
  • Two plugins doing the same job. An old SEO plugin left active next to a new one can output its own robots tag. Google’s robots meta tag documentation says that “In the case of conflicting robots rules, the more restrictive rule applies”, so one forgotten noindex beats any number of index tags.

Some pages should stay out of search: form thank-you pages, client portal logins, internal search results. The point is that each noindex is a decision someone made.

Where the noindex comes from What it affects Where to check
Settings > Reading checkbox The whole site WordPress Reading screen, home page source
SEO plugin per-page switch One page The page’s SEO settings in the editor
SEO plugin content-type or archive default Every page of that type or archive The plugin’s content-type and taxonomy settings
X-Robots-Tag header Any URL the rule matches, including PDFs Server, CDN or security configuration, response headers

Noindex you cannot see in the HTML

The header version of noindex is the one most often missed, because viewing the page source shows nothing. Google’s robots meta tag documentation gives an example response with X-Robots-Tag: noindex and explains that rules can be combined in one header or several. It can be set by server configuration, a hosting panel, a CDN rule or a security or maintenance tool, often by someone who never opens WordPress.

A web page that looks normal, travelling from a server with a hidden blocking label attached to its response
Figure 2. An X-Robots-Tag header travels with the response, so the page itself can look perfectly normal.

I look for header rules that match more than intended: a rule meant for a staging subdomain that also matches the live domain, a rule for documents that catches a whole folder, or a maintenance mode that left its header behind. Headers are also how PDFs get noindexed, so check any PDF guides you want found.

To check, look at the live URL’s response headers in your browser’s developer tools (Network tab) or with curl -I. If an X-Robots-Tag line with noindex or none appears, trace it to whatever sets it.

When robots.txt hides the noindex from Google

The opposite mistake is also common. Someone adds both a robots.txt Disallow rule and a noindex tag to keep a section out of Google. Google’s block-indexing page is clear that this does not work: “For the noindex rule to be effective, the page or resource must not be blocked by a robots.txt file”. If it is blocked, “the crawler will never see the noindex rule”.

The robots meta tag documentation explains why: “robots meta tags and X-Robots-Tag HTTP headers are discovered when a URL is crawled.” A blocked URL is not crawled, so its rules are never read. Google’s Page indexing help even lists a status called “Indexed, though blocked by robots.txt”, where a page was indexed from links pointing to it even though Google could not crawl it.

So if you want a page gone, allow crawling and use noindex. If you want it found, make sure it is neither blocked nor noindexed. For problems that persist after these basics, I go through a longer process in diagnosing persistent indexation issues in legal SEO audits.

How I find unintentional noindex on a law firm site

I use three views together, because each catches something the others miss.

A grid of site pages being checked one by one, most marked as fine and a few flagged and set aside
Figure 3. Check every important URL, then compare which pages carry noindex with which ones should.
  1. The Page indexing report. Google’s Page indexing report help describes the “URL marked ‘noindex'” reason: “When Google tried to index the page it encountered a ‘noindex’ directive and therefore did not index it.” Any practice area, attorney or location page in its example list needs an explanation.
  2. The URL Inspection tool. For each important URL, the URL Inspection tool shows whether indexing is allowed in the indexed version and in a live test. The help page notes that the indexed results “are from most recently indexed version of a page, not the live version on the web”, so after a fix, run the live test. It also warns that if robots.txt blocks the page, “Indexing allowed?” will always say “Yes” because Google cannot see the noindex.
  3. A full crawl. Search Console shows what Google has seen. A crawl that records the robots meta tag and the X-Robots-Tag header shows what is there now. Sorting the noindexed URLs by section makes a content-type default or archive rule obvious.

Then the fix: remove the rule at its source, run the live test, and request indexing for the key pages. Google notes that “Submitting a request does not guarantee that the page will appear in the Google Index”. Once every affected URL is fixed, use “Validate fix” in the Page indexing report, and do not click it again until validation has succeeded or failed.

Free tool · Ping My URL

Removed a stray noindex from your practice area pages? Let search engines know they changed.

Notify Google and other search engines about up to 5 new or updated URLs at once. Free, no sign-up.

Ping your URLs →

Keep it from coming back

Accidental noindex tends to return with the next change, so prevention is mostly process:

  • Put the Reading screen, the SEO plugin’s content-type defaults and a response header check on every launch, migration and redesign checklist.
  • Keep a short list of URLs that are meant to be noindexed, with the reason for each. Anything noindexed that is not on the list is a question.
  • When server or CDN rules change, ask whether any set an X-Robots-Tag header.

Rank Check Reports

Fixed an accidental noindex? Record where your practice area pages rank as they come back.

A live Google check of your keywords on desktop and mobile · from $14.99 per check · no subscription · report within one working day

Order a rank check report →

FAQ

How do I know if my law firm’s pages have a noindex tag?

Check the “URL marked ‘noindex'” reason in the Page indexing report, inspect key pages with the URL Inspection tool, and look at the live response headers.

Should I block noindexed pages in robots.txt as well?

No. Google says the page must not be blocked by robots.txt for noindex to work, because a crawler that cannot fetch the page never sees the rule.

How long does it take for a page to return after removing noindex?

Google has to recrawl it first. Requesting indexing can prompt that, but a request does not guarantee inclusion, so there is no fixed time.

Eugen Platon

Eugen Platon

Director of SEO & Web Analytics at onwardSEO
Eugen Platon is a highly experienced SEO expert with 16+ years of experience propelling organizations to the summit of digital popularity. Eugen, who holds a Master's Certification in SEO and is well-known as a digital marketing expert, has a track record of using analytical skills to maximize return on investment through smart SEO operations. His passion is not simply increasing visibility, but also creating meaningful interaction, leads, and conversions via organic search channels. Eugen's knowledge goes far beyond traditional limits, embracing a wide range of businesses where competition is severe and the stakes are great. He has shown remarkable talent in achieving top keyword ranks in the highly competitive industries of gambling, car insurance, and events, demonstrating his ability to traverse the complexities of SEO in markets where every click matters. In addition to his success in these areas, Eugen improved rankings and dominated organic search in competitive niches like "event hire" and "tool hire" industries in the UK market, confirming his status as an SEO expert. His strategic approach and innovative strategies have been successful in these many domains, demonstrating his versatility and adaptability. Eugen's path through the digital marketing landscape has been distinguished by an unwavering pursuit of excellence in some of the most competitive businesses, such as antivirus and internet protection, dating, travel, R&D credits, and stock images. His SEO expertise goes beyond merely obtaining top keyword rankings; it also includes building long-term growth and optimizing visibility in markets where being noticed is key. Eugen's extensive SEO knowledge and experience make him an ideal asset to any project, whether navigating the complexity of the event hiring sector, revolutionizing tool hire business methods, or managing campaigns in online gambling and car insurance. With Eugen in charge of your SEO strategy, expect to see dramatic growth and unprecedented digital success.
Eugen Platon
Check my Online CV page here: Eugen Platon SEO Expert - Online CV.