Skip to content
SEO-Wars

On-page

Title tag: write a title that fits the search result

The title is the clickable headline in search results. 30 to 60 characters earns full points. Here is how to write one and set it in your CMS.

Category
On-page
Points available
5 pts
Effort
Quick fix

Why it matters

The <title> is the strongest on-page hint of what a page is about, and usually the blue headline people click in Google.

Titles that are too long get cut off; titles that are too short waste space you could use to persuade. Both lower the click-through rate.

How we measure it

We read the text of the first <title> element on the page, trim the whitespace, and count its characters.

ResultPoints
30-60 characters5
15-29 or 61-70 characters3
Missing, under 15 or over 70 characters0

How to fix it

  1. Put the main topic first, then a differentiator, then the brand: Trail Running Shoes for Wet Terrain | Northpeak.
  2. Write a unique title for every page. Do not reuse the home page title.
  3. Set it in your SEO plugin or framework metadata, not in a hard-coded header template.

Copy-paste fixes

HTML
<title>Trail Running Shoes for Wet Terrain | Northpeak</title>
WordPressfunctions.php
// Let WordPress (or Yoast / Rank Math) output the <title>.
// Remove any hard-coded <title> tag from header.php after adding this.
add_action( 'after_setup_theme', function () {
    add_theme_support( 'title-tag' );
} );
Shopifylayout/theme.liquid
<title>
  {{ page_title }}
  {%- if current_page != 1 %} &ndash; Page {{ current_page }}{% endif -%}
  {%- unless page_title contains shop.name %} &ndash; {{ shop.name }}{% endunless -%}
</title>
Next.jsapp/layout.tsx
import type { Metadata } from "next";

export const metadata: Metadata = {
  // Child pages set only their own part: export const metadata = { title: "Trail running shoes" }
  title: { default: "Northpeak outdoor gear", template: "%s | Northpeak" },
};

Common mistakes

  • Only the brand name as the title (Home or Northpeak).
  • Stuffing keywords: Shoes, Running Shoes, Trail Shoes, Cheap Shoes.
  • Two <title> tags because both the theme and a plugin print one.

Test your site now

Put your site against a competitor and see how many of these points you earn, and which fixes pay off first.

Start a duel
← All checksUpdated December 1, 2026
Title: why it matters and how to fix it · SEO-Wars