The Silent SEO Bug Breaking AI-Built Websites

In July 2026 every page on my own site showed Google the homepage title. The cause was an unpinned upgrade to react-helmet-async v3. Here’s the check and the fix.

By
Russel Shalom Davis
·
July 21, 2026
·
7 min read
The Silent SEO Bug Breaking AI-Built Websites
Key takeaways
  • react-helmet-async v3.0.0 was published on 3 March 2026 and changed how the library handles head tags, adding native React 19 hoisting; as of 23 October 2026 it is still the latest release.
  • In July 2026, after an unpinned install resolved to v3.0.0, my own React 18 site stopped applying page titles, descriptions, canonicals and per-page schema, with no error anywhere.
  • AI coding agents usually install the latest version of a package, so React sites built or updated by agents since March 2026 should check their head tags.
  • The ten-second check is to open an inner page, type document.title in the browser console, and see whether it returns the homepage title.
  • Google's Rich Results Test can pass a site with this problem, because valid sitewide schema in the static HTML hides the missing per-page layer.
  • Pinning dependency versions and checking the page after every install would have prevented the problem on my site.

In July 2026 I found that every page on my own site was showing Google the homepage title. No error, no broken layout, nothing in any dashboard. The cause was a React SEO library an AI agent had installed for me, at a version that had changed underneath it.

At the time brandinglab.io ran on Lovable as a React 18 single-page app. I sell AEO, so this was an uncomfortable find. Here is what happened, the ten-second check, and the fix.

What is the react-helmet-async v3 bug?

The react-helmet-async v3 problem is a head-management layer that stops applying tags without any error: inner pages keep the homepage title, and per-page descriptions, canonicals and JSON-LD never reach the head. On my site it began when an unpinned install resolved to v3.0.0.

