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.”
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.
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.
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.
- 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.
- 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.
- 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.
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.
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.