2 project slots open — Q4 2026Spain · Murcia · remote worldwide
enes
Start a project
← All posts

Websites14 min read

How to write your website so AI assistants recommend it

Excerpt: Google says AI answers rest on ordinary search, so there is no secret markup to add. Here is what the evidence supports, six steps to apply on a local business site, and a 30-minute test to check your work.

Developer working at a desk, seen from behind, building a small business website

Quick answer: write every page so a stranger, human or machine, can tell in ten seconds who you are, what you do, where you work and why they should believe you. Google's own guidance, consolidated on 2 December 2026, says AI answers rest on ordinary search: your page must be indexed and eligible to show a snippet, and it should contain first-hand, specific information. It asks for no special markup and no AI-only files.

This is the follow-up to Is your website invisible to ChatGPT and Gemini? That post explained the problem. This one is the fix, with one correction: we put more weight on structured data there than the evidence supports. The next section shows what changed.

What we actually know about how AI assistants choose sources

Nobody outside the AI companies knows the full recipe, so we rely only on what Google and OpenAI document and on tests with published methods. Everything below was checked on 3 December 2026.

  • Google: optimizing for generative AI features (first published 15 May 2026; on 2 December 2026 Google merged its older AI features page into it). AI Overviews and AI Mode are part of Search, and optimizing for them is optimizing for search. A page must be indexed and eligible to appear with a snippet. Structured data is not required for these features. Google Search does not use llms.txt files. Content should be original and based on first-hand knowledge, and mass-produced pages built to manipulate AI answers are discouraged. Business Profiles can help services appear in AI responses. The 2 December version also adds sections on controlling how your content appears, attribution, and identifying AI-feature traffic.
  • OpenAI: crawlers overview. OAI-SearchBot decides whether a site can appear in ChatGPT search answers. GPTBot is for training and does not affect that. A robots.txt change can take about 24 hours to be picked up.
  • Google Business Profile Help. Local results are based mainly on relevance, distance and prominence. Complete, accurate profile information makes a business more likely to appear. Review count and rating feed prominence.
  • Aggarwal et al., GEO, KDD 2024. In a simulated generative engine, adding citations, quotations and statistics to a page raised its visibility, by up to about 40% depending on the method. Keyword stuffing did not help. The engine was simulated, so read this as direction, not guarantee.
  • Ahrefs, 11 May 2026. 1,885 pages that added JSON-LD were compared with matched pages that did not. Citations in Google AI Overviews moved by -4.6%, in AI Mode by +2.4% and in ChatGPT by +2.2%; the last two are statistically indistinguishable from zero. Ahrefs says the earlier finding that AI-cited pages are about three times likelier to carry JSON-LD could easily be correlation, not cause.
  • BrightLocal Local Consumer Review Survey 2026. 1,002 US consumers: use of ChatGPT and other generative AI tools for local recommendations rose from 6% to 45% in a year. 40% say they trust AI platforms for business recommendations.

Two corrections to our earlier post. First, we wrote that AI assistants lean heavily on structured data. The evidence above does not support that: Google says it is not required, and the largest test we found shows no meaningful citation gain from adding it to pages that were already visible. Structured data is still good practice, for reasons covered in step 4. Second, we described the BrightLocal figure as nearly half of local searches. It measures something narrower: the share of surveyed US consumers who used an AI tool for a local recommendation in the past year. The trend is real, but the sample is American, not Spanish.

Step 1: say who you are, what you do and where, in the first screen

An assistant that has to name two or three businesses looks for pages that answer the question directly. A vague opening gives it nothing to quote, and it gives a customer nothing to trust.

Put four facts in the first screen, in plain text and not inside an image: the business name, the main service, the place you work and one way to contact you. Add the service area as a sentence, not a map.

The difference looks like this (invented examples, not clients):

  • Vague: "Quality solutions for your home and family." Specific: "Bathroom and kitchen renovations in Torre-Pacheco and Los Alcázares. Written quote before work starts. Call or message on WhatsApp."
  • Vague: "Your trusted partner since day one." Specific: "Family-run workshop in Murcia. Mechanics, bodywork and paint on all makes."

The specific versions name a service, a place and a next step. They also stay honest: if you cannot support a claim, leave it out. Google's guide asks for content that reflects what you actually know, and a claim you cannot back up reads the same to a model as to a customer.

Step 2: one page per service, written as the answer to a real question

People ask assistants whole questions: "who replaces a bathroom in San Javier", "how much does a pre-ITV check cost". A single "Services" page with eight bullet points answers none of them well. A page per real service does.

