Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
Main navigation
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)
Search form
User login
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
  • Reset your password
User account menu
  • Hire Me (opens in new tab)
  • Drupal Services
  • Blog
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Article Title Image - Block 1

Drupal SEO: What Metatag, Sitemap and Pathauto Emit

Content Info - Article Info
 
  10:55 PM CDT, Sun September 13, 2026
Share

Breadcrumbs

Breadcrumb

  • Home
  • SEO Strategies
  • Drupal SEO: What Metatag, Sitemap and Pathauto Emit

Main page content

Drupal core builds no meta description and serves no XML sitemap — every search-visible tag on a Drupal site above the page title is put there by a contributed module, and by a configuration object you can open and read. That is the part most Drupal SEO advice skips, and it is the part that decides what Google actually receives.

Everything below was read from source on disk: Drupal 11.4.6 core (core/lib/Drupal.php line 79 declares VERSION = '11.4.6') and the module copies in the codebase behind this site. Where a number came from the live site instead, it says so.

What core leaves out, measured rather than assumed

Two scans of core, each with a control so a zero could be trusted:

  • No sitemap route. 146 *.routing.yml files in core declare no path containing the word sitemap. The control — searching the same 146 files for the node route /node/{node} — found it, so the search was working.
  • No description tag. Nothing in core builds a <meta name="description">: across every PHP, module, Twig and include file in the tree, the only match for that attribute is a kernel-test fixture. The control for the same pass looked for the string 'canonical' and found it in well over a hundred files.

The modules that fill the gap, and what each declares

The SEO modules in the codebase behind this site, read from each .info.yml
ModuleVersion on diskDeclared core supportWhat it puts on the page
Metatag2.2.0^10.3 || ^11Title, description, canonical, robots and 23 other tags from the base module
Metatag Open Graphsubmodule of the aboveas parent59 Open Graph tag plugins, 34 of them og:
Schema.org Metatag3.0.4^9 || ^10 || ^11The JSON-LD block, built on top of Metatag
Simple XML Sitemap4.2.3^10.3 || ^11The document served at /sitemap.xml
Pathauto8.x-1.15^10.2 || ^11The URL alias itself, generated from a token pattern

One thing in that table matters more than the feature columns: not one of those five copies declares ^12. Anyone planning a Drupal 12 move should treat the SEO layer as an upgrade item with a date on it, not as something that comes along for free. That is a fact about the copies on this disk on the day it was written, and newer releases may already have moved — check the .info.yml of the version you are about to install rather than trusting this paragraph. The same method, applied across a whole site, is what a module and theme inventory is for.

Metatag: two config objects decide almost everything

Metatag is not configured per page in practice. It is configured once in a defaults entity, and then inherited. The two that matter ship in metatag/config/install/:

metatag.metatag_defaults.global.yml
Sets canonical_url to [current-page:url] and the title to [current-page:title] | [site:name]. Everything on the site inherits this unless something more specific overrides it.
metatag.metatag_defaults.node.yml
Sets the title to [node:title] | [site:name], the canonical to [node:url], and — the consequential one — the description to [node:summary].

Your teaser is your search snippet

Because the shipped node default is [node:summary], the description Google sees on a content page is the teaser an editor typed into the summary field. Not the first paragraph of the article, not the title, and not anything an SEO tab was asked for. If that teaser runs longer than the field will show, the description a searcher sees is truncated with an ellipsis — which is why the teaser field, not an SEO tab, is where a meta description is really written.

Metatag's own Description plugin documents the target in its annotation: a maximum of 160 characters (src/Plugin/metatag/Tag/Description.php). So the practical rule on any Drupal site using the shipped default is to write summaries as one complete sentence under roughly 158 characters — because that field, not a separate SEO field, is the snippet.

Trimming is available and switched off

Metatag can truncate tags for you, but metatag.settings.yml ships tag_trim_maxlength as an empty map, with tag_trim_method: beforeValue waiting for a number that has not been set. Out of the box nothing is trimmed. If your descriptions are being cut, something else did it, and the honest next step is to view the page source rather than guess.

If this is the point where a site starts sounding like more configuration than anyone wants to own, that is a reasonable conclusion — it is the sort of thing a Drupal development engagement settles once and then leaves documented.

Simple XML Sitemap: what is really at that URL

Read from simple_sitemap.settings.yml: sitemaps are generated on cron, duplicates are removed, an XSL stylesheet is attached, and the entity types enabled by default are nodes, taxonomy terms and menu links. A single sitemap file holds up to max_links: 2000 URLs before the module splits it and builds a chunk index.

Measured on this site in September 2026: /sitemap.xml returns 200, is a little over 100 KB, and contains roughly 350 <url> entries — comfortably one file, no index. Entries carry lastmod, changefreq and priority, the home page at 1.0 and articles at 0.7, and image entries are included inline where a node has one.

