Check 10.01 · On-page SEO and metadata

Write a unique title for each important page

Give every important page a unique, descriptive title, set up the WordPress, Shopify, PrestaShop, Drupal, Next.js or Laravel templates and find duplicates.

Priority
Important
Difficulty
Easy
Estimated time
2 h to 2 days
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

The title is the text of the <title> element, placed in the page's <head>. It shows in the browser tab and in bookmarks, and it is the main source of the clickable headline in search results. Once this check is done, every indexable page that matters (homepage, categories, services, product pages, articles) carries a title of its own that describes its content and exists on no other URL of the site.

Why it matters

Google calls the blue headline of a result a “title link”. It generates it automatically, drawing first on the <title> element and then, if that element is missing, empty, misleading or repetitive, on the visible headline, <h1> elements, the og:title tag, the text of links pointing to the page or WebSite structured data. A missing or duplicated title means letting the search engine choose for you.

Google says it plainly in its documentation: every page should have a title, it should be descriptive and concise, and text repeated from page to page (boilerplate) helps no one. When twenty pages are called “Our products | Shop”, searchers cannot tell which result to pick, and the engine often rewrites the displayed headline.

The title also matters outside search engines: tabs open side by side, history, bookmarks, shares when no Open Graph tag is defined. On the generative engine side, the ChatGPT, Perplexity or Copilot interfaces usually present a cited source under its title; nothing is documented about how their selection systems use it. Bing, for its part, notes that pages with overly similar text and metadata make it harder for AI systems to choose the page that best answers an intent.

What it improves

  • Click-through rate A precise, distinct headline stands out on a results page. The effect is real but variable; measure it in Search Console.
  • Displayed headline Fewer rewrites by Google when the title is faithful to the page.
  • Readability for search engines The title is one of the elements that describe the page's topic. Google does not publish its weight in ranking.
  • Cannibalization Two pages that cannot be given different titles probably overlap. See detect keyword cannibalization (opens in a new tab).
  • AI citations Indirect and unproven effect. An explicit title makes the source identifiable when it is cited.

How to check

One page: read the title served in the initial HTML and check that there is only one.

curl -s https://example.com/thes/the-vert/ | grep -o -i '<title[^>]*>[^<]*</title>'
curl -s https://example.com/thes/the-vert/ | grep -c -i '<title'

Expected result: a single line, with text specific to the page. On a JavaScript-rendered site, compare with the title in the rendered DOM (see check title, description and canonical after rendering (opens in a new tab)) or with Search Console's URL Inspection, Test live URL > View tested page > HTML.

The whole site, without a paid tool: the free version of Screaming Frog crawls 500 URLs. Page Titles tab, Missing, Duplicate and Multiple filters. Export the list of duplicates.

The whole site, from the command line, starting from a plain sitemap (not a sitemap index):

curl -s https://example.com/sitemap.xml | grep -o '<loc>[^<]*' | sed 's/<loc>//' | head -500 |
while read -r url; do
  title=$(curl -s "$url" | tr '\n' ' ' | grep -o -i '<title[^>]*>[^<]*</title>' | head -n 1 | sed -E 's/<[^>]+>//g')
  printf '%s\t%s\n' "$title" "$url"
done > titles.tsv

cut -f1 titles.tsv | sort | uniq -c | sort -rn | awk '$1 > 1'

The last command prints every title that appears more than once, with its number of occurrences. An empty line at the top points to pages without a title.

Bing Webmaster Tools also flags titles shared by several pages in its site analysis (Site Scan).

How to implement

Before you start

  1. List the important pages: those that are indexable and target a query. The keyword-to-page map (opens in a new tab) gives you the list and the topic of each one.
  2. Write by hand the homepage, categories, service pages and strategic content.
  3. Set up a template for repeated page types (product pages, articles, local pages), fed by a field specific to each page.
  4. Plan an override field: the default title is built from the page name, and an “SEO title” field lets you rewrite it when needed.

Starting templates, to adapt:

Page type Template Example (fictional sites)
Homepage Brand: main activity, area or promise Thé des Lisières: organic loose-leaf teas, delivered in 48 h
Category Category name + useful detail | Brand Loose-leaf green tea: sencha, matcha, genmaicha | Thé des Lisières
Product page Product name + distinctive attribute | Brand Organic Sencha Fukamushi 100 g | Thé des Lisières
Local service Service + city | Brand Boiler servicing in Nantes | Plomberie Garnier
Article, guide Question or topic covered | Brand Which green tea suits your taste? | Thé des Lisières
SaaS feature Feature + benefit | Brand Drag-and-drop job scheduling | Planifia

Term placement and length are covered by separate checks: place important terms early (opens in a new tab) and aim for 50–60 characters as a benchmark (opens in a new tab).

WordPress

Versions WordPress 6.4 to 7.1, Yoast SEO 20 and later, Rank Math 1.0.x.

The theme must declare add_theme_support( 'title-tag' ); in functions.php: WordPress then generates the title in the format “Page title – Site name”. Check that no <title> tag is hard-coded in header.php.