A service page that works has the same few parts every time:

  1. What the service is, in one or two sentences that stand on their own.
  2. When a customer needs it, and when they do not.
  3. How the work goes, step by step, with a realistic timeline.
  4. What it costs, as a range or a starting price, and what changes the price.
  5. Where you do it, named towns or areas.
  6. Two or three questions customers actually ask, answered directly.
  7. One clear way to contact you.

Three rules keep this honest. Write one page per service you really sell, not per keyword. Write a page for a town only if you work there and have something specific to say about it; the same text with a different town name is the kind of page Google's guide warns against. And write for the reader: Google says there is no need to cut content into small pieces for AI, so structure the page for a person scanning it and the machines will cope.

Step 3: replace adjectives with facts, numbers and sources

This is the step with the best published evidence. In the GEO study, the content changes that helped most were adding citations to sources, adding quotations and adding statistics. Changes that made text sound more authoritative, and keyword stuffing, did not help. The study used a simulated engine, so treat the size of the effect with caution, but the direction matches common sense: a model has more to work with when your page contains checkable facts.

For a local business this means:

  • Numbers you can stand behind: a price range with what moves it, a typical timeline, the sizes or capacities you work with, the number of years in business if the registry confirms it.
  • Sources for anything you did not measure yourself: link the town hall page when you explain a permit, the manufacturer's page when you quote a warranty, the official statistic when you cite one.
  • A date: "Prices checked December 2026" tells both readers and machines how fresh the page is. Update it when you change a price.
  • Named, specific detail from your own work: the materials you use, the problems you meet most often, what you refuse to do. Google's guide asks for content that goes beyond what is common knowledge, and this is the part nobody can copy from a competitor.

If a number is not true or not yet known, leave it out. A confident invented statistic is worse than silence, because an assistant can repeat it under your name.

Step 4: add structured data, for the right reasons

Add it, but do not expect it to make an assistant recommend you. Google says structured data is not required for its AI features, and Ahrefs found no meaningful change in AI citations after pages added it. What it does give you is eligibility for rich results in classic search and a clear, machine-readable statement of your business details.

For a local business, use the most specific LocalBusiness type that fits (for example AutoRepair, Plumber or HomeAndConstructionBusiness). Google requires name and address, and recommends telephone, url, geo (latitude and longitude with at least five decimals), openingHoursSpecification and priceRange.

One rule matters more than the rest: Google's general guidelines say markup must be a true representation of the page and must not describe content visitors cannot see. Wrong hours or an invented rating in code can lead to a manual action that removes your rich-result eligibility.

A note on FAQ markup. Google stopped showing FAQ rich results on 7 May 2026 and removed the documentation in June, so FAQPage markup no longer earns anything in Google Search. Still write an FAQ section on the page: readers use it, and it is a natural place for direct answers. Just do not add the markup in the hope of a rich result.

Step 5: let the crawlers in

The best-written page cannot be recommended if the assistant's crawler is turned away. This is the cheapest check on the list, and it fails more often than owners expect, usually because of a security plugin, a hosting firewall or a robots.txt template nobody has read.

  • Open yoursite.com/robots.txt. Look for lines that block OAI-SearchBot (ChatGPT search), Googlebot or a blanket Disallow: /. OpenAI says blocking OAI-SearchBot keeps a site out of ChatGPT search answers, and that a change can take about 24 hours to apply.
  • Decide about GPTBot separately. It collects content that may be used to train OpenAI's models. OpenAI says blocking it does not affect search appearance, so this is a policy choice, not a visibility one.
  • Make sure the page can be indexed and shown with a snippet. Google's guide lists both as requirements for its AI features. A noindex or nosnippet setting left over from a test site removes you from the running.
  • Keep the key facts in the page text. Google says it processes JavaScript when it is not blocked. We have not verified how every assistant handles scripts, so the safe choice is to keep your name, services, area and contact details in plain HTML, not only in images or content that loads after a click.
  • Look at what Google reports. Google's guide includes tips for the generative AI reports now in Search Console; if your site is verified there, check them.

Do not bother with an llms.txt file. Google states that Search does not use them.

Step 6: make your Google profile and the rest of the web say the same thing

For a local question, an assistant does not rely on your website alone. Google says local results depend mainly on relevance, distance and prominence, and that its AI features can surface services through Business Profiles. Prominence includes how well known you are: review count and rating, and how many websites link to your business.

