A web developer's five-step recipe for making a WordPress site legible to AI assistants
A dev.to tutorial shows how llms.txt and JSON-LD can help assistants describe a business accurately, though only one of them is well established.
The short version
- llms.txt is a plain markdown file at a site's root that summarizes who you are and links to key pages.
- The author also sends a Link header and lists the file in robots.txt, where he allows known AI crawlers.
- JSON-LD describes the same facts as structured data: name, job title, location, profile links, services.
- He says matching details across his site and public profiles make assistants likelier to repeat them correctly.
- Our newsletter notes no assistant is confirmed to honor llms.txt, while JSON-LD also helps regular search.
The problem the author set out to solve
Web developer Jagdeep Singh Rana, based in Roorkee, India, wrote up how he made his own WordPress portfolio easier for AI systems to understand. As dev.to reported in his post, assistants such as ChatGPT, Claude, Perplexity and Gemini are increasingly asked questions like "who is the best developer for X?"
His argument is simple. If a site is hard for these tools to read, they either guess about the business or skip it. His five steps are meant to remove the guesswork.
Why it matters
More people ask AI assistants who to hire or which business fits a need. If your site is hard to read, the assistant may guess or leave you out. The steps here are cheap, and the sturdiest of them also help ordinary search.
Step one and two: a cover letter for machines
The first step is an llms.txt file. It is a plain markdown file (a simple text format with light formatting) placed at the root of your domain. It tells language models who you are and where your important pages live.
His version has a one-paragraph summary of who he is, where he works and what he builds. It then lists links to his profile, services and case studies, each with a one-line description, plus contact details. It also points to a longer file, llms-full.txt, which holds everything on the site in a single markdown document.
His advice is to keep it factual, because models tend to repeat what you write. In other words, write the sentence you would be happy to see quoted back.
The second step is to advertise the file. He sends an HTTP Link header that names llms.txt as an alternate version of the site. (An HTTP header is a small piece of information a server sends along with a page.) He also mentions the file in comments inside robots.txt and explicitly allows the well-known AI crawlers there, so nobody has to wonder whether they may read the site.
Step three: structured data that leaves no doubt
The third step is JSON-LD, a way of embedding labeled facts in a page so software does not have to infer them from prose. He uses it to describe himself as a person, his website, his services and the organisations he is connected to.
The fields he lists include name, job title, location, links to his other profiles (known as sameAs links) and what he offers. His reasoning is that search engines and AI systems trust this format because it is unambiguous.
Our newsletter adds some context here. JSON-LD has been around for a long time and also helps conventional search, which makes it the safer first step of the two technical additions.
Steps four and five: agreement and a trail of links
The last two steps are not technical. First, keep your name, location, services and links identical everywhere: on your site, in llms.txt, in your schema and on public profiles such as GitHub, LinkedIn, DEV and Hashnode. His claim is that when many independent pages agree, assistants are far more likely to repeat your details correctly.
Second, build a few real backlinks. He says AI answers lean on sources that are linked and mentioned elsewhere. His suggestion is to publish useful posts that link back to your site and your business.
Worth noting: the post ends as a pitch. The author runs a web design, Shopify and SEO studio called Ragnar Studio, applied the same approach to its site, and invites readers who want similar work to get in touch. That does not make the advice wrong, but it is one person's account, not a tested study.
What is proven and what is not
The post does not show measurements. It does not report before-and-after results or say which assistants changed their answers. Our newsletter flagged the same gap: we cannot confirm that any particular AI assistant honors llms.txt, so that file is best treated as low-cost and unproven.
That framing suits a small business, blogger or consultant. Writing a summary of who you are takes an hour or so, and the work forces you to settle on one accurate description. Even if no assistant ever reads the file, the consistency and structured data have value on their own.
What to watch
- Will major AI assistants publicly confirm that they read llms.txt files?
- Will anyone publish measured before-and-after results for sites that adopt this approach?
Try it
Ask an AI assistant a question about you or your business, such as who you are and what you offer, and compare the answer with your own facts. Then check whether your robots.txt blocks AI crawlers.
More stories
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- ReportingDEV Community: the article we sourced dev.to
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.

Claude
Claude
Claude
Claude