Getting found by Google · 2 min read

JavaScript SEO basics for custom web app sites

Google handles JavaScript sites in three phases, crawling, rendering and indexing, and pages may sit in the render queue for seconds or longer before a headless Chromium runs the scripts.

What it means for your Maryland business

JavaScript SEO basics come down to making sure Google can see what a script-built site shows people. Google runs a page's JavaScript before indexing it, but only after a wait in a render queue and only if robots.txt doesn't block the scripts. In Maryland, the concern falls on businesses whose sites were built as custom web apps rather than on a standard site builder: tech startups in Columbia and Bethesda, software and biotech firms in Montgomery County, booking platforms, online marketplaces and agencies that build in modern frameworks.

A startup in Baltimore's Harbor East books home services through a single-page app. Every page loads from one address with a # in the URL, and a broken link shows a friendly not-found message with a normal success code. Google can't reliably treat the # views as separate pages and may index the error screens. The developer should switch routing to the History API so each service has a real address, send missing pages to a URL that returns a true 404 or add a noindex tag, and confirm in the URL Inspection Tool that each page's text appears in the rendered HTML.

Blocking script files in robots.txt is the most basic failure, because Google then can't render the page. Other trouble comes from changing the canonical tag with JavaScript to a different address than the HTML sets; relying on cached script files with the same name after updates, which fingerprinting in file names prevents; and assuming all bots run JavaScript. Server-side rendering or pre-rendering helps here, and Google still calls it a great idea for speed.

What to do this week

4 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
If a developer built your site as a custom web app, ask them to review it against Google's JavaScript SEO basics guide.
02
Check that each page has its own normal web address and doesn't rely on a # sign to load different content.
03
Ask your developer to make sure missing pages return a real 404 error or carry a noindex tag, not a normal page that just says not found.
04
Have them view the rendered HTML in the URL Inspection tool or Rich Results Test to confirm Google sees your text.

In Google's words

“To ensure that Googlebot can parse and extract your URLs, don't use fragments to load different page content.”

Google, exact quote · Understand JavaScript SEO Basics · checked against this page 2026-11-28

What Google says

Google handles JavaScript sites in three phases, crawling, rendering and indexing, and pages may sit in the render queue for seconds or longer before a headless Chromium runs the scripts. It won't render JavaScript from files or pages that robots.txt blocks. Google advises meaningful HTTP status codes, History API routing instead of URL fragments, avoiding soft 404s in single-page apps, content fingerprinting in file names, and checking that web component content appears in the rendered HTML.

Report an error