Some background explains why so many sites could be affected. react-helmet-async manages the document head in React apps, and it has been in tutorials and starter templates for years; npm counted about 2.6 million downloads in the week of 12–18 October 2026 (npm). Version 2.0.5 was published in May 2024. React 19 arrived in December 2024, compatibility issues were reported, and in February 2025 a community fork, @dr.pogodin/react-helmet, was published to continue the work (issue #254).

On 3 March 2026 the original package published v3.0.0. Its README says v3 adds native React 19 support, letting React hoist tags into the head, and keeps the previous behaviour on React 16 to 18 (v3.0.0 README). The fork's maintainer disputes how well that works: his README says that on React 19, v3 no longer deduplicates tags (so a page can end up with several <title> elements) and drops features such as tag prioritisation (fork README). As of 23 October 2026, 3.0.0 is still the latest version on npm, with no 3.0.x patch.

What I saw on my React 18 site was quieter than either description: the library applied nothing. Zero managed tags in the head. That doesn't match the README's promise that the React 18 path is unchanged, and I didn't isolate a minimal reproduction. As of 23 October 2026 I couldn't find a public GitHub issue reporting the React 18 behaviour; the closest is issue #266, opened two weeks after v3 shipped, which reports duplicate title tags after upgrading from 2.0.5 to 3.0.0 on React 19. So treat my result as one site's. Duplicate tags or no tags at all, the trigger is the same: an unpinned upgrade to a package most React tutorials still recommend.

Why are AI-built websites hit hardest?

AI-built websites are hit hardest because coding agents usually install the latest version of a package, and since 3 March 2026 the latest react-helmet-async is v3. Ask Lovable, Cursor, v0 or Bolt to "add SEO to my React site" and the usual move is npm i react-helmet-async, with no version pin and no look at the issue tracker.

That's how it entered my build: an unpinned install, run by an agent, during a routine SEO improvement. Installed four months earlier, it would have resolved to v2.0.5. Installed in July, it resolved to v3.0.0.

A developer who follows the React ecosystem might have known about the fork. An agent running an install command doesn't read GitHub issues, and sites built this way are the ones least likely to have anyone checking DevTools afterwards.

Why doesn't anything catch it?

Nothing catches the react-helmet-async v3 problem because every standard check passes: the page renders, the console stays quiet, and Google keeps indexing. The page looks perfect to users. Googlebot renders JavaScript and still indexes the content, so rankings don't collapse overnight; they erode under the wrong titles.

Google's Rich Results Test came back green for me, because valid sitewide organisation schema in the static HTML hid the dead per-page layer. It detected one valid item, and no tool told me there should have been three.

I ran with this for weeks. Every theory chased the delivery layer (crawlers, prerendering, hosting) because that's where SEO problems usually live. The real failure was one layer up, and the test that found it takes ten seconds. The full investigation and method are in what an AEO audit actually looks like.

How do I check my site in ten seconds?

Open any inner page of your site, press F12 and type document.title into the console; if it returns your homepage's title, your head-management layer isn't running. That means the descriptions, canonicals, Open Graph tags and article schema it manages are missing too.

Two follow-up checks confirm it. Search the live DOM for data-rh: react-helmet-async marks the tags it manages with that attribute, so zero matches means it's doing nothing. Then use View page source (the raw HTML, not DevTools) and check whether the body contains your content at all. If it's a near-empty <div>, you can't count on crawlers such as GPTBot, ClaudeBot or PerplexityBot running JavaScript to fill it in, which is the SPA invisibility problem stacked on top of the head problem.

What is the fix?

The fix is to stop depending on an unpinned head library: pin react-helmet-async to a version you have tested, switch to the maintained fork, or replace the library with native head management. All three work if you verify the result.

  • Pin the version. npm i react-helmet-async@2.0.5 --save-exact goes back to the last 2.x release, published in May 2024. It's the smallest change, and fine on React 18.
  • Switch to the fork. @dr.pogodin/react-helmet keeps the familiar API and is actively published. Pin whichever version you test.
  • Remove the dependency. This is what I did. On React 18, setting document.title and a few tags in a useEffect needs no library. On React 19, you can render <title>, <meta> and <link> inside components and React places them in the head; render one <title> per page, since React doesn't deduplicate them.

Whichever you choose, verify the way you diagnosed: document.title must change per page, and the managed tags must be in the head. Then check the second layer. Your prerendered or server-rendered HTML has to carry those tags for crawlers that don't run JavaScript, because a head manager that only works after JavaScript runs fixes half the audience.

Now that brandinglab.io runs on Webflow, this whole class of failure is gone for me: Webflow writes titles, descriptions, canonicals and schema into the server-rendered HTML, with no client-side head manager. The same is true of the Webflow sites I build for clients, such as the Opsi Systems website.

How do I stop AI coding agents breaking SEO?

You stop AI coding agents breaking SEO by adding the checks they skip: pin dependency versions, review dependency changes in every diff, and test what machines receive after each install. This bug mostly lives on sites built by AI agents, and there are more of those every week.

I still build with AI tools every day. The discipline they lack is verifying what crawlers actually get, at every layer, after every change. If you want that checked properly, the AEO services include it, and you can start by running the free AI test, which shows whether crawlers can read your pages and whether your schema is there.

FAQ

Questions, answered.

What does react-helmet-async do?

react-helmet-async manages the document head in React applications: page titles, meta descriptions, canonical links, Open Graph tags and JSON-LD, updated per route in single-page apps. It became the standard successor to react-helmet and appears in years of tutorials and starter templates. npm recorded about 2.6 million downloads in one October 2026 week.

Is react-helmet-async v3 safe to use?

It depends on your setup, so test it before you trust it. v3.0.0, published on 3 March 2026, says it adds native React 19 support and keeps React 16 to 18 behaviour; the maintainer of the @dr.pogodin/react-helmet fork reports it no longer deduplicates tags on React 19, and on my React 18 site it applied nothing. Pin a version you have tested, use the fork, or use native head management.

How do I know if my site has this bug?

Open any inner page, press F12, and type document.title in the console. If it shows your homepage's title instead of the page's own, the head layer isn't working. Confirm by searching the live DOM for data-rh; zero matches means react-helmet-async is managing nothing.

Why didn't Google flag this?

Googlebot renders JavaScript and indexes the visible content, so pages don't disappear; they compete with wrong titles and missing schema, which looks like slow underperformance. Validation tools such as the Rich Results Test check that existing markup is valid. They don't know which markup should exist and doesn't.

My site was built with Lovable, Cursor or v0. Am I affected?

Possibly, if SEO or meta-tag work was done after 3 March 2026 without a pinned version, because agents usually install the latest release. The ten-second document.title check answers it for your site. If the head layer is fine, still check your raw HTML, since many AI-built SPAs also send empty shells to crawlers that don't run JavaScript.

Should I stop letting AI agents manage dependencies?

No, but add the guardrails agents lack: pin versions, review dependency changes in diffs, and check behaviour after any install instead of trusting a clean build. A clean install doesn't mean it works. Check the page after every dependency change.

No items found.

Next experiment

Are ChatGPT, Gemini and Claude naming you

?

Run the free AI test and find out in two minutes. No sign-up. If you'd rather talk it through, book a discovery call.