How to Fix Generic Page Titles Like "Home" and "Untitled"

Some of your pages have a placeholder <title> such as "Home", "Untitled", "Index", "Document" or "React App". These titles say nothing about the page to search engines, AI assistants or people scanning browser tabs. By the end of this guide you will have found every affected URL, written a descriptive title for each, and fixed the template that produced the placeholder so it does not come back.

By Updated ⏱ 20 minutes🎯 Beginner● Medium impactOn-Page
Illustration: Generic page titles ("Home", "Untitled") fix guide
ON-PAGE · FIX GUIDE Generic page titles ("Home", "Unt… IMPACTEFFORT TIME20 minutes LEVELBeginner

Why it matters

The <title> element is the strongest on-page relevance signal and the default text for the clickable headline in search results. A title of "Home" competes with millions of identical titles and gives no reason to click, so Google often rewrites it from your H1 or anchor text, which you then don't control. AI answer engines and social or chat link previews also use the title to label and cite your page, and browser tabs, bookmarks and screen readers announce it first, so a generic value hurts click-through, citations and usability at once.

✕Before<title>Home</title> onhttps://example.com/ and<title>Untitled</title> on✓After<title>Handmade Leather Wallets & Bags| Example Co</title> and <title>CustomLeather Repair Services | Example

What you need

Admin access to your CMS or the site's template files
A list of your important pages and the main keyword for each
A crawler such as Screaming Frog SEO Spider (free up to 500 URLs) or your audit report
Browser DevTools for checking the rendered title

Step-by-step fix

1

List every page with a placeholder title

Use the URL list from your audit, or crawl the site in Screaming Frog and open the Page Titles tab, then sort by title so identical values group together. Look for these common placeholders:

  • "Home", "Homepage", "Index", "Welcome"
  • "Untitled", "Untitled Page", "New Page", "Page 1"
  • "Document" (editor boilerplate), "React App", "Vite App", "Vite + React + TS"
  • An empty <title></title> or only the brand name

Note whether each one comes from a single page or a shared template, because a template fix covers many URLs at once.

Pro tip: If dozens of URLs share the same placeholder, the cause is almost always one layout file or a framework default, not individual pages.
2

Write a descriptive title for each page

Use the pattern Primary keyword – specific topic | Brand and keep it to roughly 50–60 characters so it isn't truncated in results. Put the words people actually search for first and the brand last. For the homepage, describe what you sell or do instead of writing "Home".

Make every title unique; two pages with the same title will still look generic to search engines.

text
Homepage:  Handmade Leather Wallets & Bags | Example Co
Category:  Men's Leather Wallets – Bifold & Cardholder | Example Co
Service:   Custom Leather Repair Services | Example Co
Contact:   Contact Example Co – Workshop Hours & Location
Pro tip: Check the page's H1 and the title you write tell the same story; Google is less likely to rewrite a title that matches the visible heading.
3

Fix hardcoded titles in static HTML and boilerplates

Open each affected HTML file (or the shared header include) and replace the placeholder inside <head>. For apps built with Vite or Create React App, the default lives in index.html and is what crawlers and link previews see before JavaScript runs, so change it there even if you also set titles in code. Make sure there is exactly one <title> element per page.

html
<!-- inside <head> -->
<title>Handmade Leather Wallets & Bags | Example Co</title>
Pro tip: For single-page apps, also set document.title on every route change, but treat that as a supplement to server-rendered titles, not a replacement.
4

Set titles in WordPress with your SEO plugin

In Yoast SEO, go to Yoast SEO → Settings → Site features/Content types → Homepage and edit the SEO title; for other pages, edit the page and fill in the SEO title field in the Yoast box. In Rank Math, use Rank Math SEO → Titles & Meta → Homepage, and the Edit Snippet button in the page editor. If a page was published with the title "Untitled" or "Home", also rename the page itself in the editor, since templates like %%title%% reuse it.

Only hardcode a <title> in a child theme if you are not using an SEO plugin.

php
<!-- child theme header.php, only if no SEO plugin manages titles -->
<title>Handmade Leather Wallets & Bags | Example Co</title>
Pro tip: Remove any hardcoded <title> from header.php when an SEO plugin is active; themes should use add_theme_support('title-tag') so the plugin controls it.
5

Fix the title tag in Shopify's theme layout

Go to Online Store → Themes → ⋯ → Edit code and open layout/theme.liquid. Replace any hardcoded title with the snippet below so each page uses its own page_title and appends the shop name once. Then set the homepage title in Online Store → Preferences → Title and meta description, and per-page titles under Search engine listing → Page title on each product, collection and page.

liquid
{%- capture seo_title -%}{{ page_title }}{%- if current_page != 1 %} – Page {{ current_page }}{% endif -%}{%- endcapture -%}
<title>{{ seo_title }}{% unless seo_title contains shop.name %} | {{ shop.name }}{% endunless %}</title>
Pro tip: A homepage title showing "Home" in Shopify usually means the Preferences title field is empty and the theme falls back to the page name.
6

Use a title template in Next.js

In the App Router, define a default and a template in the root layout, then export a page-specific title from every route. Without a page-level title, every route inherits the default, and a missing default can leave the stock "Create Next App" value from the starter. For dynamic routes, return the title from generateMetadata using the product or post name.

javascript
// app/layout.tsx
export const metadata = {
  title: { default: 'Example Co – Handmade Leather Wallets & Bags', template: '%s | Example Co' },
};

// app/services/page.tsx
export const metadata = { title: 'Custom Leather Repair Services' };

// app/products/[slug]/page.tsx
export async function generateMetadata({ params }) {
  const { slug } = await params;
  const product = await getProduct(slug);
  return { title: product.name };
}
Pro tip: In the Pages Router, set titles with <Head><title>…</title></Head> from next/head on each page instead.
7

Check the served title and re-run the audit

Load each fixed URL and confirm the title in the raw HTML, not just the browser tab, because crawlers read the server response first. Clear any page cache or CDN cache (WP Rocket, Cloudflare, Vercel) so the old title isn't still being served. Then re-run the audit; the check passes when none of your pages use a placeholder title.

text
curl -s https://example.com/ | grep -io '<title>.*</title>'
Pro tip: Request reindexing of your most important URLs in Google Search Console with URL Inspection → Request indexing to speed up the update in results.

Platform-specific notes

WordPress

Titles come from the SEO plugin (Yoast or Rank Math) if one is active, otherwise from the theme via add_theme_support('title-tag'), which uses the page name plus Settings → General → Site Title. A front page named "Home" with no SEO title set will output "Home – Site Title".

Shopify

Homepage title is set in Online Store → Preferences; products, collections, pages and blog posts each have a Search engine listing → Page title field. If that field is empty, Shopify falls back to the item name, so rename items called "Home" or "Untitled".

Wix

In the Editor open Pages & Menu, click ⋯ next to the page → SEO basics → Title tag. For many pages at once use Dashboard → Marketing & SEO → SEO → SEO Settings to edit title patterns per page type. New pages default to names like "Blank Page", so rename them.

Webflow

Open the Pages panel, hover a page, click the gear icon and fill in SEO Settings → Title Tag. For CMS collection templates, insert collection fields (e.g. Name) into the Title Tag so each item gets a unique title, then publish the site.

React / Vite SPAs

The <title> in index.html is served for every route before JavaScript runs. Change the "Vite App" or "React App" default, and set route-specific titles with React 19's <title> element in components or a library like react-helmet-async; for SEO-critical pages consider server rendering or prerendering.

Check that it worked

✅ How to verify

  • Run curl -s https://example.com/page | grep -io '<title>.*</title>' for each fixed URL and confirm the descriptive title appears in the raw HTML.
  • Type document.title in the DevTools console on each page to confirm the rendered title matches and no script overwrites it with a placeholder.
  • Recrawl in Screaming Frog and check the Page Titles tab shows no "Home", "Untitled", empty or duplicate values, then re-run the audit.
  • In Google Search Console, use URL Inspection → View crawled page → HTML to confirm Google sees the new title.

⚠️ Common mistakes

  • Editing the visible H1 or the CMS page name in the menu but leaving the <title> element unchanged.
  • Replacing "Home" with just the brand name ("Example Co") on every page, which creates duplicate, still-generic titles.
  • Setting titles only with client-side JavaScript while the server HTML still says "React App" or "Document".
  • Leaving a hardcoded <title> in the theme after installing an SEO plugin, which outputs two title tags.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Why does Google show a different title than "Home" in search results?

When a title is generic, too short or doesn't match the page, Google generates its own title link from the H1, other headings or anchor text. Writing a specific, accurate title is the most reliable way to get Google to use yours.

How long should a page title be?

Aim for about 50–60 characters. Google truncates by pixel width (around 600px on desktop), so longer titles get cut off with an ellipsis; put the important keyword in the first half.

What should the homepage title be instead of "Home"?

Describe what the business offers and add the brand, for example "Handmade Leather Wallets & Bags | Example Co". If you have a strong brand people search by name, you can lead with it: "Example Co – Handmade Leather Wallets & Bags".

Will changing page titles hurt my rankings?

Replacing a placeholder with a descriptive title usually improves relevance and click-through. Expect some fluctuation for a few days while Google recrawls; avoid changing well-performing titles repeatedly.