This is the complete documentation for STM SEO Pro (version 1.0.0), listed on the Adobe Commerce Marketplace as SEO Pro With AI Search. It decides in one place what search engines and AI services read on every page of a Magento store: meta texts, robots, canonical URL, language versions and structured data, with an audit, redirects, an XML sitemap and an area of its own for AI search. Everything on this page is free to read — no registration, no account. The same documents are attached to the Marketplace listing as PDF downloads.

Composer package storetown-media/module-seo via the Adobe Commerce Marketplace (repo.magento.com)
Magento module STM_Seo
Requirements Magento Open Source or Adobe Commerce 2.4.6 to 2.4.9, PHP 8.1 to 8.5; tested with 2.4.8-p4 and PHP 8.4, Luma and Hyvä
Magento versions Magento Open Source, Adobe Commerce and Adobe Commerce Cloud 2.4.6 to 2.4.9
All 34 versions including patches
  • Magento 2.4.92.4.9
  • Magento 2.4.82.4.8, 2.4.8-p1, 2.4.8-p2, 2.4.8-p3, 2.4.8-p4, 2.4.8-p5
  • Magento 2.4.72.4.7, 2.4.7-p1, 2.4.7-p2, 2.4.7-p3, 2.4.7-p4, 2.4.7-p5, 2.4.7-p6, 2.4.7-p7, 2.4.7-p8, 2.4.7-p9, 2.4.7-p10
  • Magento 2.4.62.4.6, 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4, 2.4.6-p5, 2.4.6-p6, 2.4.6-p7, 2.4.6-p8, 2.4.6-p9, 2.4.6-p10, 2.4.6-p11, 2.4.6-p12, 2.4.6-p13, 2.4.6-p14, 2.4.6-p15
In the admin Marketing › STM SEO · Stores › Configuration › STM Extensions › SEO
Version November 2026 · checked with version 1.0.0

User Guide

Set up and use every feature, with its place in the admin and its effect in the store.

1. Overview

STM SEO Pro brings search engine optimisation and visibility in AI search together in one module for Magento 2 and Adobe Commerce, for Luma and Hyvä. Meta data, canonical URL and robots come from rules that are evaluated when a page is built; nothing is written into products or categories. Added to that: structured data, XML sitemap, redirects with a log of pages not found, hreflang, Open Graph, internal links, an audit of the pages, Search Console and Chrome UX Report in the admin, measurement of AI search, IndexNow, an SEO grid and an AI assistant with approval.

Features in the order of this guide

  1. Rules at run time for meta title, meta description, H1, descriptions, robots, canonical URL, social media texts, alt texts of product images and the sitemap, with conditions, a preview on real pages and warnings
  2. Structured data in one JSON-LD block: product and product group with variants, offer with strikethrough and unit price, energy label, reviews, videos, returns and shipping, the shop as organization
  3. Audit: the pages of the sitemap fetched as a search engine does, 26 checks, a value with history, links to fix
  4. Measure and steer AI search: crawlers per day with a check of their addresses, visits, carts and orders from AI assistants, robots.txt by purpose, llms.txt
  5. Search Console and Core Web Vitals in the admin, with your own Google access, and a check bar above any page of the shop
  6. SEO grid for products, categories and CMS pages with editing in the row and CSV with a trial run
  7. AI assistant with approval, with your own key at Anthropic or an OpenAI-compatible service
  8. Redirects: log of pages not found with a suggested target, 301 to 410, patterns, chain and loop check, CSV, automatic redirects
  9. One canonical URL per page and crawl control for search, further pages, filters and sorting
  10. XML sitemap for large catalogues and a sitemap page for visitors
  11. hreflang, also by language group, Open Graph and X, internal links from keywords, IndexNow
  12. One module for Luma and Hyvä, carried by the page cache, with GraphQL, REST and B2B settings

Every setting with all values and defaults is in the reference manual, the installation in the installation guide.

Important: Search Console, Chrome UX Report and the AI assistant need your own keys: a service account and an API key at Google, an API key at Anthropic or an OpenAI-compatible service. Without these keys the pages “Google” and “AI Assistant” stay empty; every other feature works without them. The AI provider bills its requests to you directly.

2. Getting started

After installation the main switch “Enable STM SEO” is set to “Yes”, and the module writes the canonical tag on product, category, CMS and home pages: exactly one per page, Magento’s own switches for it under Catalog › Search Engine Optimization are then not needed. The search result preview in the admin forms is on. Everything else is switched off: there are no rules yet; structured data, sitemap, redirects, hreflang, Open Graph, internal links, counting, IndexNow and audits are off. “Import Every Night” is set to “Yes”, but fetches nothing until Search Console is connected.

  1. Open Marketing › STM SEO › Setup. The page reads how the shop is set up today and shows 10 points with “Point”, “Today in the shop” and “Proposal”. “Apply” writes only settings of STM SEO, in the default scope; settings of Magento itself are named with the place to change them.
  2. Under Stores › Configuration › General › General › Store Information enter name, phone, address and VAT number. The structured data of the shop take them from there.
  3. On Marketing › STM SEO › Overview check the table “Who writes the canonical tag”: it shows per store view who writes the canonical tag on which page type.
  4. Then switch on the features you want to use, in the order of the following chapters. Every setting applies to all store views until you set it differently for a website or store view.

The 10 points of the page “Setup”:

  • STM SEO is switched on
  • One canonical URL on every page
  • One XML sitemap
  • Structured data in one block
  • Shop data for search engines
  • Search results not indexed
  • Language versions linked
  • The shop may be indexed
  • robots.txt
  • Audit of the pages
Important: On a live shop change settings in a staging environment or a single store view first, and flush the page cache before you check the shop. “Apply” on the page “Setup” flushes the configuration and page cache itself.

3. The admin

All pages of the module are under Marketing › STM SEO. A bar above every page leads to the others; it shows only the pages your user role is allowed to open (chapter “User permissions”).

  • “Overview”: state per store view, who writes the canonical tag, active rules
  • “Optimization Plan”: findings of the assessment from outside to tick off, confirmed by the next check
  • “Setup”: current state and proposals to apply
  • “Audit”: audits of the pages of the sitemap with findings
  • “SEO Grid”: meta titles and descriptions of all products, categories and CMS pages
  • “AI Assistant”: suggestions of the AI to approve
  • “Rules”: rules for meta data, headings, descriptions, robots and canonical URL
  • “Redirects”: redirects with patterns, validity and CSV
  • “Not Found”: log of addresses not found with a suggested target
  • “Internal Links”: keywords that become internal links
  • “robots.txt”: check, test and edit robots.txt
  • “AI Search”: crawlers, visits from AI assistants, IndexNow
  • “Google”: Search Console and Core Web Vitals
  • “Settings”: the configuration under Stores › Configuration › STM Extensions › SEO

The settings under Stores › Configuration › STM Extensions › SEO are arranged in 24 groups. Nearly all of them can be set per website and store view; with “Enable STM SEO” set to “No” in a store view the module writes nothing there, Magento’s own tags apply again, and rules and settings are kept.

Page “Overview”

“Overview” shows the number of store views, how many of them have STM SEO switched on, and the active rules. The table “Who writes the canonical tag” names per store view and page type (product, category, CMS page, home page) the writer: STM SEO, STM Layered Navigation, Magento or “no tag”. It also shows whether page 2 of a category points to itself or to page 1 and whether the theme’s microdata are removed. bin/magento stm:seo:status shows the same.

The section “Assessment from outside” assesses the key pages of a store view: the home page, the two strongest categories and the two strongest products. Strongest means the most clicks from Google in the last 28 days where Search Console is connected, else the products ordered most in the last 90 days and the first categories of the menu. “Check the key pages now” has the free STM SEO Audit Tool check the pages from outside one after another, each in about half a minute; then the page shows an overall value and a value per area with the change since the check before, per area the finding that weighs most, and under “What to do first” the actions in the order of what they bring: the level of the finding times the number of pages, raised by the impressions of these pages in Google. Every action explains the problem and leads to the place in the shop where it is fixed. “AI visibility in detail” shows per AI service what the pages lack to be quoted. The assessment needs “Check From Outside”; with the weekly check switched on as well, the module checks every store view once a week on its own.

“Optimization Plan” turns every finding of the assessment into a task. A tick keeps who did it and when; the next check of the key pages decides: if the finding is gone, the task moves to “Confirmed by the check” with the measured change of the area; if it is still there, to “Ticked off, but still found”. Gone means: the pages it was on were checked again. If a confirmed finding comes back, the task is open again. At the top stand the overall value at the first check and now, and how many tasks are ticked off and confirmed; below, “Values of the checks” with all kept checks. There are deliberately no points estimated in advance: what is shown is what the check measures.

4. Rules at run time

Marketing › STM SEO › Rules

Every field of a page follows the same order: first the value entered on the page itself, then the first rule that applies and has a value for the field, then what Magento writes on its own. Rules are applied when the page is built; nothing is written into products, categories or CMS pages. A changed rule shows on the next request, a deleted one leaves no trace.

Adding a rule

  1. Click “Add a Rule”. Enter a name under “Name” and choose the page type under “Pages”.
  2. “Sort order” sets the order (lower numbers are asked first); “Store views” limits it to store views, “Active” switches the rule on and off.
  3. Under “Applies when” you add conditions: “all of these hold” or “one of these holds”, per line a variable, a comparison and a value. Without a condition the rule applies to every page of its type.
  4. Under “Writes” fill the fields the rule is to write. Empty fields are left to the page. A click in the list “Variables of these pages” inserts a variable into the field you were last in.
  5. Check the result under “Preview”: choose a store view, optionally “Search terms or path to try”, then “Show on real pages”. The preview looks at up to 400 real pages and shows what the rule writes there.
  6. Save with “Save” or “Save and Continue”.

Templates and variables

  • {name} inserts a variable, {brand|manufacturer} the first one that has a value, {name:upper} changes it (upper, lower, ucfirst, truncate(60)).
  • Text in [square brackets] is left out when a variable in it is empty, so that no “by ” without a brand is left standing.
  • “Robots” takes INDEX or NOINDEX and FOLLOW or NOFOLLOW, for example NOINDEX,FOLLOW.
  • “Canonical URL”: a full URL or a path of this store view; empty means the module’s own canonical URL.

Which fields a rule can write per page type:

Page type Fields
Product pages Meta title, Meta description, Main heading (H1), Description, Short description, Title for social media, Text for social media, Alt text of the images, Robots, Canonical URL, XML sitemap
Category pages Meta title, Meta description, Main heading (H1), Description, Title for social media, Text for social media, Robots, Canonical URL, XML sitemap
CMS pages Meta title, Meta description, Main heading (H1), Title for social media, Text for social media, Robots, Canonical URL, XML sitemap
Home page Meta title, Meta description, Title for social media, Text for social media, Robots, XML sitemap
Search results Meta title, Meta description, Main heading (H1), Robots
Pages listed by path Meta title, Meta description, Main heading (H1), Title for social media, Text for social media, Robots, Canonical URL
  • “Also where the page has a value of its own” replaces values entered on the page as well. Without it, a meta title, description or social media text entered on the page itself is kept.
  • “Description” and “Short description” are written only where the page has no text of its own, unless the box above is ticked; as plain text.
  • “Alt text of the images” applies only to product images without an alt text of their own, on the product page and in lists. “Without a text of its own” means empty, the same as the product name, placeholders such as “Image” and file names. File names are never changed.
  • “Pages listed by path” applies to the paths you name under “Paths of the Further Pages” in “Canonical URL”, and only while “Further Pages” is switched on.

The preview warns before you save: when a rule sets noindex on products that were ordered in the last 90 days, and when a canonical URL does not answer with 200 or is blocked by robots.txt.

Under “Import and export” you export all rules as CSV and read them into another shop, one column per field; store views are named by code, several separated by |. A rule with the same name and page type is updated, every line is checked like the form checks it; “Trial run, save nothing” saves nothing and reports every line.

Tip: Start with one rule for products without a meta description of their own. The list “Rules” shows rules per page type in the order in which they are asked.

5. Structured data

Stores › Configuration › STM Extensions › SEO › Structured Data

The module writes one JSON-LD element per page into the head, in which product, offer, breadcrumbs and shop refer to each other. Name, phone, address and VAT number of the shop are taken from General › Store Information. All parts are off by default.

  1. Switch on “Product and Offer on Product Pages” and at the same time “Remove the Theme’s Structured Data” in the group “Structured Data of the Theme”. Luma and Hyvä mark up products themselves as microdata; without the second switch the page would describe the product twice.
  2. Map the attributes: “Description Taken From”, “Brand Taken From”, “GTIN (EAN) Taken From” (only values with 8, 12, 13 or 14 digits), “Manufacturer Part Number (MPN) Taken From” and “Condition of the Products”.
  3. “Variants of Configurable Products” describes a configurable product as a product group and each variant as a product with its own SKU, price, availability and an address that opens the page with this variant chosen (up to 100 variants).
  4. “Rating and Reviews” writes the average and the number of approved reviews, “Number of Reviews Written Out” the latest of them in full (0 = only the average).
  5. For the EU energy label map “EU Energy Label: EPREL Registration Number Taken From”; Google reads the class from this number. “EU Energy Label: Class Taken From” is used only for products without a number.
  6. For the unit price map contents and unit (“Unit Price: Contents Taken From”, “Unit Price: Unit of the Contents Taken From”), optionally reference amount and reference unit. Without contents or with a unit Google does not know, no unit price is written.
  7. “Videos of the Gallery” (on by default once product data are on) describes YouTube, Vimeo and other videos of the product gallery as video data with title, description and the preview image of the gallery. Magento keeps no date for a video; the date the product was created is given.
  8. Optionally: “Article Number (SKU) Taken From” (when your customers know another article number than the SKU), “Category of the Product” (the path as in the breadcrumbs, for example “Gear > Bags”) and “Further Properties” (attributes such as material or size as name and value).

