How to add llms.txt to Wix
Wix doesn't allow root files. Use a Velo HTTP function (/_functions/llms) plus a domain-level redirect from /llms.txt.
Before you start
- ✓Wix Studio or Premium plan (for Velo)
- ✓Velo dev tools enabled on the site
- ✓An llms.txt body to paste into the function
Install in 4 steps
- 1
Enable Velo
In your Wix dashboard, enable Velo dev tools.
- 2
Create a backend function
Add backend/http-functions.js exporting get_llms returning ok({ headers: { 'Content-Type': 'text/plain' }, body: content }).
- 3
Redirect /llms.txt
Add a 301 redirect from /llms.txt to /_functions/llms in SEO → URL redirect manager.
- 4
Verify
Test the public URL with curl.
Troubleshooting
Wix caches aggressively. Append a version string while testing, then purge the cache before going live.
Velo functions have generous limits, fine for llms.txt traffic. If you hit them, contact Wix support to raise the cap.
Common gotchas
- • Wix caches aggressively — append a version string while testing
- • Velo functions are subject to Wix rate limits — fine for llms.txt traffic
Generate your llms.txt in 30 seconds
Use the free OptimAIze generator, then follow the steps above to deploy on Wix.
Frequently asked questions
Does Wix need both llms.txt and robots.txt?
Yes. robots.txt grants crawler permission; llms.txt curates which pages matter. Together they form the minimum AI-search setup on any Wix site.
Will adding llms.txt slow down my site?
No. It's a tiny static text file fetched once and cached aggressively. Page-load impact is effectively zero.
How often should I update llms.txt?
Whenever your canonical content set changes — new docs section, new product line, new pricing page. A monthly review is a sensible cadence for most sites.
Can I see whether AI engines read my llms.txt?
Check your server logs for user agents like GPTBot, ClaudeBot, PerplexityBot, and Google-Extended hitting /llms.txt. Most sites see traffic within days of publishing.