# evoSEO: reference

> evoSEO 1.8.3 reference: the tags it outputs, where each value comes from, SEO data declared by templates, redirect rules, addresses it serves, bots, REST API, MCP tools and events.

## Tags it outputs

evoSEO never outputs an empty tag. If another extension has already set a tag, it does not overwrite it. Internal errors never break the page and go to the Joomla log, in the `evoseo` category.

| Group | Content |
| --- | --- |
| Open Graph | `og:site_name`, `og:type` (`article` or `website`; `product` if a template declares it), `og:title`, `og:description`, `og:url`, `og:locale` (and `og:locale:alternate` with the article's associated translations), `og:image` and `og:image:alt`. On articles, also `article:published_time`, `article:modified_time` and `article:section`. |
| Twitter Cards | `twitter:card` (`summary_large_image` with an image, `summary` without), `twitter:site`, `twitter:title`, `twitter:description`, `twitter:image` and `twitter:image:alt`. |
| schema.org (JSON-LD, a single graph) | Organization or Person, WebSite, WebPage (or AboutPage, ContactPage), Article, BlogPosting or NewsArticle, BreadcrumbList (with two or more crumbs) and FAQPage. |
| Main entity | Product, Event, LocalBusiness or Person, linked from the page with `mainEntity`. Each value is validated: an invalid price, currency, date or address is dropped, and an event without a valid start date is not output. |
| Speakable | CSS selectors (maximum 10, no brackets or braces) for the fragments suitable for reading aloud, on the page node. |
| Canonical | `<link rel="canonical">` with the clean address: no tracking parameters, no fragment, parameter order normalised, optional preferred domain and optional https. `og:url` and the schema.org addresses use the same one. |

evoSEO does not output `hreflang`. Joomla's "System - Language Filter" plugin does (with `x-default`) when there are associations.

Where Joomla's "System - Schema.org" plugin outputs its own JSON-LD, evoSEO removes it and adds its own, unless you turn off "Replace Joomla's schema.org output". Where Joomla outputs none (home page, categories, menus), evoSEO does.

## Where each value comes from

| Article | Value | Other pages |
| --- | --- | --- |
| "Sharing title" field, or the article title | Title | Document title |
| Own field, the meta description, or the cleaned article text (cut at a word; 200 characters by default) | Description | Document meta description |
| Own field, full-text image, intro image or category image | Image | The plugin's default image |
| Own field (that article only) or the public route's address | Canonical address | The request's address, cleaned |
| "Automatic" (Article) or the one chosen | Schema type | WebPage |

If a template or a page declares its own data (see below), that data comes after the article and category fields and before the global settings.

## YOOtheme builder pages

A builder page stores only the layout JSON in the text, with no HTML. evoSEO reads it and converts it into plain HTML (headings, text, lists, images, buttons, panels) in page order. The description (the first opening sentence, not the title) and the Markdown version come from that.

- An accordion whose titles are questions (at least two) serves as `FAQPage`, unless the page defines its own.
- Only what a signed-out visitor sees is included: disabled elements and those with an evoYTAccess condition are omitted, along with everything inside them.
- It does not evaluate dynamic sources or modules.

## SEO data declared by templates and pages

A system-group plugin can tell evoSEO which SEO data a page carries without touching the article's fields. It is the route evoTheme uses to declare the data of its templates and pages. evoSEO does not know how the declaring plugin stores that data: it receives it already resolved, in an element that follows the `evoseo.page/1` contract. With no plugin declaring data, the output is the same as before.

| Event | What it does |
| --- | --- |
| `onEvoseoCollectPageData` | evoSEO fires it once per request, when it decorates an HTML response. The plugin answers with one `evoseo.page/1` element, or none. It receives the page context: kind (article, category, menu, home or other), identifiers, language and address. |
| `onEvoseoGetSchemaCatalog` | evoSEO answers with the `evoseo.schema-catalog/1` catalogue. If nobody answers, evoSEO is not installed or is older than 1.8. |
| `onEvoseoValidatePageData` | evoSEO validates a declaration with the same rules it uses to output, and returns a list of warnings. |

- **What a page can declare:** title, description, image and its alternative text, canonical address, `robots` directives, the `og:type` (`website`, `article` or `product`), the Open Graph locale, Twitter card and creator, the article's dates, section and author, the schema.org page type, FAQ, Speakable and a main entity (Product, Event, LocalBusiness or Person, with its own name and description).
- **Priority:** the article's evoSEO field, its category's field, what is declared, then the global settings. If Joomla already knows the value from the article itself (dates, section), Joomla's wins. A declared author is ignored when "Publish the author" is off. Declared `robots` apply only if the page is not `noindex`: a template can never make indexable what Joomla or a field marked as not indexable. With several providers, each field takes the value from the first one that supplies it.
- **What evoSEO does with what it receives:** it does not trust it. It ignores an element that is malformed, belongs to another contract or weighs more than 64 KB; strips HTML tags; trims strings; drops values outside the catalogue's lists, dates that are not ISO 8601, unknown keys and addresses containing quotes, angle brackets, spaces or backslashes; and runs the entity through the same rules as the article's fields (an invalid price is not output). If the provider throws an exception, the page does not change and a warning goes to the log, `evoseo` category. Declaring `og:type` only changes that tag, not the page type or the schema.org output.
- **Validation warnings:** each warning gives the field, the level and a code (required or recommended value missing, invalid format, value not in the list, too long, unknown, deprecated or reserved key, unknown contract). They are warnings: they do not block saving or change what is output.
- **Catalogue:** a versioned JSON file with the page types, Open Graph types, Twitter cards, robots directives, limits, and the fields of the page and of each entity, with their format, length, whether they are required, recommended or optional, and whether they accept a dynamic source. It is read with the event or with the evoMCP `evoseo_schema_catalog` tool. Some catalogue keys are reserved and not output yet.

## Redirects

Resolution order when a page returns 404:

1. An exact redirect from Joomla's redirect table. It is compared ignoring case and trailing slash, with or without a query string, and the request's query string is kept. If Joomla's "System - Redirect" plugin is enabled, it handles the exact ones.
2. An evoSEO pattern rule, in the order shown: the first one that matches wins. An exact redirect always beats a rule.

### Pattern rules

| Field | Value |
| --- | --- |
| Type | Wildcard (`*` captures and is used as `$1`; for example `/blog/*` to `/news/$1`) or regular expression with groups (`$1`, `$2`…). It is matched against the path without domain or query string. |
| Pattern | Up to 200 characters. |
| Target | A path (`/path`) or an `http(s)://` address. Up to 500 characters. |
| Code | 301, 302, 307 or 308. |
| Order | Integer. |
| Counter | Hits handled by the rule. |
| Comment | Up to 255 characters. |

Each rule is validated when you create or import it: type, length, target, code, that every `$n` exists in the pattern, and no patterns at risk of catastrophic backtracking (such as `(a+)+`). When it is applied, a capture can never turn a relative target into another site (`//example.com`, backslash, line breaks, encoded or not) or redirect an address to itself.

### 404 log

- Stores the path (without query, lower-cased), counts hits and stores the `referer` as domain and path only.
- Capped at 10,000 rows.
- Purged by the daily task, by the panel's "Purge old ones" button or by `evoseo_purge_404`.

### Automatic redirects when an address changes

When you save an article whose address changes, it creates a 301 from the old one, collapses chains (whatever pointed at the old address now points at the new one) and sends to the `com_redirect` trash any redirect that would form a loop. For menu items, renaming one, changing its parent or its language redirects its address and those of the items below it. It does not cover articles that hang from a menu item whose route changes.

### Audit

Checks the published exact redirects and finds four problems: **loop**, **chain**, **redirect to itself** and **duplicate**.

### CSV

Columns `old,new,code,comment`; comma or semicolon; at most 5000 rows. The export neutralises spreadsheet formulas.

## Addresses evoSEO serves

Only when the matching setting is on and no physical file of that name exists in the site root.

| Address | Content |
| --- | --- |
| `/robots.txt` | Base rules as written, one block per bot according to the profile and the exceptions, and the `Sitemap:` line if the sitemap is on. A bot the base rules already name is not duplicated. |
| `/sitemap.xml` | Dynamic sitemap with published articles, categories, menu items, the home page, images (`image:image`) and language alternates (`xhtml:link`). It always excludes `noindex` pages, anything non-public and the excluded paths. With more than 50,000 addresses or 50 MB per file it is split into `sitemap-1.xml`, `sitemap-2.xml`… with an index. Menu items and the home page carry `lastmod` when they point to an article or a category; with no reliable date, none is written. |
| `/llms.txt` | Title, summary, menu pages and the newest articles grouped by category, up to the configured maximum. With several languages published, each language gets its own sections and the maximum applies to each. |
| `<article address>.md` | Markdown version: text only, no scripts, forms, frames or comments. It carries `X-Robots-Tag: noindex` and a canonical pointing to the page. |
| `/<key>.txt` | The IndexNow key, as the protocol requires. |

The sitemap and `llms.txt` are kept in Joomla's cache and discarded when content is saved. The plugin revision is part of that cache key, so after an update nothing generated by the previous version is served.

## robots.txt check

The panel warns about: unknown directive, repeated `User-agent` group, non-absolute `Sitemap` line, `Crawl-delay` (which Google and other search engines ignore), rule outside a group, path that does not start with `/` or `*`, blocking the whole site for all bots, blocking CSS or JavaScript that search engines need, and no `Sitemap` declared.

## AI bot catalogue

Provided by the "System - evoBots" plugin. If it is disabled, evoSEO does not serve `robots.txt`, the bot tools fail with a clear message and the panel warns you; everything else keeps working. Googlebot is not in the catalogue: blocking it takes the site out of Google.

| Purpose | Bot | Honours robots.txt |
| --- | --- | --- |
| Training | `GPTBot` | Yes |
| Assistant search | `OAI-SearchBot` | Yes |
| Person-initiated request | `ChatGPT-User` | May ignore it |
| Training | `ClaudeBot` | Yes |
| Assistant search | `Claude-SearchBot` | Yes |
| Person-initiated request | `Claude-User` | Yes |
| Assistant search | `PerplexityBot` | Yes |
| Person-initiated request | `Perplexity-User` | May ignore it |
| Training | `Google-Extended` | Identifier only, does not crawl |
| Training | `Applebot-Extended` | Identifier only, does not crawl |
| Training | `CCBot` | Yes |
| Training | `meta-externalagent` | Yes |

The profiles: **Allow all**; **Block only those that train models** (blocks the bots whose purpose is "Training"); **Block every AI bot in the catalogue**.

## What AI sees

Requests a page on the site itself (the path is validated and can never point at another host) without JavaScript and with the name of each crawler in the catalogue. It reports:

- title, description, canonical, indexing and schema.org types;
- how much text is really there, with a warning if almost all of it needs JavaScript;
- for each crawler, whether `robots.txt` lets it through and whether the server answers it differently (refusal or challenge, a possible firewall or CDN block).

A firewall that decides by the crawler's IP cannot be detected from here: the bot name is imitated, not its IP.

## "Answer first" review

Seven rules applied to an article, with a score labelled as a heuristic. It does not measure how likely an AI is to cite the article, because no vendor publishes its criteria.

| Rule |
| --- |
| The first paragraph answers in 15 to 80 words |
| Some subheading is phrased as a question |
| There is a list or a table |
| It has at least two frequently asked questions |
| It marks a fragment as Speakable |
| At least 300 words |
| No paragraph exceeds 150 words |

The review also reports the fields missing from the page's main entity (product, event, local business or person) when there is one.

## AI access

Compares the `robots.txt` policy with each crawler's real accesses. The data comes from evoOrigin 1.2 or later; without evoOrigin, or with its crawler log off, the panel says so. It accepts 1 to 365 days.

| Reading | Meaning |
| --- | --- |
| Blocked, but still entering | The policy blocks it and there are accesses. |
| Blocked and not showing up | The policy blocks it and there are no accesses. |
| Allowed, but not showing up | The policy allows it and there are no accesses. |
| Allowed, but the server refuses it | The policy allows it and the server refuses it. |
| OK | No discrepancy. |

"Still entering" does not prove that the bot ignores `robots.txt`: it reads the file after requesting a page, and those acting on a person's request may ignore it. Only requests that reach PHP are seen; a page cache or a CDN hides them.

## Home panel

It is the default view of *Components → evoSEO* since 1.8.2. It summarises the site's SEO status and links to where each thing is fixed. Since 1.8.1 the administration uses the evoUI style, with the Inter and JetBrains Mono fonts hosted on the site itself.

- **Overall status:** "All in order", "No important warnings" or "Something needs attention".
- **Four figures:** unresolved 404s, redirects, pages in the sitemap and blocked AI bots.
- **What needs attention:** warnings, each with a link to where it is fixed. Warnings: the site asks not to be indexed (Joomla global configuration); a physical `robots.txt` or `sitemap.xml` hides the one evoSEO would serve; redirects are off; IndexNow is on without a key; there are unresolved 404s (a warning from 10 addresses) or published articles without a description (a warning from a quarter of the published ones). As information: 404 logging, the sitemap, schema.org or canonicals switched off, and AI access findings.
- **Quick actions:** regenerate the sitemap, review the 404s, audit the redirects, see AI visibility and open the settings.
- **Features:** what is active and where it is changed.
- **Most visited 404s.**

## REST API

Read-only routes. Use the `X-Joomla-Token: <token>` header and the `core.manage` permission on `com_evoseo`. Without that permission the API returns 403; if the system plugin is not enabled, 503.

| Method and route | Returns |
| --- | --- |
| `GET /api/index.php/v1/evoseo/rules` | Pattern rules: `type`, `pattern`, `target`, `code`, `ordering`, `published`, `hits`, `comment`. |
| `GET /api/index.php/v1/evoseo/rules/:id` | One rule by its numeric id. |
| `GET /api/index.php/v1/evoseo/notfound` | Most visited unresolved 404s: `url`, `hits`, `referer`, `last-seen`. |

Paging accepts `page[limit]` (1 to 100, 20 by default) and `page[offset]`. Responses are not cached and never carry an IP, because none is stored.

## MCP tools (evoMCP)

The system plugin announces itself to evoMCP with the `onEvomcpCollect` event; there is no separate `evomcp` plugin. Write tools ask for human approval and accept `dry_run`. `evoseo_set_settings` also has a write guard: it checks that the settings did not change between the request and the approval, verifies what was saved and reverts it if it does not match. An evoMCP approval policy can authorise it for the `sitemap_*`, `robots_base`, `llms_*`, `redirects` and metadata keys, never for the IndexNow key.

| Type | Tool | What it does |
| --- | --- | --- |
| Read | `evoseo_get_settings` | Reads the global settings. |
| Write | `evoseo_set_settings` | Changes global settings. It affects every page on the site. |
| Read | `evoseo_preview` | Tags and JSON-LD that would be output for a published article (`article_id`). |
| Read | `evoseo_status_report` | Version and what is switched on at the site, with no personal data or secrets. |
| Read | `evoseo_export_settings` | Settings and pattern rules as JSON, without the licence or the IndexNow key. |
| Write | `evoseo_import_settings` | Imports that JSON: known settings only, normalised, with each rule validated (`with_rules`). |
| Read | `evoseo_schema_catalog` | Catalogue of types and fields (`evoseo.schema-catalog/1`): page fields and the fields of each schema.org entity, with format, length, whether they are required and whether they accept a dynamic source. It writes nothing. |
| Read | `evoseo_robots_preview` | The `robots.txt` that would be served, the omitted lines, the warnings and whether a physical file exists. |
| Read | `evoseo_list_bots` | Bot catalogue with the effective decision for each one. |
| Read | `evoseo_sitemap_status` | URLs by type, files, generation date and whether a physical `sitemap.xml` exists. |
| Write | `evoseo_sitemap_regenerate` | Discards the stored sitemap so it is rebuilt on the next request. |
| Read | `evoseo_llms_preview` | The `llms.txt` that would be served and, with `article_id`, a Markdown sample. Returns `items_included`, `items_omitted` and `max_items_per_language`. |
| Read | `evoseo_ai_view` | "What AI sees" for a path on the site itself (`path`). It makes about 12 requests. |
| Read | `evoseo_check_content` | "Answer first" review of an article, with the fields missing from its main entity. |
| Read | `evoseo_ai_access` | AI access compared with the policy (`days`, 1 to 365). |
| Read | `evoseo_list_rules` | Pattern rules, in the order they are applied. |
| Write | `evoseo_set_rule` | Creates or changes a rule (`type`, `pattern`, `target`, `code`, `published`, `ordering`, `comment`). |
| Write | `evoseo_delete_rule` | Deletes a rule. |
| Read | `evoseo_audit_redirects` | Loops, chains, redirects to themselves and duplicates. |
| Read | `evoseo_404_report` | Most visited 404s with destinations suggested by similarity to menu pages (`limit`). 404s must be logged. |
| Write | `evoseo_create_redirect` | Creates an exact redirect or resolves a logged 404, without overwriting a published one. |
| Write | `evoseo_import_redirects` | Imports a CSV of redirects. |
| Read | `evoseo_export_redirects` | Exports the published exact redirects as CSV. |
| Write | `evoseo_purge_404` | Deletes unresolved 404s not seen again within the period (`days`; by default, the setting's value). |

The connection needs permission on the `evoseo` component in evoMCP. See [evoMCP: installation](https://evoaddons.com/en/documentation/evomcp-install).

## Events

| Fired by | Event | What happens |
| --- | --- | --- |
| evoMCP | `onEvomcpCollect` | evoSEO's system plugin announces its tools. |
| evoSEO, with the `days` argument | `onEvoseoCollectAiAccess` | Whatever offers AI crawler accesses (evoOrigin) returns an aggregate summary. If nobody answers, the panel says so. |
| Any extension | `onEvobotsList` | "System - evoBots" returns the bot list without the consumer depending on its classes. |
| evoSEO, once per request | `onEvoseoCollectPageData` | A system plugin (evoTheme) declares the page's SEO data with the `evoseo.page/1` contract. |
| Any extension | `onEvoseoGetSchemaCatalog` | evoSEO returns the `evoseo.schema-catalog/1` catalogue of types and fields. |
| Any extension, with a declaration | `onEvoseoValidatePageData` | evoSEO returns the validation warnings for that declaration. |

## Scheduled tasks

| Title | Type | What it does |
| --- | --- | --- |
| evoSEO: 404 purge | `evoseo.purge404` | Deletes unresolved 404s not seen again within the days set in "Days a 404 is kept". |
| evoSEO: IndexNow notification | `evoseo.indexnow` | Sends the public pages modified since the last notification. It does nothing if IndexNow is off. The first run only sets the starting point. |

## Panel permissions

| Permission | Allows |
| --- | --- |
| `core.manage` | Entering the panel; exporting redirects and settings; reading the API. |
| `core.create` | Creating rules and importing CSV. |
| `core.edit` | Editing rules, redirecting 404s, saving the robots.txt, sitemap and AI visibility settings, and importing settings. |
| `core.delete` | Deleting rules, dismissing and purging 404s. |

Everything the panel writes checks Joomla's form token.

---

https://evoaddons.com/en/documentation/evoseo-reference
