How to configure the LLMS.txt tool?

The module generates llms.txt at the site root. This proposed format provides a complementary site representation for tools that read it. It replaces neither HTML pages nor sitemaps.

The module also generates Markdown files for selected products, categories and CMS pages. These files and structured data complement your shop content. They do not guarantee crawling, indexing, display or citation in an AI answer.

After generation, check the files and their public accessibility. See the official llms.txt proposal for the format.

1. Configuration


The LLMS > Configuration tab allows you to precisely define which content will be included in the llms.txt file and the markdown files generated by the module. You can choose whether or not to include products, categories, CMS pages, enable multilingual support, and add additional information.

  1. In the LLMS > Configuration tab, enable or disable the inclusion of products, categories, and CMS pages as needed.
  2. Check the available active-language content in the generated files. Text is not translated and there is not necessarily a separate file per language.
  3. If needed, enter additional information in the dedicated field (e.g.: legal notices, shop information).
  4. Click the Save button to save your settings.
  5. Then go to the File Generation tab.

2. File generation


The File Generation tab allows you to manually launch the generation or regeneration of the llms.txt file and markdown files. A summary of the generation (number of files, duration, etc.) is displayed after each operation.

Note:

  1. Click the File Generation button to start creating the llms.txt index and content files:
  2. You can follow the steps of the file generation:

Understand generated filenames

The numeric paths below are schematic examples, not literal generated filenames to look for. The module builds filenames from the content URL path, replaces slashes with underscores and adds .md. Copy the actual path from Generated Files.

Once the generation is complete, where are the files located?

You can also view the files in the Generated Files tab.

Note: After generating your files, refresh the page if you want to view them in the "Generated Files" tab (see below).

3. Viewing generated files


The Generated Files tab allows you to view, filter, and access all files generated by the module (main llms.txt file, product, category, CMS markdown files). You can filter by content type, view the content of a file, and download if needed.

  1. After refreshing the page, click the "View llms.txt" button to view the main file in a new tab:
  2. Select the type of content file to view, then click "Filter":
  3. For each file, click "View" to open it in a new tab:

    Actual Markdown path for the fictional bottle

4. Setting up the CRON task


Why set up a CRON task? Even though real-time generation covers most needs, the CRON task acts as an extra safeguard to ensure your entire catalog is up to date, without manual intervention.

Mandatory prerequisite: To use automatic generation via CRON, you must:

  1. Have access to your hosting's CRON configuration (cPanel, Plesk, SSH access, etc.).
  2. Check that your host allows the execution of external CRON tasks.

If you do not have access to the CRON configuration, contact your host or system administrator.

  1. In the LLMS > CRON Task tab, copy the CRON URL provided by the module.

    CRON URL and demo security key reset

  2. Add this URL to your hosting's CRON configuration (using cURL, wget, or PHP CLI as you prefer). You can use the example CRON commands provided by the module (copying commands is possible).
  3. Save the configuration on your server.

Note: If you reset the security key using the dedicated button under the CRON URL, remember to update the CRON URL on your server. Otherwise, previously configured CRON tasks will stop working.

Tips:

Other FAQs in this category