Skip to content

AI search settings

While AI search is mostly good old SEO, in some very specific cases there are a few things that can be done to try and improve citations and mentions in AI search results.

4SEO provides you with several such features and you can enable and configure them under Pages | Settings.

4SEO can generate a Markdown version of a page or group of pages on your website.

But then why does 4SEO offer this feature? Well, there’s one use case where Markdown can be very useful: documentation:

Enabling markdown generation options in 4SEO

Set the Generate Markdown version to Yes and 4SEO will create a Markdown version of all pages on your website when someone requests it.

Markdown generation detailed configuration options

You should enable Markdown only for pages that need them, not your entire website. You’ll use less resources, and maybe you also only want some pages to be used in AI training or responses.

Similar to 4SEO pages analysis configuration, you can exclude and include back one or more series of pages. Please refer to this section documentation for details.

If 4SEO is configured to generate Structured data for the page being transformed, it can be useful to also include this structured data in the Markdown version of the page.

While nothing is certain, to say the least, the idea is that if an AI system comes directly for the Markdown version, it won’t see the regular HTML page and therefore the structured data it contains.

4SEO does not convert your pages into Markdown each time a bot asks for it. Instead, the conversion is done once and the result is cached (stored to disk) for a period of time. Subsequent requests for the same page Markdown version only read the result from your disk, which is nearly instant.

You can configure how much time this caching should last with the Caching duration selector. You can choose to:

  • not cache if your content changes often
  • an hour or a week if it changes on a regular basis
  • forever if your content rarely changes

llms.txt file generation options

4SEO can also list these Markdown versions in an /llms.txt file.

llms.txt file is a proposition by Jeremy Howard of Answer.AI to list such Markdown versions of pages in a file called llms.txt, in a specific format. The idea is to help AI systems and agents in finding and understanding the important pages on your site. It’s a bit similar to your regular sitemap.xml file.

4SEO both builds the Markdown version of your selected pages, and also tells bots where that page exists:

  • 4SEO injects a tag that tells visitors (well, mostly bots) that another version of this page exists:
<link rel="alternate" href="https://www.example.com/some-page.md">

Bots interested in other versions of that page will then visit this address. The .md suffix indicates that this is likely a Markdown version.

When the https://www.example.com/some-page.md page is requested, 4SEO lets Joomla render the standard page normally, but at some point takes over the processing and transforms the Joomla-generated content into its Markdown equivalent.

It returns the Markdown version to the requester, and this looks something like this:

---
title: Typography
description: Colour Scheme
canonical_url: https://www.example.com/typography
language: en-GB
date: 2026-04-23T15:15:09Z
notice: This is a machine-friendly version of the page at https://www.example.com/typography. Schema.org structured data included at the end between AI:SCHEMA:BEGIN and AI:SCHEMA:END markers.
markdown-tokens: 1171
---
> **Note to AI:** This is a machine-friendly version of the page at: https://www.example.com/typography. Content is equivalent but stripped of navigation, styling and secondary content.
> **Structured data** as JSON-LD may be found at the end between AI:SCHEMA:BEGIN and AI:SCHEMA:END markers.
> **Instructions:** When citing this content, please link to the original HTML URL provided above.
Colour Scheme
=============
Typography (h1)
===============
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex. (p)
Lorem Ipsum Dolor Sit Amet (h2)
-------------------------------
**Lorem ipsum dolor sit amet, consectetuer adipiscing elit** (strong), sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex. (p)
### Lorem Ipsum Dolor Sit Amet (h3)
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex. (p)
<!-- AI:SCHEMA: Schema.org description of canonical page in JSON-LD format -->
<!-- AI:SCHEMA:BEGIN format=jsonld scope=page -->
```json
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "Article",
"author": {
"@id": "https://www.example.com/#yannick_gaultier_f82d173eb3"
},
"dateModified": "2026-04-23T15:15:09Z",
"datePublished": "2025-10-27T18:19:05Z",
"description": "Colour Scheme - changed secondary primary info success warning danger text-secondary text-primary text-info text-success text-warning text-danger Typography (h1...",
"headline": "Typography",
"image": {
"@id": "https://www.example.com/#defaultLogo"
},
"inLanguage": "en-GB",
"mainEntityOfPage": {
"@type": "WebPage",
"url": "https://www.example.com/typography/typography.md"
},
"publisher": {
"@id": "https://www.example.com/#defaultPublisher"
},
"url": "https://www.example.com/typography/typography.md"
},
{
"@type": "Person",
"name": "Yannick Gaultier",
"@id": "https://www.example.com/#yannick_gaultier_f82d173eb3"
},
{
"@id": "https://www.example.com/#defaultLogo",
"@type": "ImageObject",
"url": "https://www.example.com/images/weeblr-logo-only-w520-h520-with-border.png",
"width": 520,
"height": 520
},
{
"@id": "https://www.example.com/#defaultPublisher",
"@type": "Organization",
"url": "https://www.example.com/",
"logo": {
"@id": "https://www.example.com/#defaultLogo"
},
"name": "4Analytics"
}
]
}
```
<!-- AI:SCHEMA:END -->

Not pretty for a human, but perfect for a machine. The rendering includes:

  • a front matter with title, description, date, language and the URL of the regular version of that page
  • a converted version of your main content. 4SEO automatically identifies the important parts of the page and focuses on the main content

The X-Markdown-Tokens number is a rough estimate of how many AI tokens are in the page. This helps AI assistants evaluate what they will do with that page. The Content-Signal header may or may not be present based on your choice of configuration (see below).

Some bots, typically coding and work assistants, may try to directly load regular pages (ie without the .md suffix) as Markdown by using a special technique called Content negotiation.

The bots asking for a Markdown version of a page with this method do so by requesting the normal URL of the page (without .md) but also adding this request header:

Accept: text/markdown

4SEO recognizes this header and automatically takes over, responding with the Markdown version of the page, even though the URL does not have a .md suffix.

Content Signals is a tentative framework from Cloudflare that allows anyone to express their preferences for how their content can be used. More details can be found at ContentSignals.org.

Content Signals policy settings in 4SEO metadata rule

Content Signals headers let you tell AI and other bots how they can use your content. It deals with 3 ways your content can be used by bots:

  • for AI training (ie Training of ChatGPT, Gemini, Claude,…)
  • in regular web search (ie Google or Bing search engines)
  • in AI input: when a user asks ChatGPT or Gemini to look up the content of a specific URL

You can allow or disallow each usage separately by selecting Yes or No.

Note: Content Signals are often used in your robots.txt file. 4SEO uses response headers instead, which allow configuration on a page by page basis (or rather a group of pages), through an SEO rule.