So the work outside your site matters as much as the work on it:

  1. Complete your Google Business Profile: the right primary category, services, hours, address, photos and a link to your site. Google says complete, accurate information makes you more likely to appear.
  2. Keep name, address, phone and hours identical on the profile, your site, your social pages and the directories you appear in. A mismatch confuses people first and machines second. Our website audit checklist has a quick way to compare them.
  3. Answer reviews, good and bad, in your own words. A reply is also a place where you can calmly restate what you do and where.
  4. Earn mentions on real local sites: the chamber of commerce, a trade association, a supplier's installer list, local news. One accurate listing is worth more than ten copied directory entries.

There is no shortcut here and no way to pay for a better local ranking, a point Google makes explicitly.

What not to do

  • Add an llms.txt file. Google states that Search does not use it, so it neither helps nor hurts there.
  • Add schema markup to win AI citations. Ahrefs' test of 1,885 pages found no meaningful gain. Add markup for rich results and clarity, not as a ranking trick.
  • Repeat keywords in every sentence. The GEO study found keyword stuffing did not raise visibility.
  • Publish dozens of near-identical pages, by town or service. Google's guide discourages mass-produced pages made to manipulate AI answers. One strong page beats ten thin ones.
  • Invent statistics, reviews or awards. An assistant can repeat them under your name, and a customer can check them in a minute.
  • Buy a service that guarantees AI visibility. Nobody outside the AI companies can promise it. Google itself says indexing and serving are not guaranteed even when every requirement is met.

Check your work in 30 minutes

Answers vary from one ask to the next and between people, so treat this as a before-and-after measurement and not a ranking. Use a private browser window, ask each question twice, and keep the results with the date.

  1. "Best [your service] in [your town]" in ChatGPT, Gemini and Google AI Mode. Record: are you named, and in which position?
  2. "[Your service] near [your town], with prices" in ChatGPT and Gemini. Record: is a price or range mentioned, and is it yours?
  3. "Who does [your most specific service] in [your area]?" in Google AI Mode. Record: are you named for the narrow service?
  4. "Tell me about [your business name]" in ChatGPT and Gemini. Record: are the services, area, phone and hours correct?
  5. "Is [your business name] open on Saturday?" in Google AI Mode. Record: does it match your real hours?
  6. "[Your business name] reviews" in ChatGPT and Gemini. Record: which sources does it cite, and is your own site one of them?

For each answer, note four things: named or not, details right or wrong, your site cited or not, and which competitor appears instead. Wrong details are the most useful result: they point to the page or profile that needs fixing first.

Run the test, fix the biggest gap, wait a few weeks, and run it again. If your answers to the broader basics are still unknown (speed, forms, mobile layout), start with our 10-point website audit and come back to this list.

Frequently asked questions

Do I need an llms.txt file?

No. Google states that Search does not use llms.txt files, so adding one does not help or hurt your visibility there. Put the same effort into clear service pages.

Do I need structured data to appear in AI answers?

Google says it is not required for its AI features, and Ahrefs found no meaningful citation gain from adding it to pages already visible to AI. Add LocalBusiness markup anyway, for rich results and a clean statement of your details, but make sure it matches what visitors see.

Is optimizing for AI assistants different from SEO?

Google's guide says generative AI search is still search and that optimizing for it is optimizing for the search experience. Writing choices still matter: the GEO research found that adding sources, quotations and statistics raised visibility, while keyword stuffing did not.

How long do changes take to show?

There is no fixed timeline. OpenAI says a robots.txt change can take about 24 hours to apply, but whether and when a page is indexed and cited is not guaranteed, even when every requirement is met. Re-run the 30-minute test after a few weeks.

Should I block GPTBot?

That is a policy choice, not a visibility one. OpenAI says GPTBot collects content that may be used for training and that blocking it does not affect appearing in ChatGPT search. What matters for search is that OAI-SearchBot is allowed.

Does the 45% figure apply to customers in Spain?

Not directly. It comes from a BrightLocal survey of 1,002 US consumers, which found that use of AI tools for local recommendations rose from 6% to 45% in a year. It shows the direction of travel, not the Spanish number.

Sources

All pages were opened and read on 3 December 2026.

Read next

Tell us what you need built

Share a few details about your project, or simply ask us a question — we’ll take it from there.

WhatsApp click-to-chat

Torre-Pacheco, Murcia, Spain · remote worldwide · Mon–Fri 9:00–18:00

We use essential cookies to make this site work. With your permission we also use analytics cookies to see which pages are read. Nothing optional is set until you choose.

Read the cookies policy

Free project audit