Skip to content
SEO与数字营销

Written but Never Seen: Why Vue/React Titles, Canonicals and Schema Never Reach the Crawler

Metadata can be written, visible in a browser and still absent from the response a crawler fetched. A practical breakdown of the three causes, the checks you can run today with only a browser and your own property access, and the items that need rendering or server access.

By Meta2Mil Filed under Meta2Mil research

Brand promotion: this article introduces Guangsuan's on-site technical SEO work and its Vue and React rendering guidance. It is a vendor introduction, not an independent review, and the commercial links below are marked sponsored.

The short answer

When a title, description, canonical tag or JSON-LD block is plainly visible in a browser but is not there when the page is fetched, the cause is one of three, and each one has a different owner and a different fix. The values only exist after client-side JavaScript runs, so they were never in the response the crawler fetched. The values exist but conflict: a title set only after client-side navigation, a canonical injected by script to a different address than the one in the original HTML, a noindex written into the original page code, or a template that hands every page the same description. Or nobody has looked at the fetched page at all, because the browser already ran the scripts and the team treated its own view as evidence about what Google received. Work in that order. Read the delivered HTML first, because a rewrite that was never in the fetched HTML cannot change what the crawler sees.

Three layers that get confused

The delivered HTML, the rendered DOM and the fetched page are three different documents, and each answers a different question.

LayerWhat it isHow to read itWhat a gap tells you
Delivered HTMLThe bytes the server returns for that URL, before any script runsView source, or save the response with a plain HTTP requestWhether the crawler had the text, the links and the head tags in the first place
Rendered DOMWhat the browser builds after the scripts runDeveloper tools, Elements panel, in a clean session with no cookies or stored stateWhether the app can produce the content at all, and nothing about when it appeared
Fetched pageThe HTML Google retrieved on its last crawl, plus the version it rendered from itURL Inspection in Search Console: the indexed version, the last crawl date, and a live testWhat Google actually holds, and what it can fetch right now

The gap between the first two rows is the diagnosis. Google's documentation describes the app shell model, where the initial HTML does not contain the actual content and Google has to execute JavaScript before it can see the page content. That is exactly why a browser view proves nothing: your browser did the work the crawler may or may not do, and it did it with your cookies, your session and your local storage still in place. A successful local browser run does not show that Google has fetched, indexed or selected the URL.

Reproduce the difference instead of describing it in a ticket. Save the response without running any scripts:

curl -L -D response-headers.txt -o response.html 'https://your-site.example/products/example/'

That command follows redirects and writes the headers and the body to disk without executing JavaScript. The headers file can contain several hops, so read the final status rather than the first one. Then open response.html and search for one sentence you know is on the page, one internal link a visitor should be able to follow, and the title. If they are not in that file, they were not in the response the crawler received. Changing the User-Agent to Googlebot only tests that header; it does not turn your request into a verified Google crawl.

Two habits keep this honest. A character-count difference between the delivered and the rendered file shows that a dependency exists, but not which answer was missing. And a single screenshot, or a note that the content appeared within five seconds, cannot establish that a page was indexed: a screenshot covers the visible area only, and the timing is a property of your own test rather than of Google's crawl.

What each rendering strategy sends first

Google processes a JavaScript site in three phases, crawling, rendering and indexing, and it uses the rendered HTML to index the page. Crawling and rendering are separate steps: pages that return a 200 status are queued for rendering unless a robots meta tag or header tells Google not to index the page. The useful question is therefore not whether Google runs JavaScript, but whether the content existed before the render and whether anything would make the crawler wait for it.

The comparison below comes from Guangsuan's Vue.js SEO guide on prerendering, SSR and crawlability:

StrategyWhat the crawler receives firstWhere it fits
Client-side rendering (CSR)A near-empty shell; content appears only after the script runsApplication screens that genuinely do not need to be found in search
Prerendering (SSG)Static HTML built at build time for known routesFixed marketing and content pages
Server-side rendering (SSR)HTML generated per request, with the content and the links in itPages that must be indexed reliably or that vary per request
HydrationSSR or prerendered HTML, then the script attaches interactivityAny SSR or prerendered page that also needs to be interactive

