llms.txt
10-20 minBeginner
llm.txt is a text-only site map proposal for AI agents. On Shopify, you can implement this by uploading a file to the 'Files' section or creating a Liquid template.
Prerequisites
- Shopify Admin Access
- ChatGPT/Claude to generate the content
Easy Recommended
Static File Method (Easiest)
Upload a static text file.
1
Generate Content
1
Copy your sitemap URLs from yourstore.com/sitemap.xml.
2
Ask AI: 'Convert this list to a clean llm.txt format with Markdown links'.
3
Save as llm.txt on your computer.
2
Upload to Shopify
1
Go to Shopify Admin > Content > Files.
2
Upload llm.txt.
3
Copy the resulting URL (it will be cdn.shopify.com/...).
4
Create a Redirect in 'Online Store > Navigation > URL Redirects' so yourstore.com/llm.txt redirects to the CDN URL.
Best Practices
Do
- Use the Redirect method for simplicity
- Update manually when collections change
Don't
- Expect Shopify to serve the file at root without a redirect
Verification Checklist
- Go to yourstore.com/llm.txt (should redirect or load content)
Pro Tips
- Since Shopify forces a CDN URL for files, the 301 redirect is the standard way to 'host' root files like security.txt or llm.txt.