How to fix document title on Magento Open Source

Add a unique, descriptive <title> element to every page so browsers, screen readers, and search engines can identify it.

Steps for Magento Open Source

  1. Follow the same steps as Adobe Commerce (Magento) above — the admin paths are identical in Magento Open Source.
  2. For theme-level title tag: edit app/design/frontend/[Vendor]/[theme]/Magento_Theme/layout/default_head_blocks.xml and ensure <title> uses a layout variable, not a hardcoded string.
  3. Clear the cache after any changes: System → Cache Management → Flush Magento Cache.
Official Magento Open Source documentation ↗
<title>Red Canvas Sneakers – Low Tops | Acme Store</title>

What is document title?

Every webpage has a hidden piece of text in its code called the "document title" — the `<title>` tag inside the `<head>` of the HTML. This is the text that appears on the browser tab, in bookmarks, and as the blue clickable headline in Google search results. WCAG Success Criterion 2.4.2 ("Page Titled") requires that every page has a title that describes its topic or purpose. When this tag is missing or empty, the page has no name — it's like a book with a blank cover.

For accessibility, screen-reader users hear the page title announced the moment a page loads — it's how they know where they are. A missing title is disorienting and is a Level A WCAG violation, meaning it fails the most basic accessibility standard and can expose your store to legal risk under laws like the ADA (US), EAA (EU), and the Equality Act (UK). For SEO, the title tag is one of Google's most important on-page signals: it directly influences your ranking and is the first thing shoppers read in search results. A missing or duplicate title suppresses your click-through rate and organic traffic. For conversions, a clear title builds trust — shoppers who see a blank browser tab often assume the page is broken and leave.

See the complete Document title guide for every platform and the full background.

Not sure if your Magento Open Source store has this?

Run a free SEOLZ audit — we’ll find document title and every other issue across your whole site.

Scan my site free

Fix document title on another platform