The rule that follows is short. If a page's ranking matters, its core text and internal links should exist in the HTML the server returns, before any client script runs. Hydration is an addition to SSR or prerendering rather than a replacement: it makes a page interactive, but the content has to be in the first response for it to have something to attach to. Server-side and prerendered delivery also make the site faster for users and crawlers, and not all bots can run JavaScript at all.

Cause 1: the values arrive after the response

The symptom is that the delivered HTML holds a shell, a loading message or a script tag and little else, while the rendered DOM has the whole page. Four patterns account for most of it in Vue and React builds: the article body arrives from an API call after the app mounts; the title and meta description are set only after client-side navigation; the JSON-LD block is injected after the API response resolves; the internal links exist only as script-generated elements. Google's documentation notes that links have to be a elements with an href attribute for them to be discovered, and that injecting links into the DOM with JavaScript is acceptable as long as they follow the best practices for crawlable links. Googlebot parses the response for links and queues them, then parses the rendered HTML for links again once the page has been rendered. A link that exists only in client-side code is therefore not lost, but it enters the queue later than a link that was already in the response.

To rule it in or out: read response.html as above, then reload in developer tools with the cache disabled and watch the Network panel for the content request, the Elements panel for the same expected sentence, and the Console for runtime exceptions. A 200 status tells you the request succeeded, not that it returned the content, because a login page or an error object can arrive with a 200 status. And a content API answering 403 is a separate problem from a robots.txt rule, so read the actual denial reason instead of assuming where it came from.

Who fixes it: the rendering configuration. Prerendering a fixed set of routes, moving a route to server-side rendering, taking the primary content out of the mount-time fetch, or emitting the JSON-LD in the rendered HTML. Server-rendered delivery also reaches systems that do not execute scripts at all, which some AI tools fall into, so a shell page loses those readers entirely.

Cause 2: the metadata is there, but wrong or in conflict

This is the case where the delivered HTML does contain a head, and the values themselves are the problem. Four patterns repeat.

  • A title that changes only after client navigation. If the title and meta tags are set through client-side JavaScript only, the crawled page can keep the default value for that route. Google's documentation does allow JavaScript to set or change the title and the meta description, so the problem is not that it is impossible; it is that the value in the fetched response and the value a reader sees can be two different things.
  • A canonical that points somewhere else than the original HTML says. Google's guidance is explicit: if you use JavaScript to set the canonical URL, do not change it to something other than the URL you specified as the canonical in the original HTML, and make sure it is the only canonical link on the page.
  • A noindex in the original page code. Google's documentation warns that when it encounters the noindex tag it may skip rendering and JavaScript execution, which means a script that removes the tag later may never get the chance to run. A page meant to be indexed should not carry the directive in the first response.
  • An unknown route that answers with a normal application page. In a client-routed app that produces a soft 404, and Google's documented options are to redirect to a URL the server answers with a 404 status, or to add a noindex to the error page. Meaningful status codes are what let a crawler tell a missing page from a real one.

Duplication sits in the same family with a different fix. When a whole template emits the same description, editing the field on one page does not change what is rendered: the value lives in the template, so the change belongs there, and it is re-checked on one sample page per template rather than on every address.

Cause 3: the verification was reading the wrong view

Sometimes the metadata is delivered correctly and the page is still absent from results. Search Console labels are the usual source of confusion, because they describe what the engine observed on that address at a point in time rather than a proven cause.

  • Crawled and currently not indexed means Google fetched the page and did not put it into the index. Google's own documentation calls this a common message that does not necessarily indicate an issue needing attention, and asks you to read the specific reason for that URL.
  • Discovered and currently not indexed means the URL was found but not crawled, so there is no crawl date on record. That points at discovery paths, server availability and how many URLs you expose, not at the wording on the page.
  • Not indexed is not automatically wrong. A robots.txt rule, a noindex tag, a duplicate URL or a 404 with no replacement are all legitimate reasons for a URL to stay out of the index, and the report only covers the URLs Google knows about.
  • Indexed does not mean visible. Being indexed means the page is eligible to appear in results, and search results are customised per user, so an indexed page can still fail to surface for a given query.

