Flowpane / Docs
In this section

How Flowpane works with Drupal

Drupal core leaves most search-engine output to its ecosystem. robots.txt arrives as a file; sitemaps, metatags and automatic URL aliases come from contributed modules; and caching can sit in Drupal, the web server or a CDN. Two Drupal Sites can therefore answer the same request in entirely different ways. Flowpane's public checks record what your Site actually delivers, the Flowpane module adds Drupal's own account of its content and sitemap producers, and this guide shows where each output is produced in Drupal, how to confirm it with curl, and what to change.

Requirements and connection steps are on Flowpane for Drupal.

What the module adds

The module reports what Drupal knows; the public check confirms what crawlers receive. Each appears in Flowpane with its own date, so a gap between them points straight to the layer to fix.

Native to Drupal Added by the Flowpane module
Published content, translations and URL aliases Each public content translation with its internal path, alias and dates
The publishing workflow Content as it is published, updated or unpublished
Simple XML Sitemap, XML Sitemap or a physical file The sitemap and SEO modules Drupal reports, and which one answers the sitemap address
The sitemaps your Site already serves The Flowpane-managed sitemap and its optional HTML view, published with approval through Managed changes and verified on the public Site

robots.txt, page directives and caching stay with Drupal, its modules and your hosting; the sections below show how to read each of them from the public web.

What a public check shows

A governance check reads /robots.txt, discovers the sitemaps declared in its Sitemap: lines or served at standard addresses such as /sitemap.xml, and reviews the other governance files. Each result carries its observation time, response and content, and a later change to the robots.txt content is recorded as a Change with Before and After evidence.

A Deep Scan adds page-level evidence: status, redirects, canonical tag and meta robots for each crawled page. The Coverage tab then sorts URLs into categories such as Missing from sitemap, Redirected, Canonical mismatch and Noindex conflict, which map directly onto the Drupal sources below. See Sitemap vs crawl.

robots.txt: a scaffolded file or a module

Drupal ships a physical robots.txt in the web root, placed there by Drupal's Composer scaffolding. Some Sites replace it with the RobotsTxt module, which serves the rules from Drupal's configuration instead. The first layer that answers wins:

Request for /robots.txt
 |
 +-- Web server or hosting rule answers?        -> that response is served
 +-- robots.txt file in the web root?           -> the file is served,
 |                                                 whatever the module says
 +-- no file, RobotsTxt module enabled?         -> the module's rules are served
 |
 +-- A CDN or reverse proxy can serve an older copy.

Compare the content in Flowpane's robots.txt result with the file in your project and, if it is enabled, the RobotsTxt module's rules. Whichever one matches is the source to edit.

curl -s https://example.com/robots.txt
curl -sI https://example.com/robots.txt

Because the file comes from scaffolding, a routine composer update can put Drupal's default file back over local edits. To keep a customized file, exclude it from scaffolding in the project's composer.json and commit the file with the rest of the project:

"extra": {
  "drupal-scaffold": {
    "file-mapping": {
      "[web-root]/robots.txt": false
    }
  }
}

To prepare the new rules, open robots.txt in the Workbench, where your role and plan allow it, then save and validate a revision and deploy it through your usual release process. The next check confirms what crawlers receive.

XML sitemaps come from modules

Drupal's XML sitemaps come from contributed modules, and the two common ones work differently:

Module Usual public address Notes
Simple XML Sitemap /sitemap.xml Can define several sitemap variants, each with its own address and content types
XML Sitemap /sitemap.xml Builds sitemap files from its own link records, refreshed in the background
A physical file Any address A file placed in the web root; it stays fixed until someone replaces it

Flowpane reads every sitemap it discovers from the public web and reports its structure, URL inventory and errors in sitemap analysis. When a URL is missing, check which module is enabled, whether it includes that content type and language, and whether it has regenerated since the content was published. When a sitemap looks frozen, look for an old physical sitemap.xml in the web root. Declaring each sitemap in robots.txt with a Sitemap: line helps crawlers and Flowpane find variants at other addresses.

curl -s https://example.com/sitemap.xml | head -n 20
curl -s https://example.com/robots.txt | grep -i '^sitemap:'

Addresses and URL aliases

