Sub topic 6
Auditing titles, meta descriptions and headings
This chapter assumes you have completed a crawl and can switch between the tabs and filters in the main panel. You should also know what the title, meta description and heading tags do in HTML. The three tabs covered here are Page Titles, Meta Description and H1/H2.
What the tabs check
Each tab sorts pages into filters. The default thresholds below can be changed under Configuration > Spider > Preferences.
| Tab | Filter | Default trigger |
|---|---|---|
| Page Titles | Missing | No title element, or an empty one |
| Page Titles | Duplicate | Same title on more than one URL |
| Page Titles | Over 60 Characters / Over 561 Pixels | Likely truncated in results |
| Page Titles | Below 30 Characters | May be too thin to describe the page |
| Page Titles | Same as H1 | Title and H1 text are identical |
| Meta Description | Missing, Duplicate | Same logic as titles |
| Meta Description | Over 155 Characters | Likely truncated |
| Meta Description | Below 70 Characters | May be too short |
| H1 | Missing, Duplicate, Multiple | No H1, shared H1, or more than one H1 |
Pixel width matters because search results truncate by width, not by character count. A title full of wide letters such as "W" can be cut off below 60 characters.
A worked audit
- Open the Page Titles tab and select the Missing filter. These pages have no title at all, so fix them first.
- Select Duplicate. Sort by the Title 1 column so identical titles sit together. Look for a pattern. Paginated URLs, faceted filters and parameter URLs often share one title.
- Repeat for Meta Description. A missing description is a lower priority than a missing title, because search engines can generate a snippet.
- Open the H1 tab. Check Missing and Multiple. Several H1s are valid HTML5, but a missing H1 on a key page is worth fixing.
- Check whether the page is indexable before you act. Duplicate titles on a noindex page or a canonicalised URL rarely matter.
To work outside the interface, export the tab and check it in a script. The command-line export --export-tabs "Page Titles:All" produces page_titles_all.csv.
import csv
from collections import defaultdict
by_title = defaultdict(list)
with open("/tmp/sf-crawl/page_titles_all.csv", newline="", encoding="utf-8-sig") as f:
for row in csv.DictReader(f):
if row["Title 1"]:
by_title[row["Title 1"]].append(row["Address"])
for title, urls in by_title.items():
if len(urls) > 1:
print(f"{len(urls)} pages share: {title}")
for url in urls:
print(" ", url)Common errors
- Treating every length warning as an error. Truncation is cosmetic. A missing or duplicated title is a content problem.
- Auditing non-HTML URLs. Filter the Internal tab to HTML so images and PDFs do not clutter the results.
- Reading the Same as H1 filter as a fault. It is a prompt to check whether the title could say more.
Exercise
The Page Titles > Duplicate filter lists 40 URLs, and all of them contain ?sort=price. What should you check before rewriting titles?
Show answer
Check whether these URLs are indexable and whether they have a canonical tag pointing to the unsorted page. If they are canonicalised or noindexed, the duplicate titles are harmless. A better fix is to exclude the parameter from the crawl or leave the canonical in place.