Ajouter llms.txt à votre site

Some sites might want to add a llms.txt file to aid the LLMs to be able to crawl the site better. Here’s an example how how the file should look.

You can simply do the following to achieve this functionality:

  1. Create your txt file and upload it to a topic in the Staff or any other private category so that people can’t see it.
  2. Copy the file’s URL by right-clicking → Copy link address
  3. Visit the https://yoursite.com/admin/config/permalinks
  4. Create a new permalink by choosing the Type as External or Relative URL.
  5. Add llms.txt in URL and paste the copied link in the External or Relative URL box and hit Save.

Now when you visit https://yoursite.com/llms.txt, you’ll see the file you uploaded.

7 « J'aime »