How to fix noindex detected on Headless / Custom (I build in code)
Remove or replace the noindex directive on any page you want to appear in Google search results.
Steps for Headless / Custom (I build in code)
- Search your codebase (including middleware and server-side rendering functions) for any string containing 'noindex' in meta tag output or HTTP header logic (X-Robots-Tag).
- In Next.js: Check pages/_app.js, individual page files, and any next/head components for <meta name='robots' content='noindex'>. Also check next.config.js for headers() returning X-Robots-Tag: noindex.
- In Nuxt.js: Check nuxt.config.js (head.meta array) and page-level head() functions for robots noindex entries.
- Remove or correct the directive so the rendered HTML contains <meta name="robots" content="index,follow"> (or no robots meta tag at all, which defaults to index,follow).
- Deploy the fix, then verify with 'view-source:' or browser DevTools that the noindex tag is gone from the live page HTML.
- Submit in Google Search Console → URL Inspection → Request Indexing.
What is noindex detected?
A "noindex" directive is an instruction you send to search engines telling them: "Do not include this page in your index." It can appear as a robots meta tag in a page's HTML (e.g., `<meta name="robots" content="noindex,nofollow">`) or as an HTTP response header. When Google sees noindex, it respects it completely — the page will never show up in search results, no matter how many links point to it or how great its content is. This setting is intentional and useful for things like order-confirmation pages, staff-only pages, or duplicate staging content — but it is catastrophic if it appears on pages you actually want customers to find through Google.
Any page carrying a noindex directive is completely invisible to search engines — it cannot rank, it cannot drive organic traffic, and it cannot generate revenue from search. A single misconfigured template setting can silently remove your entire product catalogue, blog, or homepage from Google overnight. Because noindex takes effect as soon as Google re-crawls the page, you may not notice the traffic drop until days or weeks later, by which point significant revenue has already been lost. Fixing it promptly restores your pages to the index and allows your existing SEO authority to start driving clicks again.
See the complete Noindex detected guide for every platform and the full background.
Not sure if your Headless / Custom (I build in code) store has this?
Run a free SEOLZ scan — we’ll find noindex detected and every other issue across your whole site.
Scan my site free