Further switches of the same group: “Breadcrumbs” (home, category path, page), “Product List on Category Pages” (the addresses of the listed products in the order of the page), “The Shop as Organization” with “Described As”, legal name, commercial register, description, email, “Fax”, “Price Range” (only for a local business or store), logo and profiles, “Return Policy of the Shop” and “Standard Shipping of the Shop” with their own set of fields, “Places Customers Can Visit” and “Name of the Website”.

Important: “Standard Shipping of the Shop” states one shipping rate for the countries you name, optionally free from an order value. If your rates depend on weight, zone or carrier, leave it off: a single rate would say something wrong. Returns and shipping are written on the page you choose under “Page That Carries Return Policy and Shipping”, else on the home page.

Building blocks for content

Five widgets show their content without JavaScript and write the structured data right beside it. Insert them under Content › Widgets or in the editor of a CMS page:

  • STM SEO: Questions and Answers
  • STM SEO: Instructions in Steps
  • STM SEO: Event
  • STM SEO: Video Data
  • STM SEO: JSON-LD of Your Own

Google no longer shows questions and answers or instructions as a result feature of their own; the data still describe the content to search engines and AI assistants. The widget says so as well.

bin/magento stm:seo:schema:check lists products whose data lack a required or recommended field, with SKUs per field.

6. Audit

Marketing › STM SEO › Audit

The audit fetches the pages the XML sitemap would list over HTTP, one after the other, the way a search engine does. It checks each page and all of them together: status, robots, canonical URL, titles and descriptions, headings, text, images, structured data, links and language versions. 26 checks, split into “Errors”, “Warnings” and “Notices”; the full list is in the reference manual. “Value” is the share of pages without an error and without a warning, “Value over time” shows the history.

  1. Choose the store view and click “Run the audit”. The audit starts with Magento’s cron within the next five minutes; reload the page afterwards.
  2. Each finding names the addresses concerned and a way to fix it: “Edit the page”, “Add a rule” or “Add a redirect”.
  3. In the settings group “Audit” you schedule audits with “Run”: “Only when asked for”, “Every Monday night” or “Every night”.

“Pages per Audit at Most” limits the run (default 500); each page is one request to your shop. Pages without links from others are only named when every page of the sitemap was checked. “Little Text Below (Words)” sets the threshold for “little text” (default 150 words in the main content). On the command line: bin/magento stm:seo:audit.

With the Search Console connected, the audit weighs its findings with its figures: within errors, warnings and notices the kinds whose pages Google showed most in the last 28 days come first, and within each kind the most seen pages, with impressions and clicks. Without figures the order of the run stays.

7. AI search, robots.txt and llms.txt

Marketing › STM SEO › AI Search

The page shows which crawlers of search engines and AI services read the shop, whether they come from the addresses their operators publish, and what visits from AI assistants bring. Counting is per day; nothing about a person is kept. Switch both on in the group “AI Search”:

  • “Count Crawlers”: requests of the crawlers of Google, Bing, OpenAI, Anthropic, Perplexity and others, each with “Purpose” (“search”, “training”, “on request of a user”), “Requests”, “From its addresses”, “From other addresses” and “Last seen”. The shop fetches the address lists of the operators every night, at once with “Fetch now”.
  • “Count Visits from AI Assistants”: visits from ChatGPT, Perplexity, Copilot, Gemini and Claude, recognised by the page that sent them or by utm_source, plus “Put into the cart”, “Orders” and “Revenue”. It uses the session the shop opens anyway, no cookie of its own.
Important: Pages that a cache in front of Magento answers (Varnish, a CDN) never reach the shop and are missing from these numbers. Assistants that open links without a referring page and without utm_source count as direct visits.

Check from outside

A crawler that robots.txt lets in can still be turned away by the server, a firewall or a CDN; the shop itself never sees such a request. The check from outside has the free STM SEO Audit Tool of Storetown Media fetch the home page, as a visitor and with the identifiers of Googlebot, bingbot, OAI-SearchBot, ChatGPT-User, GPTBot, ClaudeBot and PerplexityBot. “AI Search” then shows the value, the areas, PageSpeed and AI visibility, and per crawler the answer next to the visits the module counted from its published addresses.

  • “Check From Outside” switches the check on; only the public address of the home page goes to storetown-media.de, nothing about customers or orders. “Check Once a Week” checks every Monday.
  • Turned away and no real visit: the crawler probably does not get in. Turned away, but real visits: the firewall also checks the crawler’s address and lets only the real one in, which is fine.

robots.txt

Marketing › STM SEO › robots.txt

The page shows what the shop delivers as robots.txt, with warnings, for example when a page is blocked and set to noindex at the same time: the crawler then never reads the noindex. The table “Who may read a product page” names the purpose of each crawler and whether it may fetch a product page. “Test an address” checks an address for a crawler and names the deciding rule.

Below it you edit Magento’s text for the website of the chosen store view and save with “Save”; “Proposal of STM SEO” offers a text you can copy from. If a file robots.txt lies on the server, the web server delivers it instead of Magento; the page says so, and the module never changes that file.

llms.txt

Stores › Configuration › STM Extensions › SEO › llms.txt

“Offer /llms.txt” offers a text file at /llms.txt that describes the shop to AI tools. No search engine is known to use it for its results; Google states that it neither helps nor harms there. With “Content” = “Built automatically from the shop” it is built from the name of the shop, “Summary of the Shop” and links to the categories of the first two levels and to the CMS pages, refreshed every hour; with “Entered by hand” you enter “Text of the File” yourself (Markdown).

8. Search Console and Chrome UX Report

Stores › Configuration › STM Extensions › SEO › Google Search Console and Chrome UX Report

This feature needs your own access at Google; Storetown Media provides none. The numbers appear on Marketing › STM SEO › Google and under “Check the saved page” in the forms of product, category and CMS page.

  1. In the Google Cloud console create a service account, switch on the Google Search Console API and create a JSON key for the service account.
  2. In Search Console add the email address of the service account as a user of the property.
  3. Paste the whole key file into “Service Account (Key File)”. It is kept encrypted and never shown again; empty the field to remove it.
  4. Enter “Search Console Property” as Search Console names it: sc-domain:example.com for a domain property, https://www.example.com/ for a URL prefix.
  5. For the Core Web Vitals switch on the Chrome UX Report API, create an API key and enter it in “API Key for the Chrome UX Report”.
  6. Test the connection with bin/magento stm:seo:google. Import past days with --import-days=90.

“Import Every Night” is set to “Yes” by default: every night clicks and impressions per page and search term are added, kept for 16 months. The page “Google” shows “Clicks”, “Impressions”, “Click rate” and “Search position”, the pages and search terms, and “Opportunities”: “Near page one” (position 11 to 20) and “Few clicks for the position” (position 1 to 10 with a click rate below half the median of your own pages in the same range), both from 100 impressions.

“Core Web Vitals of real visitors” shows the 75th percentile of the last 28 days for the whole shop, split into “Phones” and “Desktops”. Good up to: LCP 2.5 s, INP 200 ms, CLS 0.1. If the shop has too few visitors, Google gives no values.

9. SEO grid

Marketing › STM SEO › SEO Grid

The grid shows the meta titles and descriptions entered by hand for all “Products”, “Categories” and “CMS pages” in one place, per store view or for the default values, 50 rows per page. Where nothing of its own is entered, a rule or Magento decides on the storefront.

  • Filters “All”, “Missing”, “Used elsewhere” and “Too long”, search by “Name, SKU or title”. A title equal to the product name counts as “no title of its own”.
  • Click a text to change it: Enter saves, Escape cancels. Only this one field is saved. If you empty the value of a store view, the default value applies there again.
  • “Clicks” shows the clicks of the last 28 days from Search Console (when connected), “Audit” the findings of the last audit.
  • CMS pages have one meta title and description for all store views.

CSV

“Export this list” downloads the filtered list. On import with “Trial run only” a trial run lists every change before anything is written. Columns: type, key, store, name, meta_title, meta_description; products by SKU, categories and CMS pages by ID, store = default for the default values. An empty cell removes the value. On the command line: bin/magento stm:seo:meta:export and stm:seo:meta:import (without --apply only a trial run).

10. AI assistant

Marketing › STM SEO › AI Assistant

The assistant writes suggestions for meta titles and descriptions from the facts the shop holds: name, SKU, categories, visible attributes and descriptions, no price. It uses your own key at the provider you choose; each suggestion is one request that the provider bills to you. Nothing reaches the shop before you apply it.

  1. Under Stores › Configuration › STM Extensions › SEO › AI Assistant choose “Provider” (“Anthropic (Claude)” or “OpenAI-compatible”) and enter “API Key”; the key is kept encrypted. “Model” is claude-opus-5-5 by default; for an OpenAI-compatible service enter its model name and, where needed, “Endpoint”.
  2. In “House Style” describe tone and wording in a few lines, per store view. Suggestions are written in the language of the store view.
  3. In the “SEO Grid” filter the pages, for example with “Missing”, and queue them with the button for the assistant (at most 500 pages). A cron writes ten pages every two minutes.
  4. On “AI Assistant” you see “Queued”, “To decide”, “Applied” and “Failed”. Per suggestion “Before” and “Suggestion” stand side by side; you can change the text and then “Apply” or “Reject”, one by one or with “Apply the chosen” and “Reject the chosen” for the selected ones.
  5. Under “History” you take applied texts back with “Take back”; this is refused if the field has been changed since.

For categories the assistant can also write the “Category text”: two or three short paragraphs from subcategories and example products. Under “Source” choose another store view instead of “Write from the facts of the page”: the assistant then translates its meta title, meta description and category text into the language of this store view; product and brand names stay, numbers are checked against the original.

Important: Every number in a suggestion that is not among the facts of the page is shown as a warning. Check such suggestions before you apply them.

11. Redirects and pages not found

Stores › Configuration › STM Extensions › SEO › Redirects and Pages Not Found

Redirects are looked up only when Magento would answer “not found”; on every other page they cost nothing. An address that answers on its own is never redirected from here: to move a page that exists, change its URL key, and Magento keeps the old address. The automatic redirects of this group are permanent (301), keep the parameters of the address and never apply to form submissions or background requests. All of them are off by default:

  • “Redirect to the Canonical URL”: Product and category pages opened by their internal address (catalog/product/view/id/…), products opened under a category path while category paths in product URLs are off, and the home page opened by its URL key go to their one address.
  • “Redirect to the URL Without a Trailing Slash”: For CMS pages and other pages with an address of their own (about-us/ goes to about-us). Magento’s own routes such as checkout/cart/ keep their slash, because Magento links them that way.
  • “Remove index.php from URLs”: index.php/about-us goes to about-us. Only where Web › Search Engine Optimization › Use Web Server Rewrites is on.
  • “Redirect From Disabled Products”: To the deepest active category of the product, else to a category above it, else to the home page.
  • “Redirect From Disabled Categories”: To the nearest active category above, else to the home page.
  • “Redirect From Deleted Products”: The addresses of a product are remembered when it is deleted, from the moment this is switched on.
  • “Redirect From Deleted Categories”: A deleted category and the categories below it go to the category that was above.
  • “Redirect From Deleted CMS Pages”: To the home page.
  • “Redirect Products That Are Not Visible Individually to Their Parent Product”: The variant of a configurable product, opened by its own address, goes to the configurable product.

“Status Code of Pages Not Found” decides whether pages not found answer with 404 or 410. 410 applies only to addresses no module knows: when a module sends its own page to “not found” (a switched-off product), when the address lies in the area of STM Blog (planned posts) or below a path from “Always 404 Below These Paths”, it stays 404, because the page may come back.

“Log Pages Not Found” lists each address that answers “not found” on the page “Not Found”; “Keep Entries For (Days)” (default 90) cleans up every night, at most 20,000 entries per store view.

Redirects by hand