One detail surprises people: the sitemap response itself is sent with X-Robots-Tag: noindex, follow, hardcoded in the module's controller (src/Controller/SimpleSitemapController.php line 61). A tool reporting that your sitemap URL is not indexed is reporting a deliberate header, not a fault.

Pathauto: the alias is cleaned before it is stored

Core stores aliases; Pathauto is what generates one from a token pattern. Its shipped settings (pathauto.settings.yml) do more to your URL than most people expect: text is transliterated, forced to lower case, punctuation is replaced by the - separator, each component is capped at 100 characters and the whole alias at 150, and a list of stop words including a, an, the, of, for and with is stripped out of the generated path.

That is why a title of The Ultimate Guide to Boosting Your Organic Visibility becomes ultimate-guide-boosting-your-organic-visibility. Nothing is broken; the cleaner did its job. The practical consequence is that keywords you care about should sit early in a title, because the 150-character cap truncates from the end.

The order to do this in

  1. Install Pathauto with Token and define the alias pattern before publishing, so you are not renaming URLs later.
  2. Install Metatag, then set the node defaults once. Per-node overrides are the exception, not the routine.
  3. Write summaries as real one-sentence descriptions, because that is the field that becomes the snippet.
  4. Install Simple XML Sitemap, enable only the entity types and bundles that should be indexed, and confirm the generated file rather than assuming cron ran.
  5. Only then look at structured data, which Schema.org Metatag layers on top of the Metatag configuration you already set.

Common questions

Does Drupal need an SEO module at all?
For a description tag and a sitemap, yes — core produces neither, and that was measured against core on disk rather than recalled.
Where does the search snippet come from on a Drupal site?
With Metatag's shipped node default, from the node summary token. Change the summary and the snippet changes.
Why is my new page missing from the sitemap?
Generation runs on cron by default, and only for entity types and bundles that are enabled. Check both before suspecting the module.
Is a sitemap enough to get pages indexed?
No. It is a discovery aid. An orphan page that nothing links to and that nobody searches for stays unindexed however neat the XML is.
Do these modules make a slow site faster?
No, and the two problems are unrelated. Page weight and caching are a separate diagnosis, covered in why a Drupal site is slow.

Where this leaves you

Two companion pages take this further in directions this one deliberately does not: what third-party authority scores can and cannot tell you, and what free SEO tools can see through a Drupal front end.

This page was written by Alaa Haddad, who has worked in web development since 2005 and is the author of Drupal modules and themes — the code is public and readable on the drupal.org profile. If you want the configuration above checked on your own site rather than described in general, that is a short piece of work: get in touch with the site URL and what you think is wrong.

SEO Strategies
Slide 1 of 27
Acquia Purge Varnish - API V2 (Drupal Module)
Slide 2 of 27
Amun - W3CSS Sub-Theme (Drupal Theme)
Slide 3 of 27
Amunet - W3CSS Sub-Theme (Drupal Theme)
Slide 4 of 27
Anhur - W3CSS Sub-Theme (Drupal Theme)
Slide 5 of 27
Cloudflare Purge (Drupal Module)
Slide 6 of 27
Module Matrix (Drupal Module)
Slide 7 of 27
Paragraphs Bundles (Drupal Module)
Slide 8 of 27
Paragraphs Bundles Import (Drupal Module)
Slide 9 of 27
Reference Blocked Users (Drupal Module)
Slide 10 of 27
Selectify (Drupal Module)
Slide 11 of 27
Solo (Drupal Theme)
Slide 12 of 27
Solo Copy Blocks (Drupal Module)
Slide 13 of 27
Solo Utilities (Drupal Module)
Slide 14 of 27
Utilikit (Drupal Module)
Slide 15 of 27
Views 3D Carousel (Drupal Module)
Slide 16 of 27
Views 3D FlipBox (Drupal Module)
Slide 17 of 27
Views Accordion (Drupal Module)
Slide 18 of 27
Views Carousel (Drupal Module)
Slide 19 of 27
Views Hero (Drupal Module)
Slide 20 of 27
Views Lightbox (Drupal Module)
Slide 21 of 27
Views Parallax (Drupal Module)
Slide 22 of 27
Views Reveal (Drupal Module)
Slide 23 of 27
Views Slideshow (Drupal Module)
Slide 24 of 27
Views Tabs (Drupal Module)
Slide 25 of 27
VVJ Core (Drupal Module)
Slide 26 of 27
W3CSS Paragraphs (Drupal Module)
Slide 27 of 27
W3CSS Theme (Drupal Theme)
1 of 27

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Solo Utilities (Drupal Module)

Reference Blocked Users (Drupal Module)

Solo Copy Blocks (Drupal Module)

Views Hero (Drupal Module)

Amun - W3CSS Sub-Theme (Drupal Theme)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad