Question

Why does my title tag say "Vite + React + TS"?

Because that is the scaffold's default title and nobody replaced it. Every app created from the Vite template ships an index.html whose title is "Vite + React + TS", and when a head-management component sets a new title, the change happens after the page has loaded, which is after a crawler has already read the document. Search results and AI answers lead with the title, so right now yours says nothing about your product to everyone who does not run JavaScript.

Why it lingers

A Vite build has a single index.html, and it is a template: whatever title sits in it is what every route serves. Libraries like react-helmet replace the title once the app is running, which is fine for the browser tab and invisible to a crawler, a search result snippet and every social preview, all of which read the document as it arrived.

Where to set it instead

In the template itself: edit index.html and write the title and description directly. If the project is Next.js, export metadata from the page, or generateMetadata when the title depends on data. Both write the tags into the HTML before anything runs, which is the only moment crawlers are reading.

The per-route problem

One template means one title for every route, and that is the deeper version of this bug: your /pricing page announces itself with the home page's words. Per-route titles need per-route HTML, which is what a prerender step produces, or a framework that renders per request. Until then, write the title for the page that matters most and know the rest inherit it.

What a good title looks like

Your product's name and what it does, in roughly the length of a search result line. Not the framework, not the template, and not a list of keywords. If an answer engine quoted only your title to describe your site, it should describe your site.

More questions

All questions →

Scan your site

Free, no account. You get the full checklist and your score.

Only scan sites you own or are authorised to scan. Free scans are limited. Terms

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.