{"id":16426,"date":"2026-01-12T07:03:23","date_gmt":"2026-01-12T06:03:23","guid":{"rendered":"https:\/\/roger-ari.com\/?p=16426"},"modified":"2026-01-29T08:17:29","modified_gmt":"2026-01-29T07:17:29","slug":"what-does-the-llms-txt-file","status":"publish","type":"post","link":"https:\/\/roger-ari.com\/en\/what-does-the-llms-txt-file\/","title":{"rendered":"What is the llms.txt file and how do I set it up?"},"content":{"rendered":"<h2 class=\"wp-block-heading\">Simple definition of the llms.txt file<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>llms.txt<\/strong> is a file placed at the root of a site that provides a <strong>IA-friendly version\u201c<\/strong> the essentials of a site: entry points, key pages, documentation and links to Markdown resources. The idea is to help LLMs find useful information quickly. <strong>without going through the entire layout <a href=\"https:\/\/roger-ari.com\/en\/html-tags-whats-important-for-seo\/\" data-type=\"post\" data-id=\"12945\">HTML<\/a><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/roger-ari.com\/wp-content\/uploads\/2026\/01\/fichier-llms-txt.webp\" alt=\"llms txt file\" class=\"wp-image-16428\" srcset=\"https:\/\/roger-ari.com\/wp-content\/uploads\/2026\/01\/fichier-llms-txt.webp 1536w, https:\/\/roger-ari.com\/wp-content\/uploads\/2026\/01\/fichier-llms-txt-768x512.webp 768w, https:\/\/roger-ari.com\/wp-content\/uploads\/2026\/01\/fichier-llms-txt-18x12.webp 18w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What does it actually do?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An llms.txt can be used for :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>indicate <strong>where to find the documentation<\/strong> or the \u201csource of truth\u201d pages\u201d<\/li>\n\n\n\n<li>point to a Markdown version of important pages (guides, APIs, FAQ)<\/li>\n\n\n\n<li>give a <strong>structured summary<\/strong> of the site, readable by an AI and by a human being<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Important information: <strong>it is not a blocking mechanism<\/strong> as <a href=\"https:\/\/robots-txt.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">robots.txt<\/a>. This is a guidance file. Its adoption varies according to the tools and platforms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Format (expected structure)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The proposed standard is based on a text file in a format similar to Markdown, with sections and links to useful resources. Variants exist, such as <code>llms-full.txt<\/code> (more exhaustive version) depending on certain generators\/tools.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Minimum example (to be adapted)<\/h3>\n\n\n\n<pre class=\"wp-block-code has-pale-cyan-blue-color has-black-background-color has-text-color has-background has-link-color wp-elements-e00cbf0e1a2f70eeee0b995afa33d374\"><code># Site name\n&gt; 2-3 line summary of what the site does.\n\n## Key pages\n- https:\/\/exemple.com\/a-propos\n- https:\/\/exemple.com\/services\n- https:\/\/exemple.com\/contact\n\n## Useful resources\n- Documentation : https:\/\/exemple.com\/docs\/\n- FAQ : https:\/\/exemple.com\/faq\/\n- Site map : https:\/\/exemple.com\/sitemap.xml\n\n## Recommended content (Markdown if possible)\n- https:\/\/exemple.com\/docs\/guide.md\n- https:\/\/exemple.com\/docs\/api.md<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to set it up<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1 - Manual method (universal)<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Creates a file named <strong><code><a href=\"https:\/\/roger-ari.com\/en\/llm-tools-for-improving-the-visibility-of-wordpress-sites\/\" data-type=\"post\" data-id=\"16386\">llms.txt<\/a><\/code><\/strong><\/li>\n\n\n\n<li>Put it in the <strong>root<\/strong> of the site (often <code>public_html\/<\/code> or the web root folder)<\/li>\n\n\n\n<li>Check access : <code>https:\/\/tonsite.com\/llms.txt<\/code><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This is exactly how the standard works: a file with the URL <code>\/llms.txt<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2 - On WordPress (practical)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Via <strong>FTP \/ SFTP<\/strong> or the host's file manager: you add <code>llms.txt<\/code> to the WordPress root (where the <code>wp-config.php<\/code>, <code>wp-content<\/code>, etc.).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Option 3 - If you are with Hostinger (integrated tool)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Hostinger indicates a WordPress option : <strong>Hostinger \u2192 Tools \u2192 LLM Optimization \u2192 \u201cCreate LLMs.txt file\u201d<\/strong> (immediate activation).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Useful best practices<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Highlight the pages that explain <strong>the best<\/strong> your activity (not all pages)<\/li>\n\n\n\n<li>Adds links to content <strong>stable<\/strong> (docs, FAQs, guides), not temporary pages<\/li>\n\n\n\n<li>Avoid posting links that change every day<\/li>\n\n\n\n<li>Update the file when the site structure changes<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>D\u00e9finition simple du fichier llms.txt llms.txt est un fichier plac\u00e9 \u00e0 la racine d\u2019un site qui fournit une version \u201cIA-friendly\u201d de l\u2019essentiel d\u2019un site : points d\u2019entr\u00e9e, pages cl\u00e9s, documentation, et liens vers des ressources en Markdown. L\u2019id\u00e9e est d\u2019aider les LLMs \u00e0 trouver rapidement l\u2019information utile sans parcourir toute la mise en page HTML. [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":16427,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150,80,87,89],"tags":[],"class_list":["post-16426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-site-web","category-actualites","category-ia","category-seo"],"_links":{"self":[{"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/posts\/16426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/comments?post=16426"}],"version-history":[{"count":0,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/posts\/16426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/media\/16427"}],"wp:attachment":[{"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/media?parent=16426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/categories?post=16426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roger-ari.com\/en\/wp-json\/wp\/v2\/tags?post=16426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}