With Yoast SEO: Yoast SEO > Settings > Content types, choose Posts, Pages or Products and set the SEO title template, for example %%title%% %%page%% %%sep%% %%sitename%%. For a specific page, open it in the editor, Yoast SEO panel, “SEO title” field.

With Rank Math: Rank Math SEO > Titles & Meta, Posts or Pages section, “Single Post Title” field, for example %title% %sep% %sitename%. The separator is set in Global Meta > Separator Character.

Without a plugin, add a seo_title custom field and this filter to a child theme's functions.php:

add_filter('pre_get_document_title', function (string $title): string {
    if (! is_singular()) {
        return $title;
    }

    $customTitle = get_post_meta(get_the_ID(), 'seo_title', true);

    return $customTitle !== '' ? $customTitle : $title;
});

Use only one SEO plugin: two active plugins often produce two <title> tags.

Shopify

Versions Shopify admin, Online Store 2.0 themes (Dawn, Horizon), November 2026.

Homepage: Online Store > Preferences, “Title and meta description” section, homepage title field. Products, collections, pages and blog posts: at the bottom of the item's page, “Search engine listing” section, “Edit” button, “Page title” field. Shopify accepts 70 characters in this field. When it is left empty, the product or collection name is used.

The theme builds the tag in snippets/meta-tags.liquid on Horizon and recent themes, and in layout/theme.liquid on Dawn. The template documented by Shopify adds the filtered tags, the page number and the store name:

<title>
  {{ page_title -}}
  {%- if current_tags %} &ndash; tagged "{{ current_tags | join: ', ' }}"{% endif -%}
  {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
  {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
</title>

If your theme does not use page_title, the titles entered in the admin are ignored: put this block back.

PrestaShop

Versions PrestaShop 8 and 9.

Product page: Catalog > Products, SEO tab, “Meta title” field. Categories: Catalog > Categories, “Meta title” field in the form. Fixed pages (home, contact, best sales): Shop Parameters > Traffic & SEO, “SEO & URLs” list, edit each page. When left empty, the title falls back to the product or category name.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9.

Per item: product or category, Search Engine Optimization section, Meta Title field. Default values and a shared prefix or suffix: Content > Design > Configuration, the store view row, Edit, then Other Settings > HTML Head (Default Page Title, Page Title Prefix, Page Title Suffix). For imported catalogs, Stores > Configuration > Catalog > Catalog > Product Fields Auto-Generation defines the meta title mask applied to new products. Flush the cache after any change (System > Cache Management).

Drupal

Versions Drupal 10.3 and 11, Metatag module 2.x.

Install the Metatag module (composer require drupal/metatag, then enable it). Default values are set in Configuration > Search and metadata > Metatag (/admin/config/search/metatag), per entity type, with tokens such as [node:title] | [site:name]. To enter a title page by page, add a field of type “Meta tags” to the content type.

Joomla

Versions Joomla 5 and 6.

Per page: menu item, “Page Display” tab, “Browser Page Title” field. For the whole site: System > Global Configuration > Site, the “Site Name in Page Titles” option, which adds the site name before or after the page title. An article displayed without a dedicated menu item uses its own title.

Wix

Versions Wix editor and dashboard, all plans, November 2026.

Per page: in the editor, Pages menu, page options, “SEO basics”, “Title tag” field. For a whole page type (products, blog posts), the SEO settings in the dashboard let you define a template with variables. Labels change over time: follow the Wix help article cited below.

Squarespace

Versions Squarespace 7.1, November 2026.

Per page: Pages panel, page settings icon, SEO tab, “SEO title” field. Shared format: SEO panel (“SEO/AI Visibility” in the current interface), SEO Settings, Search Appearance area, Home, Pages and Items tabs, SEO Title Format field. Variables: %s (site title), %p (page SEO title), %i (collection item title, blog post or product). Example: %p | %s. On a version 7.0 site, these settings are under Marketing > SEO.

Webflow

Versions Webflow, all site plans, November 2026.

Static pages: Pages panel, page settings, SEO settings section, “Title tag” field. Collection template pages: same field, inserting collection fields (item name, category) so that each item gets its own title.

Laravel

Versions Laravel 11 to 13.

Pass the title to the Blade layout, for example in resources/views/components/layouts/app.blade.php:

@props(['title' => null])

<head>
    <meta charset="utf-8">
    <title>{{ $title ? "{$title} | ".config('app.name') : config('app.name') }}</title>
</head>

Then in each view:

<x-layouts.app :title="$product->seo_title ?: $product->name">
    {{-- content --}}
</x-layouts.app>

Add a nullable seo_title column to the models concerned. Blade escapes the value with {{ }}.

Symfony

Versions Symfony 6.4, 7.4 and 8.x (Twig 3).

In templates/base.html.twig, the title block exists by default. Give it a fallback value:

<title>{% block title %}Planifia: job scheduling for maintenance teams{% endblock %}</title>

Then override it in each template:

{% block title %}{{ feature.seoTitle ?: feature.name }} | Planifia{% endblock %}

Twig escapes the value automatically.

Next.js

Versions Next.js 15 and 16.

App Router

Define a template in the root layout and a title per page:

// app/layout.tsx
import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: {
    template: '%s | Thé des Lisières',
    default: 'Thé des Lisières: organic loose-leaf teas',
  },
};
// app/produits/[slug]/page.tsx
import type { Metadata } from 'next';
import { getProduct } from '@/lib/catalog';

export async function generateMetadata(
  { params }: { params: Promise<{ slug: string }> },
): Promise<Metadata> {
  const { slug } = await params;
  const product = await getProduct(slug);

  return { title: product.seoTitle ?? product.name };
}

The template applies to child segments, not to the segment where it is defined; title: { absolute: '…' } bypasses it for one page.

Pages Router

The Pages Router has no built-in template: each page writes its full title in the <Head> component from next/head. Pass a single string to <title> so that it does not receive several nodes:

// pages/produits/[slug].tsx
import Head from 'next/head';
import type { Product } from '@/lib/catalog';

export default function ProductPage({ product }: { product: Product }) {
  return (
    <>
      <Head>
        <title>{`${product.seoTitle ?? product.name} | Thé des Lisières`}</title>
      </Head>
      {/* content */}
    </>
  );
}

Nuxt

Versions Nuxt 4 (app/ directory); Nuxt 3 puts the same files at the project root.

// app/app.vue
useHead({
  titleTemplate: (titleChunk) => (titleChunk ? `${titleChunk} | Planifia` : 'Planifia'),
});
// app/pages/fonctionnalites/[slug].vue, in <script setup lang="ts">
const route = useRoute();
const { data: feature } = await useFetch(`/api/features/${route.params.slug}`);

useSeoMeta({
  title: () => feature.value?.seoTitle ?? feature.value?.name,
});

Astro

Versions Astro 5 to 7.

In the shared layout, src/layouts/Base.astro:

---
const { title } = Astro.props;
---
<html lang="fr">
  <head>
    <meta charset="utf-8" />
    <title>{`${title} | Plomberie Garnier`}</title>
  </head>
  <body><slot /></body>
</html>

Each page passes its own title: <Base title="Emergency plumbing in Nantes">.

After any template change, rerun the duplicate check from the “How to check” section. To watch for regressions over time, see monitor titles and structured data (opens in a new tab).

Common mistakes

  • The same title across a whole template: “Shop | Brand” on every product page, because the template uses no page-specific variable.
  • Two <title> tags: one in the theme, one added by the SEO plugin. Browsers and search engines keep only one, not necessarily the right one.
  • Empty title or brand-only title (“| Thé des Lisières”): Google cites it as an example of a half-empty title and replaces it.
  • “Home” as the homepage title, even though it is the page seen most often in branded results.
  • Title written in JavaScript after loading: missing from the initial HTML, it depends on rendering by the search engine.
  • Title and content out of sync after an update: an outdated year, price or offer in the title while the page has changed.
  • Fixing the titles of filtered or paginated pages before the ones that matter: start with the pages that get impressions.

Frequently asked questions

Does every page on the site need a unique title?

Every indexable page needs a title, and every important page needs a title of its own. Google recommends a descriptive, concise and distinct title for each page. Pages that are not meant for the index, such as the cart, the customer account or internal search results, can keep a generic title without consequence, since they do not appear in the results.

Why doesn't Google show the title I wrote?

Google generates the displayed headline automatically. It starts from the title tag, but replaces it when it is empty, reduced to the brand, misleading, repeated across several pages or written in a different language from the page. It then draws on the visible headline, the H1, the og:title tag or the links pointing to the page. A title that is faithful to the content and specific to the page limits these rewrites.

Should the title be identical to the H1?

No. The title and the H1 should cover the same topic, because Google is wary of a title that does not match the visible headline, but their roles differ. The title is read outside the page, in results and tabs: it often carries the brand and a useful detail. The H1 is read on the page and can be shorter or more conversational.

How do you find duplicate titles on a site?

Crawl the site with Screaming Frog, free up to 500 URLs, then open the Page Titles tab and the Duplicate filter. Without software, a curl loop over the sitemap URLs extracts each title into a file, and the uniq -c command counts the ones that appear more than once. Bing Webmaster Tools also flags identical titles in its site analysis.

Updated on

Topic checklist (PDF)

And now?

In the “On-page SEO and metadata” topic

  1. Write a unique title for each important page
  2. Include the main topic naturally
  3. Place important terms early if relevant
  4. Aim for 50–60 characters as an optional benchmark
  5. Avoid generic and repetitive titles
  6. Write a specific meta description
  7. Aim for 140–160 characters as a benchmark
  8. Convey a value proposition and encourage clicks
  9. Use one clear main H1
  10. Align the H1 with search intent
  11. Structure H2/H3 headings
  12. Avoid purely decorative headings
  13. Introduce the topic naturally
  14. Use semantic variants
  15. Break up paragraphs
  16. Use lists and tables where helpful
  17. Add a table of contents and anchors to long content
  18. Optimize URLs and slugs
  19. Check the lang attribute
  20. Set up a favicon
  21. Configure Open Graph and X Cards
  22. Test social sharing
  23. Analyze CTR and optimize snippets