Two more checks keep the verification honest. The totals in the index report are complete from Google's perspective, but small discrepancies can occur, and a site: query is not an exact inventory of indexed URLs either, so a counted total is not an indexing rate. And the indexed version shown in URL Inspection describes the page as it was at the last crawl, while the live test describes what can be fetched now: two observations, two dates, kept apart.

What you can verify today

These checks need a browser, a shell and your own property access. Run them in order; each one removes a possible cause and each one is quick.

CheckHowWhat a result tells youWhat it cannot tell you
Save the delivered responseView source or the curl command above; search the file for one expected sentence, one internal link and the titleWhether the core content was in the response a crawler receivedThat Google will index the page
Read the head in both statesCompare the title, meta description, canonical and meta robots in response.html with the rendered headWhether the values change between the two statesWhich value Google used on its last crawl
Check the permission signals for that pathThe robots.txt rule that matches the path and user agent, the meta robots tag and the X-Robots-Tag headerWhether the page was invited to be crawled and indexedWhy a particular URL was excluded
Compare against a working siblingOne page of the same template that is indexed, and one URL that should not existWhether the problem is the URL or the templateThat the template is right on every page
Read the fetched pageURL Inspection live test: read the rendered HTML for the main text, the links and the title; use the Rich Results Test for structured dataWhat Google fetched and what it built from itThat the page is indexed; a valid structured-data item does not mean Google will display a rich result
Write the row downOne line per URL: address, date, status after redirects, declared canonical, canonical Google selected, robots rule, robots tag, index state, crawl dateThe baseline you compare against after any changeAnything about future crawls

What needs the rendering or server owner

Some items cannot be done from outside the site at all: switching a route to server-side rendering, adding it to a prerender build, emitting the JSON-LD in the rendered HTML, injecting the canonical at build time, removing a noindex that a template writes, returning a real 404 for an unknown route, or changing the robots rules for a path. Each one lives in a theme file, a plugin setting, a server configuration or a deployment pipeline, and each one affects every page built on that template.

So the hand-over is the deliverable, and it should be checkable line by line rather than written as a request to fix the metadata.

ItemWhere the value livesWhat done meansHow it is re-checked
Delivery mode per routeBuild configuration or server routingThe route's core text and internal links are in the first response, not only after the script runsRead the delivered response for that URL, and the same URL again after deployment
Canonical emissionTemplate or head injectionExactly one canonical, equal to the URL given in the original HTMLRead the head of the fetched page
Title and description per routeRender-time codeEach route returns its own title and descriptionRead the head of one page per template
Structured data timingRender step or componentThe JSON-LD is present in the rendered HTML and mirrors facts that are visible on the pageRead the rendered HTML and run the Rich Results Test
Index directivesTemplate, plugin or response headerNo noindex in the original response for a page that should be indexedRead the response headers and the meta robots of the live URL
Unknown routesServer routingA non-existent URL answers with a real 404 statusRequest the URL and record the status
Permission rules for a pathrobots.txtThe rule matching that path and user agent allows the intended crawlRead the file and the specific path

Two records make the difference between a repair and a claim. Keep the pre-change baseline: address, date, status after redirects, declared and selected canonical, robots rule, robots tag, index state and crawl date, so a later comparison is like for like. Then keep the change log: the URL, the field, the old value, the new value, the date, the owner and a backup reference. After the change, re-run the original URL, a neighbouring working page and an error route, and confirm the body, the links, the canonical, the metadata and the readability of each one before anyone calls the work done.

A worked example (teaching illustration)

The following is invented for teaching. It is not a measured site, not a client result, and nothing here was crawled for this article.