Every Drupal page has an internal path, such as /node/42, and usually a friendlier URL alias, such as /about-us, created by hand or automatically by Pathauto. Both normally reach the same content, so the alias a sitemap lists and the address a page declares as canonical both matter. The Redirect module can send old aliases to new ones when an alias changes.

In a Deep Scan, a sitemap URL that redirects appears as Redirected, and a page whose canonical tag differs from its sitemap URL appears as Canonical mismatch. Follow the address to see what crawlers reach:

curl -sIL https://example.com/old-alias | grep -i -E '^(HTTP|location)'

If the sitemap still lists an old alias, regenerate the sitemap from its module. If the old alias returns an error, add a redirect in the Redirect module so links and bookmarks keep working. Redirect chains shows how to point old addresses straight to the final one.

Languages and translations

On a multilingual Site, each translation usually has its own language prefix or domain and its own alias. Languages under a prefix such as /de/ share the Site's robots.txt and sitemaps; a language on its own domain is a separate Site in Flowpane, with its own checks.

When a translation is missing from the sitemap, check that it is published and that the sitemap module includes that language and content type. Then request the translated page directly to confirm its status, alias and canonical tag.

Indexing directives come from Metatag

Drupal core leaves the robots meta tag on content to contributed modules, and on most Sites that is the Metatag module. Its global defaults, content type defaults and per-page overrides decide whether a page carries noindex or nofollow, and themes and the web server can add directives of their own. The public page is the final answer, so check both the HTML and the headers:

curl -s https://example.com/about-us | grep -i 'name="robots"'
curl -sI https://example.com/about-us | grep -i 'x-robots-tag'

A Noindex conflict in a Deep Scan means a page is listed in a sitemap and asks not to be indexed. Decide which policy is correct, then change either the Metatag setting or the sitemap inclusion so the two agree. If Metatag says index and the page still carries noindex, the theme, another module or an X-Robots-Tag header is adding it.

Caching and delivery

Drupal's Internal Page Cache serves stored pages to anonymous visitors, the Dynamic Page Cache stores page fragments, and many Sites add a reverse proxy or CDN in front. Any of them can serve an older copy of a page or sitemap after a change. Flowpane records the response crawlers actually receive, including redirects, so a cached answer is visible as exactly that.

Response headers show which layer answered:

curl -sI https://example.com/about-us | grep -i -E '^(x-drupal-cache|x-drupal-dynamic-cache|age|cache-control):'

After publishing a fix, clear Drupal's caches (for example with drush cache:rebuild), purge the reverse proxy or CDN through your normal process, and run another check to record the response crawlers now receive.

Worked examples

A Composer update restores the default robots.txt. A team customizes robots.txt, then a routine composer update restores Drupal's default file through scaffolding. Flowpane's next check records a Change to robots.txt with the customized rules under Before and Drupal's default under After. The lasting fix is the scaffold file-mapping setting above, with the customized file committed to the project.

An alias changes. An editor renames a page and Pathauto generates a new alias. Flowpane's sitemap analysis shows whether the sitemap now lists the new alias, and curl -sIL on the old address shows whether it redirects to the new one. If the old address returns 404, add a redirect in the Redirect module, regenerate the sitemap and run another check.

Two sources of rules. A Site enables the RobotsTxt module but keeps the physical file. Changes made in the module's settings have no public effect, because the web server answers with the file first. Flowpane's robots.txt content matches the file, which settles the question; the team agrees which source should own robots.txt, removes the other and excludes the file from scaffolding if the module wins.

A noindex nobody set in Metatag. Metatag's defaults say index, yet a Deep Scan reports noindex in a page's meta robots and flags a Noindex conflict. The curl HTML check shows a second robots tag printed by the theme's template. Removing it from the template and clearing caches brings the public page back in line, and the next Deep Scan clears the conflict. When the HTML is clean, the header check shows whether the web server is adding an X-Robots-Tag instead.

A translation missing from the sitemap. The French version of a page is published, but the sitemap lists only the English one. The sitemap module's settings for that language or content type are the place to look; after including it and regenerating, the next sitemap scan lists the French URL.

Flowpane for Drupal · Sitemap analysis · Extensions Hub

Reading article

Copy manually

Automatic copying is unavailable. The text is selected; use your device’s copy command.