Marketing › STM SEO › Redirects
  1. Click “Add a Redirect”. Under “From” enter the path after the address of the shop, for example old-shop/bags.html.
  2. “Match”: “Exact path”, “Path with * as placeholder” (old-shop/*, each * becomes $1, $2 … in the target) or “Regular expression”.
  3. “Redirect target”: a path of this shop (/ for the home page) or a full URL, empty for 410. “Status”: “301 moved for good”, “308 moved for good, the request method stays”, “302 moved for now”, “307 moved for now, the request method stays”, “410 gone, no target”.
  4. Optional: “Store view”, “Sort order” (for patterns), “Valid from” and “Valid until”, “Pass the parameters of the address on” (for example ?utm_source=newsletter), “Note”.

Before saving, the form checks whether the redirect points to itself, whether the address already has one in the store view, whether the target redirects on (chain) or back (loop) and whether a pattern is valid. The lookup takes the exact path first, then the addresses of disabled products and categories, then the patterns in their order.

The list shows “From”, “Redirect target”, “Status” and “Times used”, with search and filters by “Origin” and “Unused for 12 months”. Under “Import and export” you import and export CSV with the columns from, to, status, store, match, keep_query, valid_from, valid_to, note, active; “Trial run, save nothing” saves nothing and reports every line.

Not found

Marketing › STM SEO › Not Found

The most requested addresses are at the top, with “Requests”, “Last request” and the page that links to them. “Proposed target” names one where the shop has it: a page with the same URL key, a product with that SKU, or the nearest address above it. “Redirect there” fills in the form; a redirect takes the address out of the list. “Hide the selected” hides addresses you do not want to redirect.

Important: Requests the built-in page cache answers are counted. Behind Varnish only the first request after the cache was cleaned reaches Magento.

12. Canonical URL and crawl control

Stores › Configuration › STM Extensions › SEO › Canonical URL

With “Yes” the page carries exactly one canonical tag, written by this module; with “No” the module leaves the tag of this page type alone. A rule can set a different canonical URL for single pages.

  • “Product Pages” (default “Yes”): The product URL without a category path, whichever category the visitor came from.
  • “Category Pages” (default “Yes”): The category URL without sorting, limit and view mode. Filtered pages point to the unfiltered category. With STM Layered Navigation the canonical of category pages follows the setting there.
  • “Page Number in the Category Canonical” (default “Yes”): Yes = page 2 points to itself (?p=2), as Google asks for paginated lists. No = every page points to page 1.
  • “Filtered Category Pages Point To” (default “The unfiltered category”): The unfiltered category keeps filter combinations out of the index. The filtered page itself is for shops that want single filter pages to rank; the filters are then written in a fixed order, sorting and limit are left out.
  • “CMS Pages” (default “Yes”): Magento itself writes no canonical tag on CMS pages.
  • “Home Page” (default “Yes”): The base URL of the store view. The home page opened by its own URL key points there as well.
  • “Search Result Pages” (default “No”): The search URL with the search term only. Leave this off unless search results are meant to be indexed.
  • “Further Pages” (default “No”): Pages of no other type, for example the contact form or the login page, named by their path below.

“Overview” shows per store view who writes the canonical tag.

Crawl control

Stores › Configuration › STM Extensions › SEO › Crawling

Variants of lists that are worth crawling but not indexing get NOINDEX,FOLLOW: search engines leave them out of the index and still follow their links to the products. A rule with robots for a page comes first. Everything is off by default:

  • “Search Results Not Indexed”
  • “Lists Not Indexed From Page”: for example 3, then pages 1 and 2 may be indexed, page 3 and later not. 0 = every page may be indexed.
  • “Lists Not Indexed From Filters”: for example 2, then a list with one filter may be indexed, with two or more not. With STM Layered Navigation running, it decides about filter pages of categories.
  • “Sorted or Limited Lists Not Indexed”: sorting, direction, number per page or view mode in the address.
Important: Do not also block these addresses in robots.txt, or the noindex is never read. The page “robots.txt” shows such cases.

In “Robots: Preview in Search Results” you set max-snippet, max-image-preview and max-video-preview; they are added to the robots tag of every page that is indexed. Empty = not written.

Further pages and filters of categories

Stores › Configuration › STM Extensions › SEO › Category Pagination and Filters

For category and search result pages: page number in meta title, meta description and heading (“Page Number in the Meta Title”), filter values in the same three places (“Filter Values in the Meta Title”), “Link rel=“prev“ and rel=“next“” and “Category Description on the First Page Only”. All off by default. With STM Layered Navigation these settings are made there; this group then has no effect, so nothing is written twice.

13. XML sitemap and sitemap page

Stores › Configuration › STM Extensions › SEO › XML Sitemap

The sitemap consists of one index file and, per page type, as many files as needed, written straight to disk so that catalogues of any size fit. Pages a rule sets to noindex, pages whose canonical URL points elsewhere and redirects are never listed.

  1. Switch on “Write Every Night” (runs at 2:47 with Magento’s cron) or write it now: bin/magento stm:seo:sitemap:generate --check=50. With --check the command opens this many addresses of the finished sitemap and reports those that do not belong in it.
  2. “Folder Below pub/” empty keeps the sitemap in pub/, address https://your-shop/sitemap.xml; on hosts where only pub/media can be written: media/sitemap. “File Name” empty = sitemap.xml.
  3. Choose the content: “CMS Pages”, “Categories”, “Products”, “Product Images” (default “The main image”), “Leave Out Products That Are Out of Stock”, “Further Addresses” and “Addresses Never Listed”.
  4. “Name the Sitemap in robots.txt” adds the line “Sitemap: …” to the robots.txt Magento serves. A file robots.txt in pub/ is not changed; add the line there by hand.

Single products and categories are left out with the switch “Leave Out of the XML Sitemap” in the section “Search Engine Optimization”. If you use Magento’s own sitemap (Marketing › Site Map) under the same file name, the module leaves that file alone and reports it. “Write Change Frequency and Priority” writes values Google does not read; off by default.

“Pages of Other Modules” (on by default) takes the pages other modules announce to Magento’s own sitemap, such as posts and categories of STM Blog or brand pages, into a file of their own; the audit checks them as well. Files of a former run that are no longer needed are removed by the sitemap itself.

Leave out many pages at once with a rule: field “XML sitemap”, value “Leave out”, with conditions like any rule. The pages stay indexable; to keep them out of the index as well, set robots to NOINDEX in the same rule. When the nightly sitemap cannot be written, the module sends an e-mail to “E-mail When the Sitemap Is Not Written”.

Sitemap page for visitors

Stores › Configuration › STM Extensions › SEO › Sitemap Page for Visitors

“Sitemap Page” creates a page that lists categories (as a tree in the order of the menu), CMS pages and products as links, at “Address of the Page” (default sitemap). “Products Shown on the Page” limits the products on the page; when the shop has more, a link below the list leads to all of them, 500 per page. “Link in the Footer” adds a link to the footer of Luma and themes that use Magento’s footer links; Hyvä builds its footer from a template of its own, add the link there.

“Order and Headings of the Blocks” orders the blocks and gives them headings of your own, one line per block, for example products | Our products above categories. “Open Links in a New Tab” opens the links in a new tab, “Link in the Top Links” also adds the link to Luma’s top links (next to “Sign In”).

14. Language versions (hreflang)

Stores › Configuration › STM Extensions › SEO › Language Versions (hreflang)

hreflang tells search engines which page is the same page in another language or for another country. Products and categories are matched by their ID, CMS pages by their URL key, the home page always. Only store views with an address of their own are named; store views under one address are one page. Pages that are not indexed are left out.

  • “Write hreflang” switches it on; switch it off for a store view that is no language version of the others, for example a B2B store.
  • “Language Codes of This Store View” (store view only): empty = from the locale; several for one store view that serves several countries: de-DE, de-AT, de-CH. Great Britain is GB, not UK.
  • “Codes From the Locale With the Country”: Yes = de-DE, No = de.
  • “Language Versions Are”: “The store views of the same website” or “All store views of every website”.
  • “Store View for Everybody Else (x-default)”: the version for visitors whose language none of the store views has.
  • “Written”: “In the head of the page”, “In the XML sitemap only” or “In both”; the sitemap variants need the XML sitemap of this module.

Joining language versions by hand

When the same page is a page of its own per language, for example a CMS page ueber-uns in German and about-us in English, or a product of its own per website, enter the same word in “Language Group (hreflang)” on all versions (section “Search Engine Optimization” of product, category and CMS page). Pages you list by path under “Paths of the Further Pages”, for example customer/account/login or contact, are versions of each other by their path.

15. Social media (Open Graph and X)

Stores › Configuration › STM Extensions › SEO › Social Media (Open Graph)

“Write Open Graph Tags” writes on product, category, CMS and home pages what Facebook, LinkedIn, WhatsApp, X and messengers show when a page is shared: title, text, image and address. The tags of Luma and Hyvä are replaced, so that each tag is there once. Title and text come from a rule, else from the fields “Title for Social Media” and “Text for Social Media” of the page, else from the meta title and meta description. On products the image is the gallery role “Social Media Image”, else the base image; otherwise “Default Image” (best 1200 × 630 pixels).

Further: “Default Text”, “Facebook App ID” (only for Facebook’s statistics), “X (Twitter) Card” (“Large image above the title”, “Small image beside the title”, “No Twitter tags”) and “X (Twitter) Account of the Shop”.

16. Internal links

Marketing › STM SEO › Internal Links

A keyword in the description of a product or category, or in a CMS page, becomes a link to the page you name. Links are placed when the page is built; nothing is written into the texts. Never in headings, existing links, buttons or form fields, never to the page itself.

  1. Under Stores › Configuration › STM Extensions › SEO › Internal Links switch on “Place Internal Links” and choose under “In” where links are placed: Descriptions of products, Descriptions of categories, Content of CMS pages, CMS blocks. CMS blocks also stand in the header and footer of every page; choose them only when your blocks hold running text.
  2. “Links per Page at Most” limits all internal links of this module on one page together (default 5).
  3. On “Internal Links” click “Add a Link”. Under “Keywords” enter one word form per line as it appears in your texts; whole words only, upper and lower case alike, the longest keyword on a page wins. “Target”: a path of this shop or a full URL. Also “Title on hover”, “Store views”, “Per page at most”, “Sort order”, “Active from” to “Active until”, “Open in a new window” and “nofollow”.

“Placed on” shows the pages a link stands on; a page records its links when it is rendered, not when it comes from the page cache. Every night a cron checks the targets: a target that is gone, redirects or is not indexed pauses its link until it is fine again. “Check all targets now” checks at once.

When a keyword appears more often than the link may be set, choose under “Which occurrences” “The first ones” or “Chosen at random, the same on every visit”. Random means chosen once per page: the same places on every visit and after every cache clean.

Under “Import and export” you export and import all links as CSV, keywords separated by |; a link with the same target and store views is updated.

17. IndexNow

Stores › Configuration › STM Extensions › SEO › IndexNow

“Report Changes” reports changed and deleted products, categories and CMS pages to search engines that take part in IndexNow (Bing, Yandex, Seznam, Naver and others; Bing’s index also feeds Copilot). Google does not take part. Sending runs every five minutes with Magento’s cron; what was sent is shown on “AI Search”. Added to that: the old address of every new redirect and, checked every 15 minutes, products whose stock status changed (order, delivery, merchandise management) or that an import wrote. Mass actions in the admin are not reported.

Leave “Key” empty: a key is made up when saving, and the shop delivers it under the base URL as a text file. “Send To” is “api.indexnow.org (shared)” by default; each of them shares the addresses with all others.

18. Checking while editing

In the section “Search Engine Optimization” of product, category and CMS page the module shows the “Search result preview”. It follows what is typed, counts characters and measures the width in pixels, switchable between “Desktop” and “Mobile”. Google does not publish its pixel limit, so the preview says “about”.

  • If the same meta title already stands on another product, category or CMS page, the preview warns while typing (“Meta title used elsewhere”) and asks once when saving.
  • “Check the saved page” fetches the saved page from the storefront and applies the checks of the audit; with Google connected it also shows what Google knows about the page, its clicks of the last 28 days and its Core Web Vitals. Below it, “Open in the shop with the check bar” opens the page with the check bar.
  • Set the recommended lengths in “Search Result Preview in the Admin” (60 characters for the title, 155 for the description); “Show the Preview” switches the preview off.
  • New fields: “Title for Social Media” and “Text for Social Media” on product, category and CMS page, “Address of the Social Media Image” on category and CMS page, the gallery role “Social Media Image” on products, “Leave Out of the XML Sitemap” on product and category, and “Description Below the Products” in the section “Content” of the category, shown below the product list.

Check bar on the storefront

The check bar shows a page of the shop as a visitor who is not logged in sees it, and above it what a search engine reads there: status, title, meta description, robots including the HTTP header, canonical URL, language versions, structured data, headings, images without alt text and the tags for social media. Anything worth a look is marked, “Details” unfolds it all. It follows every click in the page shown. Open it on “Overview” in the section “Check bar” (store view and address or path, also the home page, filtered lists or contact) or after “Check the saved page” in a form.

The pages of the shop are not changed for it: no script for visitors, nothing in the page cache. The link is valid for one hour and only for the chosen store view; without a valid link the address answers “not found”.

19. Further settings

Keywords and Breadcrumbs

  • “Leave the Meta Keywords Tag Out of the Head”: search engines do not use the tag; it mainly tells competitors which words a page aims at.
  • “Show the Keywords Below the Content” with “Text in Front of the Keywords” (default “People also searched for”): one line of text with the meta keywords of the page.
  • “Product Breadcrumbs as Part of the Page”: Luma builds the breadcrumbs of a product page in the browser, so search engines do not see them. With Yes they are written into the page, with “Category Path in the Product Breadcrumbs”. Themes that render their own product breadcrumbs, such as Hyvä, are left as they are.

URLs of Products and Categories

  • “Create Missing URLs Every Night”: after an import products and categories can be left without an address of their own; a nightly job creates the missing ones and never changes existing ones. At any time: bin/magento stm:seo:urls:generate --dry-run.
  • “Category URLs Without the Categories Above”: bags.html instead of gear/bags.html, for categories saved from now on. Existing ones are changed by bin/magento stm:seo:urls:generate --rebuild-categories, which leaves a permanent redirect from every old address; run it with --dry-run first, it lists the addresses and the URL keys that would collide.

20. Luma, Hyvä, page cache, B2B and headless

  • Luma and Hyvä: head output, JSON-LD, redirects and internal links work in both themes. Differences: product breadcrumbs are added only where the theme builds them in the browser (Luma); the link to the sitemap page is added only to Magento’s footer and top links (Luma).
  • Page cache: all values are created when the page is built and stored with it; pages from the cache cost no additional work. Redirects are looked up only where Magento would answer “not found”.
  • Varnish and CDN: what a cache in front of Magento answers never reaches the shop. This affects the counters of AI search and the log of pages not found.
  • Headless: GraphQL provides the field stm_seo on products, categories and CMS pages (meta data, robots, absolute canonical URL, hreflang, Open Graph, JSON-LD) and the query stmSeoRedirect. REST interfaces exist for rules, redirects and internal links. Details are in the reference manual.

B2B

Stores › Configuration › STM Extensions › SEO › B2B

Search engines see the shop as a visitor who is not logged in; structured data and the XML sitemap always show that state. “Prices Only After Login” takes price and offer out of the product data; Google then shows no price, and products cannot appear in its free shopping listings. “Categories Guests Do Not See” takes the categories named (IDs, separated by commas), all below them and the products listed only there out of the XML sitemap. You maintain this list by hand on purpose. Prices follow the tax display of the shop.

21. User permissions

Under System › Permissions › User Roles you grant the permissions of the module individually, below “STM SEO”: “SEO Center”, “Optimization Plan”, “Setup”, “Audit”, “SEO Grid”, “AI Assistant”, “Rules”, “Redirects and Pages Not Found”, “Internal Links”, “robots.txt”, “AI Search”, “Audit Tool Pro”, “Google”, “Settings”. “Redirects” and “Not Found” share one permission. The REST interfaces check the same permissions.

22. Languages and store views

The admin and the storefront output are translated into: English, German, Czech, Danish, Spanish, French, Italian, Dutch, Polish, Portuguese, Swedish. Texts you enter (rules, house style, summary for llms.txt, default texts) are set per store view. Rules apply to all store views or the chosen ones; the AI assistant writes in the language of the store view.

23. Troubleshooting

Symptom Cause and solution
A setting has no effect in the shop Flush the page cache; check that “Enable STM SEO” is Yes in this store view and whether the setting is overridden for the website or store view.
Two canonical tags or none “Overview” shows per page type who writes. With STM Layered Navigation, it decides about category pages.
Product described twice in structured data Switch on “Remove the Theme’s Structured Data” together with “Product and Offer on Product Pages”.
A rule does not apply Open the preview of the rule: it shows whether the conditions hold and whether the page has a value of its own. Check the order: the first matching rule with a value wins.
A redirect does not work The old address still answers on its own (redirects only apply to “not found”), the redirect is inactive or outside its validity, or a cache in front of Magento serves the old answer.
The audit does not start Magento’s cron is not running. bin/magento cron:run must run every minute; alternatively bin/magento stm:seo:audit.
The sitemap is not written bin/magento stm:seo:sitemap:generate reports the reason, for example a file of the same name that this module did not write (then --force or another file name), or a folder that cannot be written.
Google page empty Service account not added as a user of the property, or the property is spelled wrongly. bin/magento stm:seo:google shows Google’s answer.
The assistant writes nothing No API key, cron not running, or the provider refuses; the reason is shown under “Failed”.
robots.txt change has no effect A file robots.txt on the server is delivered instead of Magento’s text. The page “robots.txt” names it.

With errors, first check var/log/exception.log and var/log/system.log.

24. Updates and support

Installation and updates run via Composer with your Adobe Commerce Marketplace access keys, step by step in the installation guide. Questions: support@storetown-media.de, with Magento version, theme (Hyvä or Luma), module version and a short description.

Storetown Media · Tornesch, Germany · in ecommerce since 2012

Installation Guide

Install with Composer, check, update and remove.

1. Requirements

Item Requirement
Magento Magento Open Source or Adobe Commerce 2.4.6 to 2.4.9; tested with 2.4.8-p4
PHP 8.1 to 8.5; tested with 8.4
Composer 2.x, with the access keys of your Marketplace account
Themes Luma and Hyvä; Hyvä needs no separate compatibility module
Cron Running Magento cron for the audit, XML sitemap, IndexNow, Search Console import, AI assistant and the check of internal links

Back up files and database before installing. Install in a staging environment first.

2. Installation with Composer

  1. In the Adobe Commerce Marketplace, open My Profile › Access Keys. The public key is the username, the private key the password for repo.magento.com.
  2. Run in the Magento root directory (where app and bin are). If Composer asks for credentials, enter the keys; Composer stores them in auth.json.
composer require storetown-media/module-seo

Then enable the module and run the setup:

bin/magento module:enable STM_Seo
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

In production mode also run bin/magento setup:static-content:deploy -f with the languages of your store views, for example de_DE en_US. If setup:di:compile stops for lack of memory, run it as php -d memory_limit=-1 bin/magento setup:di:compile.

3. Check the installation

bin/magento module:status STM_Seo
bin/magento stm:seo:status
  • The module must be reported as enabled. stm:seo:status shows per store view who writes the canonical tag, and the active rules.
  • In the admin the menu Marketing › STM SEO appears with the pages of the module; the settings are under Stores › Configuration › STM Extensions › SEO.

4. After installation

  • What works at once: “Enable STM SEO” is set to “Yes”, and the module writes exactly one canonical tag on product, category, CMS and home pages. All other features are off until you switch them on. With “Enable STM SEO” set to “No” the module writes nothing, and Magento’s own tags apply again.
  • Setup: open Marketing › STM SEO › Setup. The page reads the current state and proposes settings; “Apply” writes only settings of this module.
  • Your own keys: Search Console, Chrome UX Report and the AI assistant need your own Google service account, an API key at Google and an API key at Anthropic or an OpenAI-compatible service. Every other feature works without them.
  • Cron: bin/magento cron:run must run every minute. The jobs of the module run in the group default.
  • The user guide covers setup and features, the reference manual every setting.

5. Updating

composer update storetown-media/module-seo
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Your settings, rules and redirects stay in the database.

6. Removing

bin/magento module:disable STM_Seo
composer remove storetown-media/module-seo
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

The tables stm_seo_*, the attributes of the module and its settings remain in the database; only delete them after a backup. Redirects of the module no longer work afterwards.

7. Troubleshooting

Symptom Cause and solution
Blank page or error 500 after installation setup:di:compile did not finish. Run it again with php -d memory_limit=-1, then cache:flush.
Admin pages look unstyled In production mode run setup:static-content:deploy -f for the languages of the admin.
Menu Marketing › STM SEO missing The user role lacks the permissions below STM_Seo::main; then run cache:clean config.
Changes do not show in the shop Flush the page cache and check that the setting applies to the right website or store view.
Audit, sitemap or IndexNow do not run Magento’s cron is not running. Check bin/magento cron:run; write the sitemap at once with bin/magento stm:seo:sitemap:generate.

Questions about the installation: support@storetown-media.de, with Magento version, PHP version and the error message.

Reference Manual

Every setting with its default, admin pages, permissions, console commands and cron jobs.

1. How to read this manual

This manual lists every setting of the module in the order of the backend: 24 groups with 185 fields in total under Stores › Configuration › STM Extensions › SEO. The tables are generated from the program code of version 1.0.0, so they match your backend. How to set up and use the features is shown in the user guide.

  • Setting: the label in the backend, below it the configuration path (for bin/magento config:set) and the narrowest scope in which you can change the value. “Store view” means it can be set per language or store.
  • Default: the value after installation, as long as you save nothing (from etc/config.xml).
  • Values: the choices the field offers, or the kind of input.
  • Description: the help text you also see below the field in the backend, and when the field is shown.

The menu item Marketing › STM SEO › Settings leads there as well. The search at the top of the configuration finds every setting by its name.

2. The groups at a glance

Group Fields Content
General 1 –
Audit 3 The audit fetches the pages of the XML sitemap over HTTP, one after the other, the way a search engine does. Results under Marketing › STM SEO › Audit; on the command line: bin/magento stm:seo:audit
Canonical URL 11 Yes = the page carries exactly one canonical tag, written by this module; Magento’s own switches under Catalog › Search Engine Optimization are then not needed. No = the module leaves the tag of this page type alone. A rule can set a different canonical URL for single pages.
Robots: Preview in Search Results 3 How much of a page search engines may show. The directives are added to the robots tag of every page that is indexed. Empty = not written, the search engine decides.
Crawling 4 Variants of lists that are worth crawling but not indexing get NOINDEX,FOLLOW: search engines leave them out of the index and still follow their links to the products. A rule with robots for a page comes first. Do not also block these addresses in robots.txt, or the noindex is never read (Marketing › STM SEO › robots.txt shows it).
AI Search 2 Counters per day for Marketing › STM SEO › AI Search. Nothing about a person is kept: one row per day, store view and crawler or assistant. Pages that a cache in front of Magento (Varnish, a CDN) answers never reach the shop and are not counted.
B2B 2 Search engines see the shop as a visitor who is not logged in. Structured data and the XML sitemap always show that state; here you name what such a visitor does not see. Prices follow the tax display of the shop (with or without VAT).
AI Assistant 5 Writes suggestions for meta titles and descriptions from the facts the shop holds (name, attributes, categories, descriptions), with your own key at the provider you choose. Nothing reaches the shop before it is applied under Marketing › STM SEO › AI Assistant; applied texts can be taken back. Each suggestion is one request to the provider and is billed there.
Google Search Console and Chrome UX Report 4 Clicks, impressions and positions from Search Console, what Google knows about a page (URL Inspection) and the Core Web Vitals of real visitors, shown under Marketing › STM SEO › Google and with „Check the saved page“. Search Console: create a service account in the Google Cloud console, switch on the Google Search Console API, and add the e-mail address of the service account as a user of the property in Search Console. Chrome UX Report: switch on the Chrome UX Report API and create an API key.
IndexNow 3 Reports changed and deleted products, categories and CMS pages to search engines that take part in IndexNow (Bing, Yandex, Seznam, Naver and others; Bing’s index also feeds Copilot and other assistants). Google does not take part. Sent every five minutes with Magento’s cron; what was sent is shown under Marketing › STM SEO › AI Search. Changes by import or mass action are not reported.
Check From Outside (STM SEO Audit Tool) 3 The free STM SEO Audit Tool of Storetown Media looks at the shop from outside: as a visitor and with the identifiers of the crawlers of search engines and AI services. It shows what the shop itself cannot see, for example a firewall or CDN that turns crawlers away.
Category Pagination and Filters 8 For category and search result pages. With STM Layered Navigation these settings are made there; this group then has no effect, so nothing is written twice.
Redirects and Pages Not Found 13 The automatic redirects below are permanent (301), keep the parameters of the address and never apply to form submissions or background requests. They and the redirects of Marketing › STM SEO › Redirects are looked up only when Magento would answer „not found“, so they cost nothing on every other page.
Keywords and Breadcrumbs 5 –
Search Result Preview in the Admin 3 Shown in the section Search Engine Optimization of products, categories and CMS pages. It follows what is typed and counts the characters.
URLs of Products and Categories 2 –
llms.txt 4 A text file at /llms.txt that describes the shop to AI tools. No search engine is known to use it for its results, and Google states that it neither helps nor harms there. It is offered for tools and agents that look for it.
Structured Data 54 Written as one JSON-LD element in the head of the page, in which product, offer, breadcrumbs and shop refer to each other. Name, phone, address and VAT number of the shop are taken from General › Store Information.
Structured Data of the Theme 1 –
Internal Links 3 Keywords become links to the pages you name under Marketing › STM SEO › Internal Links. The links are placed when a page is rendered; nothing is written into the texts.
Social Media (Open Graph) 6 What Facebook, LinkedIn, WhatsApp, X and messengers show when a page is shared: title, text, image and address. Title and text come from a rule, else from the fields of the page under Search Engine Optimization, else from the meta title and meta description. On products the image is the role „Social Media Image“ of the gallery, else the base image.
Language Versions (hreflang) 7 Tells search engines which page is the same page in another language or for another country, so that each visitor finds the version for them. Products and categories are matched by their ID, CMS pages by their URL key, the home page always. Only store views with an address of their own are named; store views under one address are one page. Pages that are not indexed are left out.
XML Sitemap 24 One index file and, per type of page, as many files as needed, written straight to disk so that catalogs of any size fit. Pages a rule sets to noindex, pages whose canonical URL points elsewhere and redirects are never listed. Write it now with: bin/magento stm:seo:sitemap:generate –check=50
Sitemap Page for Visitors 14 A page that lists the categories, pages and products of the shop as links, for visitors who look for an overview and as one more way for search engines to reach every page.

3. Group “General”

Stores › Configuration › STM Extensions › SEO · stm_seo/general

Setting Default Values Description
Enable STM SEO
stm_seo/general/enabled
Store view
Yes Yes · No No = the module writes nothing in this scope and Magento’s own tags apply again. Rules and settings are kept.

4. Group “Audit”

Stores › Configuration › STM Extensions › SEO · stm_seo/audit

The audit fetches the pages of the XML sitemap over HTTP, one after the other, the way a search engine does. Results under Marketing › STM SEO › Audit; on the command line: bin/magento stm:seo:audit

Setting Default Values Description
Run
stm_seo/audit/schedule
Store view
Only when asked for Only when asked for · Every Monday night · Every night
Pages per Audit at Most
stm_seo/audit/max_pages
Store view
500 Text Each page is one request to your shop. Pages without links from others are only named when every page of the sitemap was checked.
Little Text Below (Words)
stm_seo/audit/thin_words
Store view
150 Text Words in the main content of a page, without header, menu and footer.

5. Group “Canonical URL”

Stores › Configuration › STM Extensions › SEO · stm_seo/canonical

Yes = the page carries exactly one canonical tag, written by this module; Magento’s own switches under Catalog › Search Engine Optimization are then not needed. No = the module leaves the tag of this page type alone. A rule can set a different canonical URL for single pages.

Setting Default Values Description
Product Pages
stm_seo/canonical/product
Store view
Yes Yes · No The product URL without a category path, whichever category the visitor came from.
Category Pages
stm_seo/canonical/category
Store view
Yes Yes · No The category URL without sorting, limit and view mode. Filtered pages point to the unfiltered category. With STM Layered Navigation the canonical of category pages follows the setting there.
Page Number in the Category Canonical
stm_seo/canonical/pagination
Store view
Yes Yes · No Yes = page 2 points to itself (?p=2), as Google asks for paginated lists. No = every page points to page 1.
Only shown when “Category Pages” = Yes
Filtered Category Pages Point To
stm_seo/canonical/filtered
Store view
The unfiltered category The unfiltered category · The filtered page itself The unfiltered category keeps filter combinations out of the index. The filtered page itself is for shops that want single filter pages to rank; the filters are then written in a fixed order, sorting and limit are left out.
Only shown when “Category Pages” = Yes
CMS Pages
stm_seo/canonical/cms
Store view
Yes Yes · No Magento itself writes no canonical tag on CMS pages.
Home Page
stm_seo/canonical/home
Store view
Yes Yes · No The base URL of the store view. The home page opened by its own URL key points there as well.
Home Page Canonical Ends With a Slash
stm_seo/canonical/home_slash
Store view
Yes Yes · No Yes = https://www.example.com/. Choose what your server answers with without a redirect.
Only shown when “Home Page” = Yes
Store Code in the Home Page Canonical
stm_seo/canonical/home_store_code
Store view
Yes Yes · No Only matters where Magento adds store codes to URLs: the home page of the default store view then answers with and without the code. No = the address without the code is named.
Only shown when “Home Page” = Yes
Search Result Pages
stm_seo/canonical/search
Store view
No Yes · No The search URL with the search term only. Leave this off unless search results are meant to be indexed.
Further Pages
stm_seo/canonical/other
Store view
No Yes · No Pages of no other type, for example the contact form or the login page, named by their path below.
Paths of the Further Pages
stm_seo/canonical/other_paths
Store view
empty Multi-line text One per line, for example contact or customer/account/login. A whole URL works too, and * stands for any characters. Each of these pages points to itself, without parameters.
Only shown when “Further Pages” = Yes

6. Group “Robots: Preview in Search Results”

Stores › Configuration › STM Extensions › SEO · stm_seo/robots

How much of a page search engines may show. The directives are added to the robots tag of every page that is indexed. Empty = not written, the search engine decides.

Setting Default Values Description
max-snippet
stm_seo/robots/max_snippet
Store view
empty Text The longest text snippet in characters. -1 = no limit, 0 = no text snippet.
max-image-preview
stm_seo/robots/max_image_preview
Store view
empty Not written · large · standard · none The largest image preview. Large is what Google Discover asks for.
max-video-preview
stm_seo/robots/max_video_preview
Store view
empty Text The longest video preview in seconds. -1 = no limit, 0 = a still image only.

7. Group “Crawling”

Stores › Configuration › STM Extensions › SEO · stm_seo/crawl

Variants of lists that are worth crawling but not indexing get NOINDEX,FOLLOW: search engines leave them out of the index and still follow their links to the products. A rule with robots for a page comes first. Do not also block these addresses in robots.txt, or the noindex is never read (Marketing › STM SEO › robots.txt shows it).

Setting Default Values Description
Search Results Not Indexed
stm_seo/crawl/noindex_search
Store view
No Yes · No
Lists Not Indexed From Page
stm_seo/crawl/noindex_page_from
Store view
0 Text For example 3: pages 1 and 2 may be indexed, page 3 and later not. 0 = every page may be indexed, as Google recommends for lists that link to products only there.
Lists Not Indexed From Filters
stm_seo/crawl/noindex_filters_from
Store view
0 Text For example 2: a list with one filter may be indexed, with two or more not. 0 = off. With STM Layered Navigation running, its own settings decide about filter pages of categories.
Sorted or Limited Lists Not Indexed
stm_seo/crawl/noindex_list_params
Store view
No Yes · No Lists with sorting, direction, number of products per page or view mode in the address show the same products as without.

8. Group “AI Search”

Stores › Configuration › STM Extensions › SEO · stm_seo/ai

Counters per day for Marketing › STM SEO › AI Search. Nothing about a person is kept: one row per day, store view and crawler or assistant. Pages that a cache in front of Magento (Varnish, a CDN) answers never reach the shop and are not counted.

Setting Default Values Description
Count Crawlers
stm_seo/ai/count_bots
Store view
No Yes · No Requests of the crawlers of Google, Bing, OpenAI, Anthropic, Perplexity and others, each checked against the addresses its operator publishes (fetched every night), so that crawlers that only borrow a name stand apart.
Count Visits from AI Assistants
stm_seo/ai/count_visits
Store view
No Yes · No Visits that come from ChatGPT, Perplexity, Copilot, Gemini or Claude (by the page that sent them or by utm_source), and the products put into the cart and the orders of those visits. Uses the session the shop opens anyway, no cookie of its own.

9. Group “B2B”

Stores › Configuration › STM Extensions › SEO · stm_seo/b2b

Search engines see the shop as a visitor who is not logged in. Structured data and the XML sitemap always show that state; here you name what such a visitor does not see. Prices follow the tax display of the shop (with or without VAT).

Setting Default Values Description
Prices Only After Login
stm_seo/b2b/hide_offers
Store view
No Yes · No The product data name no price and no offer. Google then shows no price, and products cannot appear in its free shopping listings.
Categories Guests Do Not See
stm_seo/b2b/hidden_categories
Store view
empty Text IDs, separated by commas. These categories, all below them and the products listed only there leave the XML sitemap.

10. Group “AI Assistant”

Stores › Configuration › STM Extensions › SEO · stm_seo/assistant

Writes suggestions for meta titles and descriptions from the facts the shop holds (name, attributes, categories, descriptions), with your own key at the provider you choose. Nothing reaches the shop before it is applied under Marketing › STM SEO › AI Assistant; applied texts can be taken back. Each suggestion is one request to the provider and is billed there.

Setting Default Values Description
Provider
stm_seo/assistant/provider
Website
Anthropic (Claude) Anthropic (Claude) · OpenAI-compatible Anthropic calls the Claude Messages API; „OpenAI-compatible“ posts to {endpoint}/chat/completions with a bearer token (OpenAI, gateways, local servers).
API Key
stm_seo/assistant/api_key
Website
empty Stored encrypted Kept encrypted.
Model
stm_seo/assistant/model
Website
claude-opus-5-5 Text Anthropic: claude-opus-5-5 (default), claude-sonnet-5-5 or claude-haiku-5-5. OpenAI-compatible: the model name of that service.
Endpoint
stm_seo/assistant/endpoint
Website
empty Text Empty for the provider’s own address.
House Style
stm_seo/assistant/style
Store view
empty Multi-line text A few lines on tone and words, for example: address customers formally, name the brand first, never write „cheap“.

11. Group “Google Search Console and Chrome UX Report”

Stores › Configuration › STM Extensions › SEO · stm_seo/google

Clicks, impressions and positions from Search Console, what Google knows about a page (URL Inspection) and the Core Web Vitals of real visitors, shown under Marketing › STM SEO › Google and with „Check the saved page“. Search Console: create a service account in the Google Cloud console, switch on the Google Search Console API, and add the e-mail address of the service account as a user of the property in Search Console. Chrome UX Report: switch on the Chrome UX Report API and create an API key.

Setting Default Values Description
Service Account (Key File)
stm_seo/google/service_account
Website
empty Text field; the stored key is not shown again The whole JSON key file of the service account. It is kept encrypted and never shown again; empty the field to remove it.
Search Console Property
stm_seo/google/property
Store view
empty Text As Search Console names it: sc-domain:example.com for a domain property, https://www.example.com/ for a URL prefix.
Import Every Night
stm_seo/google/import
Store view
Yes Yes · No Clicks and impressions per page and search term, kept for 16 months. Past days: bin/magento stm:seo:google –import-days=90
API Key for the Chrome UX Report
stm_seo/google/crux_key
Website
empty Stored encrypted Kept encrypted.

12. Group “IndexNow”

Stores › Configuration › STM Extensions › SEO · stm_seo/indexnow

Reports changed and deleted products, categories and CMS pages to search engines that take part in IndexNow (Bing, Yandex, Seznam, Naver and others; Bing’s index also feeds Copilot and other assistants). Google does not take part. Sent every five minutes with Magento’s cron; what was sent is shown under Marketing › STM SEO › AI Search. Changes by import or mass action are not reported.

Setting Default Values Description
Report Changes
stm_seo/indexnow/enabled
Store view
No Yes · No
Key
stm_seo/indexnow/key
Website
empty Text Left empty, a key is made up when saving. The shop delivers it under the base URL as a text file named after the key, where search engines check it.
Only shown when “Report Changes” = Yes
Send To
stm_seo/indexnow/endpoint
Website
api.indexnow.org (shared) api.indexnow.org (shared) · Bing · Yandex · Seznam · Naver Each of them shares the addresses with all others.
Only shown when “Report Changes” = Yes

13. Group “Check From Outside (STM SEO Audit Tool)”

Stores › Configuration › STM Extensions › SEO · stm_seo/outside

The free STM SEO Audit Tool of Storetown Media looks at the shop from outside: as a visitor and with the identifiers of the crawlers of search engines and AI services. It shows what the shop itself cannot see, for example a firewall or CDN that turns crawlers away.

Setting Default Values Description
Check From Outside
stm_seo/outside/enabled
Store view
No Yes · No When you check, the public addresses of the home page, of two categories and of two products go to storetown-media.de, which fetches the pages and answers with their values; nothing about customers or orders is sent. The results are kept in the shop under Marketing › STM SEO › Overview and AI Search.
Check Once a Week
stm_seo/outside/weekly
Store view
No Yes · No Only shown when “Check From Outside” = Yes
Links to the Free Audit Tool
stm_seo/outside/links
Store view
No Yes · No „Check from outside“ in the check bar, the audit and AI Search opens the page in the free STM SEO Audit Tool. Nothing is sent before you click.

14. Group “Category Pagination and Filters”

Stores › Configuration › STM Extensions › SEO · stm_seo/listing

For category and search result pages. With STM Layered Navigation these settings are made there; this group then has no effect, so nothing is written twice.

Setting Default Values Description
Page Number in the Meta Title
stm_seo/listing/page_in_title
Store view
No Yes · No „Bags – Page 2“, from page 2 on. Keeps the titles of the pages of one category apart.
Page Number in the Meta Description
stm_seo/listing/page_in_description
Store view
No Yes · No
Page Number in the Page Heading
stm_seo/listing/page_in_heading
Store view
No Yes · No
Filter Values in the Meta Title
stm_seo/listing/filters_in_title
Store view
No Yes · No „Bags – Black, Leather“.
Filter Values in the Meta Description
stm_seo/listing/filters_in_description
Store view
No Yes · No
Filter Values in the Page Heading
stm_seo/listing/filters_in_heading
Store view
No Yes · No
Link rel=“prev“ and rel=“next“
stm_seo/listing/prev_next
Store view
No Yes · No Links to the neighbouring pages in the head of the page. Google no longer reads these links; other search engines and browsers may.
Category Description on the First Page Only
stm_seo/listing/description_first_page
Store view
No Yes · No Yes = from page 2 on the description and the CMS block of the category are left out, so the same text is not repeated on every page. No = they are shown on all pages, as Magento does.

15. Group “Redirects and Pages Not Found”

Stores › Configuration › STM Extensions › SEO · stm_seo/redirect

The automatic redirects below are permanent (301), keep the parameters of the address and never apply to form submissions or background requests. They and the redirects of Marketing › STM SEO › Redirects are looked up only when Magento would answer „not found“, so they cost nothing on every other page.

Setting Default Values Description
Redirect to the Canonical URL
stm_seo/redirect/canonical
Store view
No Yes · No Product and category pages opened by their internal address (catalog/product/view/id/…), products opened under a category path while category paths in product URLs are off, and the home page opened by its URL key go to their one address.
Redirect to the URL Without a Trailing Slash
stm_seo/redirect/no_slash
Store view
No Yes · No For CMS pages and other pages with an address of their own (about-us/ goes to about-us). Magento’s own routes such as checkout/cart/ keep their slash, because Magento links them that way.
Remove index.php from URLs
stm_seo/redirect/index_php
Store view
No Yes · No index.php/about-us goes to about-us. Only where Web › Search Engine Optimization › Use Web Server Rewrites is on.
Redirect From Disabled Products
stm_seo/redirect/disabled_product
Store view
No Yes · No To the deepest active category of the product, else to a category above it, else to the home page.
Redirect From Disabled Categories
stm_seo/redirect/disabled_category
Store view
No Yes · No To the nearest active category above, else to the home page.
Redirect From Deleted Products
stm_seo/redirect/deleted_product
Store view
No Yes · No The addresses of a product are remembered when it is deleted, from the moment this is switched on.
Redirect From Deleted Categories
stm_seo/redirect/deleted_category
Store view
No Yes · No A deleted category and the categories below it go to the category that was above.
Redirect From Deleted CMS Pages
stm_seo/redirect/deleted_cms
Store view
No Yes · No To the home page.
Redirect Products That Are Not Visible Individually to Their Parent Product
stm_seo/redirect/not_visible_product
Store view
No Yes · No The variant of a configurable product, opened by its own address, goes to the configurable product.
Status Code of Pages Not Found
stm_seo/redirect/not_found_status
Store view
404 Not Found 404 Not Found · 410 Gone 404 = not found, search engines come back and try again. 410 = gone for good, the address leaves the index sooner. 410 applies to addresses no module knows; a page that a module itself sends to „not found“ (a planned blog post, a switched-off product) stays 404, because it may come back. Magento’s page cache keeps 404 pages but not 410 pages.
Always 404 Below These Paths
stm_seo/redirect/keep_404_paths
Store view
empty Multi-line text One path per line, * stands for anything, for example news/* for a blog whose planned posts are not live yet. The blogs of STM Blog are kept at 404 without an entry.
Only shown when “Status Code of Pages Not Found” = 410 Gone
Log Pages Not Found
stm_seo/redirect/log_not_found
Store view
No Yes · No Each address that answers „not found“ is listed under Marketing › STM SEO › Not Found, with the number of requests and the page that linked to it, and can be redirected from there with one click. Requests the built-in page cache answers are counted; behind Varnish only the first request after the cache was cleaned reaches Magento.
Keep Entries For (Days)
stm_seo/redirect/log_days
Global
90 Text Entries not requested for longer are removed every night. At most 20,000 entries are kept per store view.
Only shown when “Log Pages Not Found” = Yes

16. Group “Keywords and Breadcrumbs”

Stores › Configuration › STM Extensions › SEO · stm_seo/content

Setting Default Values Description
Leave the Meta Keywords Tag Out of the Head
stm_seo/content/keywords_remove
Store view
No Yes · No Search engines do not use the tag; it mainly tells competitors which words a page aims at.
Show the Keywords Below the Content
stm_seo/content/keywords_block
Store view
No Yes · No One line of text with the meta keywords of the product, category or CMS page. Pages without keywords show nothing.
Text in Front of the Keywords
stm_seo/content/keywords_title
Store view
People also searched for Text Only shown when “Show the Keywords Below the Content” = Yes
Product Breadcrumbs as Part of the Page
stm_seo/content/product_breadcrumbs
Store view
No Yes · No Luma builds the breadcrumbs of a product page in the browser, so they are missing from the delivered page and search engines do not see them. Yes = they are written into the page, with the category path. Themes that render their own product breadcrumbs, such as Hyvä, are left as they are.
Category Path in the Product Breadcrumbs
stm_seo/content/product_breadcrumbs_category
Store view
Yes Yes · No The category of the address the product was opened under, else its deepest active category. No = Home › Product.
Only shown when “Product Breadcrumbs as Part of the Page” = Yes

17. Group “Search Result Preview in the Admin”

Stores › Configuration › STM Extensions › SEO · stm_seo/preview

Shown in the section Search Engine Optimization of products, categories and CMS pages. It follows what is typed and counts the characters.

Setting Default Values Description
Show the Preview
stm_seo/preview/enabled
Global
Yes Yes · No
Recommended Length of the Meta Title
stm_seo/preview/title_length
Global
60 Text In characters. Longer titles are usually cut off in the search results.
Only shown when “Show the Preview” = Yes
Recommended Length of the Meta Description
stm_seo/preview/description_length
Global
155 Text In characters.
Only shown when “Show the Preview” = Yes

18. Group “URLs of Products and Categories”

Stores › Configuration › STM Extensions › SEO · stm_seo/urls

Setting Default Values Description
Create Missing URLs Every Night
stm_seo/urls/generate_missing
Global
No Yes · No After an import or a migration products and categories can be left without an address of their own. Yes = a nightly job creates the missing ones; addresses that exist are never changed. At any time from the command line: bin/magento stm:seo:urls:generate (add –dry-run to see what is missing).
Category URLs Without the Categories Above
stm_seo/urls/category_without_parents
Store view
No Yes · No Yes = bags.html instead of gear/bags.html. Applies to categories that are saved from now on. Existing categories are changed by bin/magento stm:seo:urls:generate –rebuild-categories, which leaves a permanent redirect from every old address; run it with –dry-run first, it lists the addresses and the URL keys that would collide.

19. Group “llms.txt”

Stores › Configuration › STM Extensions › SEO · stm_seo/llms

A text file at /llms.txt that describes the shop to AI tools. No search engine is known to use it for its results, and Google states that it neither helps nor harms there. It is offered for tools and agents that look for it.

Setting Default Values Description
Offer /llms.txt
stm_seo/llms/enabled
Store view
No Yes · No
Content
stm_seo/llms/source
Store view
Built automatically from the shop Built automatically from the shop · Entered by hand Built automatically: the name of the shop, the summary below and links to the categories of the first two levels and to the CMS pages. Refreshed every hour.
Only shown when “Offer /llms.txt” = Yes
Summary of the Shop
stm_seo/llms/summary
Store view
empty Multi-line text One or two sentences: what the shop sells and for whom. Empty = the default meta description of the store view.
Only shown when “Offer /llms.txt” = Yes and “Content” = Built automatically from the shop
Text of the File
stm_seo/llms/content
Store view
empty Multi-line text Markdown, delivered as it is.
Only shown when “Offer /llms.txt” = Yes and “Content” = Entered by hand

20. Group “Structured Data”

Stores › Configuration › STM Extensions › SEO · stm_seo/schema

Written as one JSON-LD element in the head of the page, in which product, offer, breadcrumbs and shop refer to each other. Name, phone, address and VAT number of the shop are taken from General › Store Information.

Setting Default Values Description
Product and Offer on Product Pages
stm_seo/schema/product
Store view
No Yes · No Name, images, description, SKU, brand, price, currency, availability and condition. Luma and Hyvä already mark up products themselves: switch on „Remove the Theme’s Structured Data“ below together with this, or the page describes the product twice.
Description Taken From
stm_seo/schema/product_description
Store view
short_description Product attributes of the shop, plus “Not written” Only shown when “Product and Offer on Product Pages” = Yes
Brand Taken From
stm_seo/schema/product_brand
Store view
manufacturer Product attributes of the shop, plus “Not written” Only shown when “Product and Offer on Product Pages” = Yes
GTIN (EAN) Taken From
stm_seo/schema/product_gtin
Store view
empty Product attributes of the shop, plus “Not written” Only values with 8, 12, 13 or 14 digits are written.
Only shown when “Product and Offer on Product Pages” = Yes
Article Number (SKU) Taken From
stm_seo/schema/product_sku
Store view
empty Product attributes of the shop, plus “Not written” Empty = the SKU of the product. Choose another attribute when the article number customers know is kept there.
Only shown when “Product and Offer on Product Pages” = Yes
Manufacturer Part Number (MPN) Taken From
stm_seo/schema/product_mpn
Store view
empty Product attributes of the shop, plus “Not written” Only shown when “Product and Offer on Product Pages” = Yes
Category of the Product
stm_seo/schema/product_category
Store view
No Yes · No The category path as text, for example „Gear > Bags“, the same path as the breadcrumbs.
Only shown when “Product and Offer on Product Pages” = Yes
Further Properties
stm_seo/schema/product_properties
Store view
empty Product attributes of the shop, plus “Not written” Attributes written as name and value (additionalProperty), for example material, size or weight. Only values the product has.
Only shown when “Product and Offer on Product Pages” = Yes
Condition of the Products
stm_seo/schema/product_condition
Store view
New New · Used · Refurbished Only shown when “Product and Offer on Product Pages” = Yes
Variants of Configurable Products
stm_seo/schema/product_variants
Store view
No Yes · No Yes = a configurable product is described as a product group, and each variant as a product with its own SKU, price, availability and an address that opens the page with this variant chosen (up to 100 variants). No = one product with the lowest price.
Only shown when “Product and Offer on Product Pages” = Yes
Rating and Reviews
stm_seo/schema/product_rating
Store view
No Yes · No The average rating and the number of approved reviews, as the product page shows them. Products without a rated review get none.
Only shown when “Product and Offer on Product Pages” = Yes
Number of Reviews Written Out
stm_seo/schema/product_reviews
Store view
5 Text The latest approved reviews with author, date, text and rating. 0 = only the average.
Only shown when “Product and Offer on Product Pages” = Yes and “Rating and Reviews” = Yes
Videos of the Gallery
stm_seo/schema/product_videos
Store view
Yes Yes · No Videos in the images and videos of a product (YouTube, Vimeo or another address) as video data, with the preview image of the gallery. Magento keeps no date for a video, so the date the product was created is given as the date it was published.
Only shown when “Product and Offer on Product Pages” = Yes
EU Energy Label: EPREL Registration Number Taken From
stm_seo/schema/product_energy_code
Store view
empty Product attributes of the shop, plus “Not written” The number of the product in the European product database (EPREL), or the address of its entry there. Google reads the energy class from this number.
Only shown when “Product and Offer on Product Pages” = Yes
EU Energy Label: Class Taken From
stm_seo/schema/product_energy_class
Store view
empty Product attributes of the shop, plus “Not written” Used only for products without a registration number. The attribute must hold the class alone, for example „B“.
Only shown when “Product and Offer on Product Pages” = Yes
EU Energy Label: Scale of the Classes
stm_seo/schema/product_energy_scale
Store view
A to G (labels since 2021) A to G (labels since 2021) · A+++ to D (former labels) Only shown when “Product and Offer on Product Pages” = Yes
Unit Price: Contents Taken From
stm_seo/schema/product_unit_amount
Store view
empty Product attributes of the shop, plus “Not written” The amount the product holds, for example 750. Together with the unit it tells search engines the unit price, which shops in the EU state for goods sold by weight, volume, length or area. Without contents or with a unit Google does not know, no unit price is written.
Only shown when “Product and Offer on Product Pages” = Yes
Unit Price: Unit of the Contents Taken From
stm_seo/schema/product_unit
Store view
empty Product attributes of the shop, plus “Not written” For example ml, l, g, kg, cm, m, sqm.
Only shown when “Product and Offer on Product Pages” = Yes
Unit Price: Reference Amount Taken From
stm_seo/schema/product_unit_base_amount
Store view
empty Product attributes of the shop, plus “Not written” The amount the unit price refers to, for example 100 for „per 100 ml“. Not assigned or empty = 1.
Only shown when “Product and Offer on Product Pages” = Yes
Unit Price: Reference Unit Taken From
stm_seo/schema/product_unit_base
Store view
empty Product attributes of the shop, plus “Not written” For example l for „per 1 l“. Not assigned or empty = the unit of the contents.
Only shown when “Product and Offer on Product Pages” = Yes
Breadcrumbs
stm_seo/schema/breadcrumbs
Store view
No Yes · No On product, category and CMS pages: home, the category path, the page.
Product List on Category Pages
stm_seo/schema/category
Store view
No Yes · No The products a category page lists, as a list of their addresses in the order of the page. It tells search engines what the page lists; it is no search result feature of its own. The products themselves are described on their own pages.
The Shop as Organization
stm_seo/schema/organization
Store view
No Yes · No In full on the home page; every other page names the shop briefly, so that an offer can refer to its seller.
Described As
stm_seo/schema/organization_type
Store view
Online shop (OnlineStore) Online shop (OnlineStore) · Company or organization (Organization) · Shop with premises (Store) · Local business (LocalBusiness) Only shown when “The Shop as Organization” = Yes
Legal Name
stm_seo/schema/organization_legal_name
Store view
empty Text The registered name of the company, where it differs from the name of the shop.
Only shown when “The Shop as Organization” = Yes
Commercial Register
stm_seo/schema/organization_register
Store view
empty Text For example HRB 12345, Amtsgericht Pinneberg. Shown on the home page with the VAT ID.
Only shown when “The Shop as Organization” = Yes
Description of the Shop
stm_seo/schema/organization_description
Store view
empty Multi-line text Only shown when “The Shop as Organization” = Yes
Contact Email
stm_seo/schema/organization_email
Store view
empty Text Only shown when “The Shop as Organization” = Yes
Fax
stm_seo/schema/organization_fax
Store view
empty Text Only shown when “The Shop as Organization” = Yes
Price Range
stm_seo/schema/organization_price_range
Store view
empty Text For example „€€“ or „10–200 €“. Written only when the shop is described as a local business or store.
Only shown when “The Shop as Organization” = Yes
Address of the Logo
stm_seo/schema/organization_logo
Store view
empty Text A full URL. Empty = the logo of the theme’s header.
Only shown when “The Shop as Organization” = Yes
Profiles of the Shop Elsewhere
stm_seo/schema/organization_same_as
Store view
empty Multi-line text One full URL per line: social media profiles, the entry in a business directory.
Only shown when “The Shop as Organization” = Yes
Return Policy of the Shop
stm_seo/schema/return_policy
Store view
No Yes · No Applies to every product. Enter what your terms say; search engines may show it next to your products.
Only shown when “The Shop as Organization” = Yes
Returns: Countries the Policy Applies To
stm_seo/schema/return_countries
Store view
empty Countries The countries you sell to under this policy, at most 50. None chosen = the country of the shop.
Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes
Returns: Accepted
stm_seo/schema/return_category
Store view
Within a number of days Within a number of days · Without a time limit · No returns Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes
Returns: Days After Delivery
stm_seo/schema/return_days
Store view
14 Text Without a number of days the policy is not written.
Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes and “Returns: Accepted” = Within a number of days
Returns: Cost of Sending Back
stm_seo/schema/return_fees
Store view
empty Not written · Free for the customer · The customer arranges and pays the return · A fixed amount Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes
Returns: Amount the Customer Pays
stm_seo/schema/return_shipping_fee
Store view
empty Text In the base currency of the shop.
Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes and “Returns: Cost of Sending Back” = A fixed amount
Returns: How Products Come Back
stm_seo/schema/return_method
Store view
empty By mail · In a store · At a drop-off point Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes
Returns: What the Customer Gets
stm_seo/schema/return_refund
Store view
empty Not written · Money back · Exchange · Store credit Only shown when “The Shop as Organization” = Yes and “Return Policy of the Shop” = Yes
Standard Shipping of the Shop
stm_seo/schema/shipping_policy
Store view
No Yes · No One shipping rate for the countries you name, optionally free from an order value. Shops with rates by weight, zone or carrier leave this off: a single rate would say something wrong.
Only shown when “The Shop as Organization” = Yes
Shipping: Name of the Service
stm_seo/schema/shipping_name
Store view
empty Text Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Countries Delivered To at This Rate
stm_seo/schema/shipping_countries
Store view
empty Countries None chosen = the country of the shop.
Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Rate
stm_seo/schema/shipping_rate
Store view
empty Text In the base currency of the shop. 0 = shipping is free. Without a rate nothing is written.
Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Free From an Order Value Of
stm_seo/schema/shipping_free_from
Store view
empty Text Empty = the rate applies to every order.
Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Days Until Dispatch, at Least
stm_seo/schema/shipping_handling_min
Store view
empty Text 0 = on the day of the order.
Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Days Until Dispatch, at Most
stm_seo/schema/shipping_handling_max
Store view
empty Text Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Days in Transit, at Least
stm_seo/schema/shipping_transit_min
Store view
empty Text Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Shipping: Days in Transit, at Most
stm_seo/schema/shipping_transit_max
Store view
empty Text Only shown when “The Shop as Organization” = Yes and “Standard Shipping of the Shop” = Yes
Page That Carries Return Policy and Shipping
stm_seo/schema/policy_page
Store view
empty Home page or one of your CMS pages Google recommends naming both on one page, not on every page: the page that describes them. Without a choice they are written on the home page.
Only shown when “The Shop as Organization” = Yes
Places Customers Can Visit
stm_seo/schema/locations
Store view
empty Table: name, street, postal code, city, country, phone, opening hours, page Stores, showrooms, pick-up points. Opening hours as „Mo-Fr 09:00-18:00; Sa 10:00-14:00“. „Written on Page“ is the path of the page about this place, for example „store-hamburg“; empty = the home page. A place needs a name and an address.
Name of the Website
stm_seo/schema/website
Store view
No Yes · No On the home page: the name search engines should show for the site. Google ended the sitelinks search box in November 2024, so no search action is written.
Website Name
stm_seo/schema/website_name
Store view
empty Text Empty = the store name from General › Store Information.
Only shown when “Name of the Website” = Yes
Alternative Website Name
stm_seo/schema/website_alternate_name
Store view
empty Text Only shown when “Name of the Website” = Yes

21. Group “Structured Data of the Theme”

Stores › Configuration › STM Extensions › SEO · stm_seo/markup

Setting Default Values Description
Remove the Theme’s Structured Data
stm_seo/markup/strip_microdata
Store view
No Yes · No Luma and Hyvä mark up product, price and rating with itemprop attributes, and Hyvä writes its own breadcrumb data. Yes = on product pages the itemprop attributes are removed from the delivered page, and where this module writes breadcrumbs the theme’s breadcrumb data is removed, so that search engines do not read two descriptions of the same thing. Switch this on together with the structured data above, and check the product page afterwards if your theme or an extension selects elements by itemprop.

22. Group “Internal Links”

Stores › Configuration › STM Extensions › SEO · stm_seo/links

Keywords become links to the pages you name under Marketing › STM SEO › Internal Links. The links are placed when a page is rendered; nothing is written into the texts.

Setting Default Values Description
Place Internal Links
stm_seo/links/enabled
Store view
No Yes · No
In
stm_seo/links/places
Store view
Descriptions of products, Descriptions of categories, Content of CMS pages Descriptions of products · Descriptions of categories · Content of CMS pages · CMS blocks CMS blocks also stand in the header and footer of every page; choose them only when your blocks hold running text.
Only shown when “Place Internal Links” = Yes
Links per Page at Most
stm_seo/links/max_per_page
Store view
5 Text All internal links of this module on one page together. A text full of links is read by nobody.
Only shown when “Place Internal Links” = Yes

23. Group “Social Media (Open Graph)”

Stores › Configuration › STM Extensions › SEO · stm_seo/opengraph

What Facebook, LinkedIn, WhatsApp, X and messengers show when a page is shared: title, text, image and address. Title and text come from a rule, else from the fields of the page under Search Engine Optimization, else from the meta title and meta description. On products the image is the role „Social Media Image“ of the gallery, else the base image.

Setting Default Values Description
Write Open Graph Tags
stm_seo/opengraph/enabled
Store view
No Yes · No On product, category, CMS and home pages. Luma and Hyvä write a few of these tags on product pages themselves; they are replaced, so that each tag is there once.
Default Image
stm_seo/opengraph/image
Store view
empty Text For pages without an image of their own: a full URL or a path below pub/media. Best 1200 × 630 pixels.
Only shown when “Write Open Graph Tags” = Yes
Default Text
stm_seo/opengraph/description
Store view
empty Multi-line text Only shown when “Write Open Graph Tags” = Yes
Facebook App ID
stm_seo/opengraph/facebook_app_id
Store view
empty Text Only needed for the statistics of Facebook. Empty = not written.
Only shown when “Write Open Graph Tags” = Yes
X (Twitter) Card
stm_seo/opengraph/twitter_card
Store view
Large image above the title Large image above the title · Small image beside the title · No Twitter tags Only shown when “Write Open Graph Tags” = Yes
X (Twitter) Account of the Shop
stm_seo/opengraph/twitter_site
Store view
empty Text For example @storetownmedia. Empty = not written.
Only shown when “Write Open Graph Tags” = Yes

24. Group “Language Versions (hreflang)”

Stores › Configuration › STM Extensions › SEO · stm_seo/hreflang

Tells search engines which page is the same page in another language or for another country, so that each visitor finds the version for them. Products and categories are matched by their ID, CMS pages by their URL key, the home page always. Only store views with an address of their own are named; store views under one address are one page. Pages that are not indexed are left out.

Setting Default Values Description
Write hreflang
stm_seo/hreflang/enabled
Store view
No Yes · No Switch it off for a store view that is no language version of the others, for example a B2B store.
Language Codes of This Store View
stm_seo/hreflang/codes
store view only
empty Text Empty = from the locale of the store view. Several for one store view that serves several countries: de-DE, de-AT, de-CH. Great Britain is GB, not UK.
Only shown when “Write hreflang” = Yes
Codes From the Locale With the Country
stm_seo/hreflang/region
Store view
Yes Yes · No Yes = de-DE, en-GB. No = de, en: for shops with one store view per language and none per country.
Only shown when “Write hreflang” = Yes
Language Versions Are
stm_seo/hreflang/scope
Global
The store views of the same website The store views of the same website · All store views of every website
Store View for Everybody Else (x-default)
stm_seo/hreflang/x_default
Global
empty None or one of your store views The version for visitors whose language none of the store views has, often the international or English one.
Written
stm_seo/hreflang/output
Store view
In the head of the page In the head of the page · In the XML sitemap only · In both Google reads both alike. With many languages the sitemap keeps the pages lighter; it needs the XML sitemap of this module.
Also on Pages Not Indexed
stm_seo/hreflang/noindex
Store view
No Yes · No Normally no: language versions only count between pages that are indexed. Yes is for test systems that are noindex as a whole.

25. Group “XML Sitemap”

Stores › Configuration › STM Extensions › SEO · stm_seo/sitemap

One index file and, per type of page, as many files as needed, written straight to disk so that catalogs of any size fit. Pages a rule sets to noindex, pages whose canonical URL points elsewhere and redirects are never listed. Write it now with: bin/magento stm:seo:sitemap:generate –check=50

Setting Default Values Description
Write Every Night
stm_seo/sitemap/enabled
Store view
No Yes · No At 2:47. Needs Magento’s cron. If you use Magento’s own sitemap (Marketing › Site Map) under the same file name, this module leaves that file alone and reports it instead.
Folder Below pub/
stm_seo/sitemap/folder
Store view
empty Text Empty = pub/ itself, which makes the address https://your-shop/sitemap.xml. On hosts where only pub/media can be written: media/sitemap.
File Name
stm_seo/sitemap/name
Store view
empty Text Empty = sitemap.xml. Store views that share an address get a name of their own automatically: sitemap-{code}.xml.
CMS Pages
stm_seo/sitemap/cms
Store view
Yes Yes · No
CMS Pages Left Out
stm_seo/sitemap/exclude_cms
Store view
empty Multi-line text One URL key per line. The pages for „not found“ and „enable cookies“ are always left out.
Only shown when “CMS Pages” = Yes
Categories
stm_seo/sitemap/categories
Store view
Yes Yes · No A single category is left out with the switch „Leave Out of the XML Sitemap“ in its Search Engine Optimization section.
Products
stm_seo/sitemap/products
Store view
Yes Yes · No Enabled products that are visible in the catalog. A single product is left out with the switch „Leave Out of the XML Sitemap“ in its Search Engine Optimization section.
Product Images
stm_seo/sitemap/product_images
Store view
The main image The main image · Every image of the gallery · No images Only shown when “Products” = Yes
Leave Out Products That Are Out of Stock
stm_seo/sitemap/exclude_out_of_stock
Store view
No Yes · No Only shown when “Products” = Yes
Further Addresses
stm_seo/sitemap/custom_links
Store view
empty Multi-line text One per line, as a path (brands/nike) or as a full URL of this shop: pages of other extensions, landing pages.
Pages of Other Modules
stm_seo/sitemap/modules
Store view
Yes Yes · No Pages that other modules announce to Magento’s own sitemap, for example the posts and categories of STM Blog or the brand pages of another extension, in a file of their own. The audit checks them as well.
Addresses Never Listed
stm_seo/sitemap/exclude_paths
Store view
empty Multi-line text One path per line, * stands for anything: sale/*, *-sample.html. Applies to every type of page.
Name the Sitemap in robots.txt
stm_seo/sitemap/robots
Store view
No Yes · No Adds the line „Sitemap: …“ to the robots.txt Magento serves. A robots.txt that lies in pub/ as a file is not changed; add the line there by hand.
E-mail When the Sitemap Is Not Written
stm_seo/sitemap/error_email
Store view
empty Text One or more addresses, separated by commas. Empty = no mail; the problem is still written to the log.
Only shown when “Write Every Night” = Yes
Sender of That E-mail
stm_seo/sitemap/error_identity
Store view
empty Only shown when “Write Every Night” = Yes
Write Change Frequency and Priority
stm_seo/sitemap/frequency_priority
Store view
No Yes · No Google ignores both values; the date of the last change is what it reads. Switch on only if another search engine or a tool you use asks for them.
CMS Pages: Change Frequency
stm_seo/sitemap/pages_frequency
Store view
weekly always · hourly · daily · weekly · monthly · yearly · never Only shown when “Write Change Frequency and Priority” = Yes
CMS Pages: Priority (0.0 to 1.0)
stm_seo/sitemap/pages_priority
Store view
0.3 Text Only shown when “Write Change Frequency and Priority” = Yes
Categories: Change Frequency
stm_seo/sitemap/categories_frequency
Store view
daily always · hourly · daily · weekly · monthly · yearly · never Only shown when “Write Change Frequency and Priority” = Yes
Categories: Priority (0.0 to 1.0)
stm_seo/sitemap/categories_priority
Store view
0.6 Text Only shown when “Write Change Frequency and Priority” = Yes
Products: Change Frequency
stm_seo/sitemap/products_frequency
Store view
daily always · hourly · daily · weekly · monthly · yearly · never Only shown when “Write Change Frequency and Priority” = Yes
Products: Priority (0.0 to 1.0)
stm_seo/sitemap/products_priority
Store view
0.8 Text Only shown when “Write Change Frequency and Priority” = Yes
Further Addresses: Change Frequency
stm_seo/sitemap/links_frequency
Store view
weekly always · hourly · daily · weekly · monthly · yearly · never Only shown when “Write Change Frequency and Priority” = Yes
Further Addresses: Priority (0.0 to 1.0)
stm_seo/sitemap/links_priority
Store view
0.5 Text Only shown when “Write Change Frequency and Priority” = Yes

26. Group “Sitemap Page for Visitors”

Stores › Configuration › STM Extensions › SEO · stm_seo/html_sitemap

A page that lists the categories, pages and products of the shop as links, for visitors who look for an overview and as one more way for search engines to reach every page.

Setting Default Values Description
Sitemap Page
stm_seo/html_sitemap/enabled
Store view
No Yes · No
Address of the Page
stm_seo/html_sitemap/path
Store view
sitemap Text The path after the address of the shop, for example „sitemap“ for https://your-shop/sitemap. Letters, digits and hyphens.
Only shown when “Sitemap Page” = Yes
Heading and Meta Title
stm_seo/html_sitemap/title
Store view
Sitemap Text Only shown when “Sitemap Page” = Yes
Meta Description
stm_seo/html_sitemap/meta_description
Store view
empty Multi-line text Only shown when “Sitemap Page” = Yes
Categories
stm_seo/html_sitemap/categories
Store view
Yes Yes · No As a tree, in the order of the menu.
Only shown when “Sitemap Page” = Yes
CMS Pages
stm_seo/html_sitemap/cms
Store view
Yes Yes · No Only shown when “Sitemap Page” = Yes
Products
stm_seo/html_sitemap/products
Store view
Yes Yes · No Only shown when “Sitemap Page” = Yes
Products Shown on the Page
stm_seo/html_sitemap/product_limit
Store view
100 Text By name. When the shop has more, a link below the list leads to all of them, 500 per page.
Only shown when “Sitemap Page” = Yes and “Products” = Yes
Further Links
stm_seo/html_sitemap/custom_links
Store view
empty Multi-line text One per line as „Text | address“, the address as a path or a full URL: Our brands | brands
Only shown when “Sitemap Page” = Yes
Order and Headings of the Blocks
stm_seo/html_sitemap/order
Store view
empty Multi-line text One block per line, top to bottom: categories, cms, links, products; a heading of your own after a |, for example „products | Our products“. Blocks not named follow in this order. Empty = categories, CMS pages, further links, products with the standard headings.
Only shown when “Sitemap Page” = Yes
Addresses Not Shown
stm_seo/html_sitemap/exclude_paths
Store view
empty Multi-line text One path per line, * stands for anything. What is left out of the XML sitemap by its own switches is left out here as well.
Only shown when “Sitemap Page” = Yes
Open Links in a New Tab
stm_seo/html_sitemap/new_window
Store view
No Yes · No Only shown when “Sitemap Page” = Yes
Link in the Top Links
stm_seo/html_sitemap/header_link
Store view
No Yes · No In Luma and themes that use Magento’s top links (next to „Sign In“). Hyvä builds its header from a template of its own: add the link there.
Only shown when “Sitemap Page” = Yes
Link in the Footer
stm_seo/html_sitemap/footer_link
Store view
No Yes · No In Luma and themes that use Magento’s footer links. Hyvä builds its footer from a template of its own: add the link there.
Only shown when “Sitemap Page” = Yes

27. Admin pages, menu and permissions

All pages are under Marketing › STM SEO. Above every page a bar lists the same pages; it shows only what the role of the user is allowed to open.

Page in the bar Admin route Permission
Overview
Page title: SEO Center
stm_seo/center/index STM_Seo::center
SEO Center
Optimization Plan stm_seo/plan/index STM_Seo::plan
Optimization Plan
Setup stm_seo/setup/index STM_Seo::setup
Setup
Audit stm_seo/audit/index STM_Seo::audit
Audit
SEO Grid stm_seo/grid/index STM_Seo::grid
SEO Grid
AI Assistant stm_seo/assistant/index STM_Seo::assistant
AI Assistant
Rules
Page title: SEO Rules
stm_seo/rule/index STM_Seo::rules
Rules
Redirects stm_seo/redirect/index STM_Seo::redirects
Redirects and Pages Not Found
Not Found
Page title: Pages Not Found
stm_seo/notfound/index STM_Seo::redirects
Redirects and Pages Not Found
Internal Links stm_seo/link/index STM_Seo::links
Internal Links
robots.txt stm_seo/robots/index STM_Seo::robots
robots.txt
AI Search stm_seo/ai/index STM_Seo::ai
AI Search
Google stm_seo/google/index STM_Seo::google
Google
Settings adminhtml/system_config/edit/section/stm_seo STM_Seo::config
Settings

In the menu Marketing › STM SEO the page “Overview” is called “SEO Center”. Under System › Permissions › User Roles you grant the permissions individually; “Redirects” and “Not Found” share the permission “Redirects and Pages Not Found”.

The REST interfaces check the same permissions as the admin pages (chapter “REST and GraphQL”).

28. Console commands

Command Effect
bin/magento stm:seo:audit Checks the pages of the XML sitemap and keeps the findings (like the page “Audit”). --store code of the store view, --max at most this many pages.
bin/magento stm:seo:google Tests the connection to Google; --import-days=90 imports the days 3 to 90 before today from Search Console. --store.
bin/magento stm:seo:meta:export Writes meta titles and descriptions as CSV to the standard output. --type product, category or cms; --store code of the store view, without it the default values.
bin/magento stm:seo:meta:import Reads meta titles and descriptions from a CSV file. Without --apply only a trial run.
bin/magento stm:seo:schema:check Lists the products whose structured data lacks a required or recommended field. --store, --max (check only this many products), --show (SKUs listed per missing field, default 10).
bin/magento stm:seo:sitemap:generate Writes the XML sitemap of the store views. --store; --force overwrites sitemap files of the same name that this module did not write; --check=50 opens this many addresses of the finished sitemap and reports those that do not belong in it.
bin/magento stm:seo:status Shows per store view who writes the canonical tag, and the active rules.
bin/magento stm:seo:urls:generate Creates missing URLs of products and categories. --dry-run only reports; --rebuild-categories rebuilds the category URLs after the setting “Category URLs Without the Categories Above” changed, old URLs redirect; --category-id, --product-id and --store narrow it down.

29. Cron jobs

Job Schedule Task
stm_seo_generate_missing_urls 17 3 * * * Creates missing URLs, only if “Create Missing URLs Every Night” is switched on.
stm_seo_audit_run */5 * * * * Runs an audit that was requested in the admin.
stm_seo_audit_schedule 23 1 * * * Queues the scheduled audits (every night or Monday night, as set under “Run” in the group “Audit”).
stm_seo_check_link_targets 37 3 * * * Pauses internal links whose target is gone, redirects or is not indexed, and resumes them when the target is fine again.
stm_seo_prune_not_found 7 4 * * * Keeps the log of pages not found within its days and its size.
stm_seo_import_search_console 17 5 * * * Imports the days 3 to 5 before today from Search Console, only where it is connected.
stm_seo_assistant */2 * * * * Writes queued suggestions of the AI assistant, ten pages per run.
stm_seo_send_indexnow */5 * * * * Sends changed addresses to IndexNow, only where switched on.
stm_seo_watch_indexnow */15 * * * *
stm_seo_check_outside 41 * * * *
stm_seo_refresh_bot_lists 53 4 * * * Fetches the address lists of the crawlers anew and removes old counters.
stm_seo_generate_sitemaps 47 2 * * * Writes the XML sitemap of the store views that have “Write Every Night” switched on.

All jobs run in the cron group default and need a running Magento cron (bin/magento cron:run every minute).

30. Database tables and attributes

Table Content
stm_seo_rule Rules for meta data, robots and canonical URL.
stm_seo_redirect Redirects, asked only when a page was not found.
stm_seo_link Keywords that become internal links.
stm_seo_link_usage Pages an internal link was placed on.
stm_seo_audit_run Runs of the audit.
stm_seo_audit_issue Findings of the audit.
stm_seo_bot_daily Requests of crawlers per day.
stm_seo_source_daily Visits, carts and orders from AI assistants per day.
stm_seo_outside STM SEO: checks from outside by the STM SEO Audit Tool
stm_seo_plan STM SEO: optimization plan, one row per finding of the assessment and store view
stm_seo_outside_crawl STM SEO: results of crawls by STM SEO Audit Tool Pro
stm_seo_stock_state STM SEO: stock status of the products at the last IndexNow check
stm_seo_indexnow Addresses reported to IndexNow.
stm_seo_gsc_page Search Console: clicks and impressions per day and page.
stm_seo_gsc_query Search Console: clicks and impressions per day and search term.
stm_seo_suggestion Suggestions of the AI assistant with history.
cms_page Magento table; the module adds three columns: stm_seo_og_title, stm_seo_og_description, stm_seo_og_image.
stm_seo_notfound Addresses that were asked for and not found.

Attributes the module adds during setup:

Attribute On In the form
stm_seo_og_title, stm_seo_og_description Product, category Section “Search Engine Optimization”: “Title for Social Media”, “Text for Social Media”
stm_seo_og_image Product Image role of the gallery “Social Media Image”
stm_seo_og_image Category “Address of the Social Media Image”
stm_seo_sitemap_exclude Product, category “Leave Out of the XML Sitemap”
stm_seo_bottom_description Category Section “Content”: “Description Below the Products”

31. Addresses in the shop

Address Purpose
/sitemap.xml XML sitemap (index), once it is written. Folder and name follow “Folder Below pub/” and “File Name”; store views sharing an address get sitemap-<code>.xml.
/sitemap Sitemap page for visitors, when switched on; the path follows “Address of the Page”.
/llms.txt Description of the shop for AI tools, when “Offer /llms.txt” is switched on.
/<key>.txt IndexNow key file below the base URL, when “Report Changes” is switched on.
/robots.txt Delivered by Magento; the module adds the line “Sitemap: …” if wanted. A file robots.txt on the server is never changed by the module.

All output in the head of the pages (meta data, canonical, robots, hreflang, Open Graph, JSON-LD) is created when the page is built and stored with it in the page cache.

32. REST and GraphQL

REST below /rest/V1/stm-seo/… with an admin token; each route checks the permission of its admin page. POST creates or changes (with an ID); the checks are the same as in the admin.

Route Method Permission
/V1/stm-seo/redirects GET STM_Seo::redirects
/V1/stm-seo/redirects/:id GET STM_Seo::redirects
/V1/stm-seo/redirects POST STM_Seo::redirects
/V1/stm-seo/redirects/:id DELETE STM_Seo::redirects
/V1/stm-seo/links GET STM_Seo::links
/V1/stm-seo/links/:id GET STM_Seo::links
/V1/stm-seo/links POST STM_Seo::links
/V1/stm-seo/links/:id DELETE STM_Seo::links
/V1/stm-seo/rules GET STM_Seo::rules
/V1/stm-seo/rules/:id GET STM_Seo::rules
/V1/stm-seo/rules POST STM_Seo::rules
/V1/stm-seo/rules/:id DELETE STM_Seo::rules

GraphQL: the field stm_seo on ProductInterface, CategoryInterface, CmsPage with meta_title, meta_description, robots, canonical_url (absolute), hreflang, open_graph and json_ld; plus the query stmSeoRedirect(url): redirect or 410 for an address that is not found, null when there is none.

33. Widgets for content

Under Content › Widgets or via “Insert Widget” in the editor of a CMS page or block:

Widget Content
STM SEO: Questions and Answers A list of questions that open on a click, with the structured data for it. Google has stopped showing questions and answers in its results; the data still tells search engines and AI assistants which questions the page answers.
STM SEO: Instructions in Steps A numbered list of steps with the structured data for it. Google ended its how-to results in 2023; the data still describes the steps to search engines and AI assistants.
STM SEO: Event A trade fair, a workshop, an opening: name, date and place, with the structured data Google uses for events. It needs a name, a start and a place or an address on the web.
STM SEO: Video Data Describes a video the page already embeds, with the structured data Google uses for videos. Shows nothing and loads nothing from a video platform. It needs a name, a preview image and the date of publication.
STM SEO: JSON-LD of Your Own For everything the module has no building block for. The text is checked: only valid JSON with a type reaches the page.

34. The checks of the audit

Check Weight Code
Answers with another status than 200 Error status
Listed in the sitemap but redirects Warning redirect
Listed in the sitemap but asks not to be indexed Error noindex
Blocked by robots.txt for Googlebot Error blocked
noindex that Google cannot read: the page is blocked by robots.txt Error blocked_noindex
No canonical URL Notice canonical_missing
Listed in the sitemap but names another canonical URL Warning canonical_elsewhere
The canonical URL does not answer with 200 Error canonical_broken
The canonical URL names yet another one Error canonical_chain
No title Error title_missing
Same title as other pages Warning title_duplicate
Title longer than shown in search results Notice title_long
No meta description Warning description_missing
Same meta description as other pages Warning description_duplicate
Meta description longer than shown in search results Notice description_long
No main heading (H1) Warning h1_missing
More than one main heading (H1) Notice h1_multiple
Little text Notice thin
Images without alt text Notice images_alt
Structured data that is no valid JSON Error jsonld_invalid
Product page without product data (Product with an offer) Warning product_schema
Links to a page that is not found Error link_broken
Links to an address that redirects Notice link_redirect
A language version does not link back Error hreflang_return
No page of the shop links to it Notice orphan
Image for social media narrower than 1200 px Notice og_image_small

The value of a run is the share of pages without an error and without a warning.

35. Languages, updates, uninstall

  • Languages: English, German, Czech, Danish, Spanish, French, Italian, Dutch, Polish, Portuguese, Swedish (i18n/*.csv). A Magento language pack can override single short texts.
  • Update: composer update storetown-media/module-seo, then bin/magento setup:upgrade, in production mode also setup:di:compile and setup:static-content:deploy, then cache:flush.
  • Switching off without uninstalling: set “Enable STM SEO” to “No”, for all or a single store view; the module writes nothing there any more and Magento’s own tags apply again. Rules and settings are kept.
  • Uninstall: bin/magento module:disable STM_Seo, composer remove storetown-media/module-seo, setup:upgrade. The tables stm_seo_*, the attributes and the settings remain in the database; only delete them after a backup. Redirects of this module no longer work after uninstalling.

Questions and support: support@storetown-media.de.

Support

Questions about the extension are answered through the support link on its Marketplace listing. For pre-sales questions and custom requirements, get in touch.