"crawled - currently not indexed" Error when using Blazor WebAssembly #64346
Replies: 1 comment 1 reply
-
| So, here’s the thing, Google hates pages that trigger heavy WASM loads during its “Request Indexing” fetch. The second Googlebot sees a giant waterfall of And yeah, the “Oops! Something went wrong” error in GSC… that’s just Google quietly saying:
Now, here’s the important insight: This has nothing to do with the HTML your Razor Page renders. Even if the Your observations confirm it:
So what can you do?✔️ 1. Defer Blazor loading in a way Googlebot never sees itGooglebot doesn’t scroll, doesn’t interact, and doesn’t wait for dynamic JS triggers. Instead of: <script src="~/_framework/blazor.webassembly.js"></script>…load WASM only after a real user interacts, e.g. click, scroll, or intersection observer. Example lazy-load snippet: <script> document.addEventListener("DOMContentLoaded", () => { const section = document.getElementById("interactive-section"); const observer = new IntersectionObserver(entries => { if (entries[0].isIntersecting) { const s = document.createElement("script"); s.src = "/_framework/blazor.webassembly.js"; document.body.appendChild(s); observer.disconnect(); } }); observer.observe(section); }); </script>Googlebot will never trigger that. Your server-rendered HTML = indexable. ✔️ 2. Move Blazor WASM pages behind a separate route subtreeIf these are just 3 interactive pages, another clean option is:
You link from the indexed page → interactive page. ✔️ 3. Use SSR Blazor instead of WASMI know, I know, maybe overkill, maybe not what you want. ✔️ 4. Add noindex to Blazor-heavy versionsIndex the normal HTML version. In short, Googlebot sees WASM → assumes it needs JS execution → refuses indexing. Fix: Lazy-load or conditional-load the Blazor WASM boot script so Google never sees it. That’s it. No magic. Just Google being picky. Hope this helps. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I have an ASP.NET Core Razor Pages website where most pages are purely server-rendered, and they’re all indexed by Google just fine. However, I have three pages that contain Blazor WebAssembly components, and these pages are crawled but not indexed by Google Search Console (Crawled - currently not indexed). And when I try to "REQUEST INDIXING" through GSC. I get the following error: "Oops! Something went wrong We had a problem submitting your indexing request. Please try again later."
Here’s an example page that throws an error when trying to request indexing:
I’m aware that Google doesn’t execute or index client-side Blazor (WebAssembly) content, but in this case, I'm concerned with the HTML that is already rendered on the server, not client-side Blazor.
What I’ve tried:
<component type="typeof(Core.Blazor.KeyboardContainer)" render-mode="WebAssembly" />And the problem presisted. So I guess the error is occurring because I am loading a ton of wasm files through this line<script src="~/_framework/blazor.webassembly.js"></script><script src="~/_framework/blazor.webassembly.js"></script>and the error cleared.What can I do to index pages that are server-side rendered HTML and contain Blazor client-side?
Beta Was this translation helpful? Give feedback.
All reactions