Meta Tags for SEO: What Still Matters

Updated 11 September 2026 · 7 min read

Check your own site as you read: Meta Tag Checker · SEO Checker

The <head> of a page holds a mix of tags. Some control whether search engines index a page. Some shape how the page appears in results and on social platforms. Many do nothing at all. Google publishes a list of meta tags and attributes it supports, and anything that isn't on that list has no documented effect in Google Search. This guide covers the tags that still matter, how to write them, and the ones you can safely stop worrying about.

The title element

Strictly speaking, <title> isn't a meta tag, but it's the most important element in the head for search. Google uses it as one of several sources when it generates the title link in search results. Other sources include the main visible heading, <h1> elements, og:title, anchor text pointing to the page and WebSite structured data. That's why Google sometimes shows a different title than the one you wrote. It usually happens when the title is vague, stuffed with keywords, duplicated across pages or out of step with the page's visible heading.

Google states there is no length limit on the <title> element. Results are truncated as needed to fit the device width. In practice:

  • Give every page a unique title.
  • Lead with what the page is about, not with your brand.
  • Put the brand at the end, after a separator, if you include it at all.
  • Keep the title consistent with the page's main heading.
  • Don't repeat the same keyword in several variations.
<!-- Weak -->
<title>Home | Best SEO Tools | SEO Tools Free | SEO</title>

<!-- Better -->
<title>Free Robots.txt Checker: Test Crawl Rules | NewBacklink</title>

Meta description

Google says snippets are "automatically created from page content" and designed to preview the part of a page most relevant to a specific query. It "sometimes uses" the meta description when that gives a more accurate summary than text taken from the page itself (see Google's snippet documentation). So the same page can show different snippets for different searches, and your description may not appear at all.

That doesn't make the tag useless. When Google uses it, it's your chance to explain the page in your own words. Treat it as copy for the search result, not as a ranking lever.

  • Write a unique description for each important page.
  • Summarize what the reader gets, with specifics: what the tool checks, what the guide covers, price or availability for a product.
  • Don't copy the same description across a template.
  • Google states there's no length limit, but snippets are truncated to fit the device, so put the key information first.

Robots meta tag and X-Robots-Tag

The robots meta tag controls indexing and how a page is shown. Common rules:

  • noindex: don't show the page in search results.
  • nofollow: don't follow the links on the page.
  • nosnippet: don't show a text snippet or video preview.
  • max-snippet:[number], max-image-preview:[setting], max-video-preview:[number]: limit preview size.
  • noimageindex: don't index images on the page.
<meta name="robots" content="noindex, follow">

For non-HTML files such as PDFs, send the same rules as an HTTP header with X-Robots-Tag:

X-Robots-Tag: noindex

The most common mistake here is blocking a URL in robots.txt and adding noindex at the same time. Google's robots meta tag documentation is explicit: if a page is disallowed in robots.txt, the crawler never sees the page, so any indexing rules on it are ignored. If you want a page removed from results, let it be crawled and use noindex. Our robots.txt guide explains the difference in more detail.

Canonical link

<link rel="canonical"> tells search engines which URL you prefer when several URLs show the same or very similar content, such as tracking parameters, sort orders or print versions. Google treats it as a strong signal, not a directive. Its canonicalization documentation recommends absolute URLs and warns against sending conflicting signals.

<link rel="canonical" href="https://example.com/guides/meta-tags/">

Keep your signals consistent. The canonical URL should be the one in your sitemap, the target of your redirects and the one your internal links use. Don't point a canonical at a URL that redirects, returns an error or carries noindex. A self-referencing canonical on each page is a sensible default.

Viewport and charset

Two small tags prevent real problems:

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

Google lists the viewport tag as an indication that a page is designed for mobile devices. Without it, mobile browsers render the page at desktop width and shrink it down.

The HTML specification requires the charset declaration to appear within the first 1024 bytes of the document, so place it first in the head. Make sure it agrees with the Content-Type header your server sends. A mismatch produces garbled characters, especially in non-English text.

hreflang for multilingual sites

hreflang annotations are link elements, not meta tags, but they sit in the same place and cause many of the same errors. They tell Google which language or regional version of a page to show a given user.

<link rel="alternate" hreflang="en-us" href="https://example.com/us/">
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/">
<link rel="alternate" hreflang="x-default" href="https://example.com/">

The rules that break most implementations:

  • Every version must list itself and all other versions. If page A points to page B, page B must point back to A, or Google may ignore the annotations.
  • The first code is a language (ISO 639-1). The optional second code is a region (ISO 3166-1 alpha-2). A region code on its own isn't valid.
  • Use x-default for a language selector or a fallback page.

Open Graph and Twitter cards

Open Graph tags control how a page looks when someone shares it on social platforms and messaging apps. They aren't a Google ranking factor, although Google does list og:title among the sources it can draw on for title links. The Open Graph protocol defines four required properties: og:title, og:type, og:image and og:url.

<meta property="og:title" content="Meta Tags for SEO: What Still Matters">
<meta property="og:type" content="article">
<meta property="og:url" content="https://example.com/blog/meta-tags-for-seo/">
<meta property="og:image" content="https://example.com/images/meta-tags.png">
<meta property="og:description" content="Which head tags affect indexing and display.">
<meta name="twitter:card" content="summary_large_image">

X (Twitter) reads twitter:card to choose the card layout and can fall back to Open Graph values for the title, description and image. That means one set of OG tags plus a twitter:card line covers most cases.

Tags Google ignores

Some tags still appear in templates out of habit:

  • keywords: Google's documentation is direct: "The meta-keyword tag is not used by Google Search, and it has no effect on indexing and ranking at all." Other engines may treat it differently, but for Google it's dead weight, and it gives competitors a list of your targets.
  • rel="next" and rel="prev": Google lists these among the attributes it doesn't use.
  • The lang attribute: Google says it doesn't use it to determine a page's language. It detects language from content. Keep the attribute anyway, because screen readers and browsers rely on it.
  • Legacy tags such as revisit-after aren't on Google's supported list and have no documented effect.

A clean head template

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Robots.txt Guide: Rules, Examples and Mistakes | Example</title>
  <meta name="description" content="How robots.txt works, how to write allow and disallow rules, and the mistakes that block pages from search.">
  <link rel="canonical" href="https://example.com/blog/robots-txt-guide/">
  <meta property="og:title" content="Robots.txt Guide: Rules, Examples and Mistakes">
  <meta property="og:type" content="article">
  <meta property="og:url" content="https://example.com/blog/robots-txt-guide/">
  <meta property="og:image" content="https://example.com/images/robots-guide.png">
  <meta name="twitter:card" content="summary_large_image">
</head>

How to audit your meta tags

Checking tags by hand on one page is easy. Checking a template that renders thousands of pages is where problems hide. A practical routine:

  1. Run a key page through the Meta Tag Checker to see the title, description, robots, canonical and social tags exactly as served.
  2. Check a sample of each template type (home, category, product, article), because tag bugs usually come from templates rather than individual pages.
  3. Look for accidental noindex left over from a staging site, canonicals pointing to the wrong host, and duplicated titles and descriptions.
  4. Run a broader SEO Checker pass to catch related issues such as missing headings and slow responses.

For a full walkthrough beyond the head, work through our SEO audit checklist.