Is Google actually seeing your website?
Published
SEO
6 minute read
Many modern websites send search engines an empty page and fill it in with JavaScript. Here is how to check whether yours does, and how to fix it.
A website can look perfect in a browser and still be close to blank for a search engine. It happens more often than people think, and it is one of the most common reasons a good-looking site never shows up on Google.
What an empty page looks like
Many sites built with popular JavaScript tools send the browser a nearly empty HTML file: a title, a few meta tags and a single empty element. The visible page is then assembled in the browser by JavaScript. People never notice, because it happens in a fraction of a second.
Search engines do notice. Google can run JavaScript, but it does so in a second, slower pass, and not always completely. Many other crawlers, including the ones behind social previews and several AI assistants, do not run it at all. To them, your services, your case studies and your contact details do not exist.
A two-minute check
- Open your website, right-click and choose View Page Source. This shows the raw HTML your server sends, before any JavaScript runs.
- Search the source for a sentence you can see on the page, such as your main headline or a service name.
- If you cannot find it, search engines are starting from an empty page too.
- Paste your URL into Google's Rich Results Test or URL Inspection tool and look at the rendered HTML and screenshot it reports.
Other signs something is wrong
- Your sitemap.xml or robots.txt address returns your homepage instead of a file.
- Shared links show a broken or missing preview image, often because the image address is relative rather than a full URL.
- Every page has the same title and description in search results.
- Searching site:yourdomain.com on Google returns one result, or none.
How to fix it
The durable fix is to render pages on the server, so the HTML that leaves your server already contains the content. Frameworks such as Next.js do this by default: each page is generated ahead of time or on request, and JavaScript then adds interactivity on top.
Rendering alone is not enough. Each page also needs its own title and description, a canonical address, structured data that describes your business, a sitemap that lists every page and a robots file that points to it. None of this is visible to visitors, and all of it is read by search engines.
If a sentence is not in your page source, assume a search engine cannot see it.
When to rebuild and when to patch
Pre-rendering services can patch a client-rendered site for crawlers, but they add cost and another thing to break. If your site is also slow or hard to edit, moving to a server-rendered setup usually pays for itself, because it fixes visibility, speed and editing in one go.