Learning Center
How to Add llms.txt to Wix
Wix doesn't let you upload files to your site root the normal way — but there are workarounds. Here's how to get your llms.txt file accessible at yoursite.com/llms.txt on a Wix site.
The Challenge
Why Wix Makes This Tricky
Unlike WordPress where you can upload any file to your server, Wix controls your hosting. You can't just drop a .txt file into a folder. But there are a few ways to make it work.
Your Options on Wix
- Option 1: Use Wix's built-in robots.txt editor (limited but simple)
- Option 2: Create a page at /llms-txt that outputs your content
- Option 3: Use Wix Velo (their coding platform) to serve a custom route
- Option 4: Host the file externally and redirect to it
Option 1 (Simplest)
Create a Page at /llms-txt
Since Wix won't serve a raw .txt file at the root, the simplest approach is to create a regular page with your llms.txt content. AI can still read it — it just won't be at the exact /llms.txt path.
Create a New Page in Wix
In your Wix dashboard, go to Pages & Menu → Add Page. Name it "llms-txt" so the URL becomes yoursite.com/llms-txt.
Add a Text Block With Your Content
Add a single text element to the page and paste your entire llms.txt content. Use a simple font, no fancy formatting. Hide this page from your navigation menu.
Hide From Navigation & Publish
Right-click the page in your page list and hide it from the menu. It'll still be accessible via URL — AI bots can find it, but visitors won't see it in your navigation.
Option 2 (More Technical)
Use Wix Velo to Serve a Custom Route
If you want the file at the exact /llms.txt path, you'll need Wix Velo (Wix's coding platform). This requires some technical knowledge or a developer.
Wix Velo HTTP Function (For Developers)
Your developer would create this file in the Wix Velo backend:
// File: backend/http-functions.js
import { ok } from 'wix-http-functions';
export function get_llmstxt(request) {
const content = `# Your Business Name
> Your one-line description here.
Your 2-3 sentence overview goes here.
## Services
- Service 1: Description
- Service 2: Description
## Pricing
- Starting at $X/month
`;
return ok({
headers: { "Content-Type": "text/plain" },
body: content
});
}Important Notes for Wix
- The Velo method serves the file at yoursite.com/_functions/llmstxt (not exactly /llms.txt)
- For most businesses, the simple page method (Option 1) works fine — AI can read regular pages too
- Make sure the page isn't password-protected or behind a member login
- Reference this page URL in your other AI files and your sitemap