URLDelivered HTMLRendered DOMFetched pageClass
/products/pump-a/Shell, title 'Loading', one script tagProduct name and a full spec tableSame shell; the spec table is absentDelivery: the primary content arrives after mount
/products/pump-b/Its own title and description, canonical pointing at /products/pump-a/Same valuesSame values, fetched and renderedConflict: a canonical that disagrees with the original HTML
/products/pump-c/The site's default title and description, shared with forty other pagesSameSameTemplate value: a per-page edit would be overwritten by the template
/guides/pump-selection/Full text, links and a per-route titleSameFetched and rendered; the index state says crawled but not indexedNot a rendering problem: read the specific reason for that URL before changing anything

Read that table from the bottom up. The last row is the one most teams get wrong: the metadata is fine, the delivery is fine, and the reason label still has to be read on its own terms.

Where Guangsuan fits

Two of the pages behind this article are published by Guangsuan. The rendering strategies in the table above come from the Vue.js SEO guide linked earlier, and the hand-over side comes from Guangsuan's on-site technical optimisation service page. Its published scope covers crawl and indexing work, including access status, robots, noindex, canonical, XML sitemaps, redirects and dead links, with core content pages, duplicate pages, filter pages and search-result pages judged separately rather than as one cleanup list. Alongside that, the page-and-content scope covers the title, the description, heading structure, image alt text and the structured data a page actually needs. The delivery is described as diagnosis, change and re-test rather than a list of recommendations, and the hand-over lists the optimised URL and priority-page list, the problem baseline from before the change, change records for titles, body copy, internal links and configuration, backup and rollback notes, re-test results, and the unfinished items with maintenance advice.

Two boundaries in that published scope matter here. The service states that fixed rankings, a number of indexed pages and a number of enquiries are not promised, so it cannot be presented as a guarantee that a fixed page will be indexed. And the division of labour is explicit: implementation support is described as covering WordPress, WooCommerce and common enterprise CMS platforms first, with custom builds and closed platforms assessed by how much can actually be modified. Where your own development team makes the changes, the published guidance is to settle responsibilities and re-check arrangements in advance, so that suggestions which were never implemented are not counted as completed work. The same page records technical completion and search performance separately, which keeps a green technical check from being reported as recovered rankings.

One more boundary belongs in the same place, because structured data is often treated as an indexing lever. Markup describes facts that are already visible on the page; it does not decide which page an answer engine quotes. A structured-data test checks the markup, and an item reported as valid does not mean Google will display a rich result, while no item detected does not mean the body text is invisible. Google's own guidance is to look at the rendered HTML with the Rich Results Test or URL Inspection, which is the same step listed above.

Frequently asked questions

Does switching every page to server-side rendering fix this?

No. It helps when the missing part is the server delivery of public text, links, titles or structured data. Blocked resources, a conflicting canonical, a noindex left in a template, a login requirement and duplicate pages each need their own fix, and the same URLs have to be re-tested afterwards.

Can I check all of this from a browser?

Most of it. You can save the delivered response, read the head in both states, check the robots rule for a path and the headers on a live URL, and compare a working sibling page with a broken one. Reading the fetched page and the index state needs Search Console property access; without it, save the response and the head output and hand them over with the URL and the date.

My report says crawled but not indexed. Does that mean the copy is too thin?

Not on that label alone. Google's documentation asks you to read the specific reason for the URL, and describes the label as a common message that does not necessarily indicate an issue needing attention. Read the reason for that address before you rewrite anything.

Will a passing structured-data test get the page indexed?

No. It confirms that the markup is present and parseable. Whether the page is indexed, and whether it appears for a query, are separate decisions that the test does not make and that no test can make for you.

What this article did not verify

No site was crawled, measured or audited for this article, and the worked example is invented for teaching. A single search check on the main question, run on 26 November 2026, returned results about e-reader book covers rather than relevant competing pages, so the assessment of competing coverage here is an editorial judgement built on the linked sources and not a completed search-results comparison. Nothing here promises a ranking, a traffic figure or an enquiry outcome for any site.

Find your metadata gap

See exactly which title tags, schema and anchors are holding your pages below their ranking ceiling.

Book My Metadata Audit →