Docs.cursor.com/llms.txt serves an HTML page instead of the llms.txt file

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

the docs domain migration broke cursor’s llms.txt for anyone holding the old URL. https://docs.cursor.com/llms.txt redirects to https://cursor.com/docs, which is an HTML page. until the docs moved, that was the correct llms.txt location, so any AI tool or agent that saved it now ingests a React app shell instead of markdown. https://cursor.com/docs/llms.txt also returns the HTML shell. the real file lives at https://cursor.com/llms.txt and works fine.

Steps to Reproduce

$ curl -sL https://docs.cursor.com/llms.txt | head -c 15
<!DOCTYPE html>
$ curl -sL https://cursor.com/llms.txt | head -c 15
# Cursor

or open both URLs in a browser: the first renders a webpage, the second returns plain markdown. also reproducible with npx llms-txt-check https://docs.cursor.com, a checker i built for exactly this class of breakage.

Expected Behavior

docs.cursor.com/llms.txt (and ideally cursor.com/docs/llms.txt) should redirect to https://cursor.com/llms.txt so existing consumers of the old URL get the markdown file instead of HTML. same for llms-full.txt if the old domain served one.

Operating System

Windows 10/11
MacOS
Linux
Other

Version Information

Other (website bug

For AI issues: which model did you use?

this is about cursor.com / docs.cursor.com routing

For AI issues: add Request ID with privacy disabled

n/a

Additional Information

for context, i maintain docusaurus-plugin-copy-page-button (runs on 28 docs sites; react native and pnpm are the big ones, puppeteer too) so i spend a lot of time in this corner of docs tooling. running npx [email protected] https://cursor.com as a CI step after docs deploys would catch this kind of breakage before agents hit it, it exits nonzero when the file or any listed url stops serving.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the detailed report and repro. I was able to reproduce it on my end. docs.cursor.com/llms.txt does a 308 redirect to https://cursor.com/docs and drops the path, so you get an HTML shell instead of markdown. Same thing happens with other old deep links on docs.cursor.com.

The current working URL is https://cursor.com/llms.txt, it returns the correct markdown. If you can, please update the saved link in your tools to that.

I’ve passed this to the team so they can fix the redirect for the old URL and also check llms-full.txt. I can’t share a timeline yet, but I’ll post an update here when I have one.

thanks for the reponse!

i’ve updated my saved link to cursor.com/llms.txt in the meantime. appreciate you routing it