---
title: Five fixes that make a business website usable by AI agents · The Direct Index
url: https://directindex.org/fix
---

[The Direct Index](https://directindex.org/)
[Scanner](https://directindex.org/scan)[Cities](https://directindex.org/cities)[Numbers](https://directindex.org/stats)[Rankings](https://directindex.org/rankings)[Search](https://directindex.org/search)[Guides](https://directindex.org/guides)[About](https://directindex.org/about)

 Guide

# Five fixes that make a business website usable by AI agents

Most sites that score badly aren't doing anything wrong on purpose. These are the five problems the scanner finds most often, starting with the one that moves the score most.

## 1. Your host is blocking AI crawlers and you don't know it

Of the 768,468 business websites in the city indexes so far, 22% turn away GPTBot, ClaudeBot or PerplexityBot at the edge, with an error or a challenge page. The block comes from a hosting firewall or a "bad bot" list. Run the [scanner](https://directindex.org/scan). If it says crawlers are turned away at the door, ask your host to allow those three user agents.

## 2. The menu or price list is a PDF or a photo

When someone asks what you offer and what it costs, an agent answers from whatever it can read. It reads a PDF badly and an image not at all, so the answer comes from a marketplace's copy of your menu. Put the menu or price list on a normal page, with the names and prices as text. You can keep the PDF as a download if you like it.

## 3. No structured data

A short JSON-LD block tells assistants your name, address, phone, opening hours, what you offer and whether you take bookings. Most site builders can add it, and the [methodology](https://directindex.org/methodology) lists the fields. It's the cheapest fix on this list.

## 4. The only way to book or order is a marketplace

If the booking button goes to a reservation marketplace and the order button to a delivery app, every booking or order an agent makes costs you their commission. Add a direct way to book or order on your own domain. That can be booking software embedded on your site, a simple order form, or even a request you confirm by email. Any direct path is better than none, and an agent will pick it when it works.

## 5. The page is empty without JavaScript

Some site builders draw the whole page in the browser, so a crawler that doesn't run scripts sees a blank page. Check the scanner's "text without JavaScript" finding. If it's under 500 characters, the hours, address and menu need to be in the HTML itself.

After a fix, rescan from your business's page. It's free and the badge updates.

## The longer guides

- [ChatGPT doesn't show my restaurant. Why, and what to do](https://directindex.org/guides/chatgpt-does-not-show-my-restaurant)
- [Am I blocking ChatGPT, Claude and Perplexity without knowing?](https://directindex.org/guides/blocking-ai-crawlers-without-knowing)
- [robots.txt for AI agents: who to allow, and how](https://directindex.org/guides/robots-txt-for-ai-agents)
- [My menu is a PDF. Can AI assistants read it?](https://directindex.org/guides/menu-pdf-ai)
- [Structured data for a restaurant website, copy and paste](https://directindex.org/guides/structured-data-restaurant)
- [How to take bookings on your own website, not only through a marketplace](https://directindex.org/guides/book-direct-on-your-own-website)
- [Online ordering on your own site, next to the delivery apps](https://directindex.org/guides/online-ordering-without-delivery-apps)
- [Agents see a blank page: text without JavaScript](https://directindex.org/guides/website-blank-without-javascript)
- [Do I need an llms.txt? What it is, with an example](https://directindex.org/guides/llms-txt-for-a-business)
- [How to check what AI agents see on your website](https://directindex.org/guides/check-what-ai-agents-see)

#### The Direct Index

[Why direct](https://directindex.org/why)[What agent-direct means](https://directindex.org/agent-direct)[About and principles](https://directindex.org/about)[Methodology](https://directindex.org/methodology)[Privacy](https://directindex.org/privacy)[Terms](https://directindex.org/terms)[Corrections](https://directindex.org/corrections)[Legal notice](https://directindex.org/legal)

#### Use it

[Free scanner](https://directindex.org/scan)[City indexes](https://directindex.org/cities)[Search the index](https://directindex.org/search)[Rankings](https://directindex.org/rankings)[What assistants recommend](https://directindex.org/assistants)[Ask the index](https://directindex.org/ask)

#### Vendors and help

[Booking and ordering vendors](https://directindex.org/vendors)[Which vendors' terms allow agents](https://directindex.org/vendors/terms)[Vendor verification](https://directindex.org/vendors/verification)[Website builders](https://directindex.org/builders)[Who can fix this](https://directindex.org/providers)[For agencies](https://directindex.org/agency)

#### For agents

[llms.txt](https://directindex.org/llms.txt)[llms-full.txt](https://directindex.org/llms-full.txt)[OpenAPI](https://directindex.org/openapi.json)[MCP server](https://directindex.org/.well-known/mcp/server-card.json)[A2A agent](https://directindex.org/.well-known/agent-card.json)[Direct feeds](https://directindex.org/direct.json)

#### Data

[Open data, CSV and JSON](https://directindex.org/data)[The quarterly edition](https://directindex.org/editions)[City data, JSON and Markdown](https://directindex.org/cities)[Sitemap](https://directindex.org/sitemap.xml)

Business listings come from OpenStreetMap contributors, under the ODbL. Scores are published under the same licence.

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://directindex.org/#org","name":"The Direct Index","url":"https://directindex.org/","logo":"https://directindex.org/favicon.svg","email":"hello@directindex.org","founder":{"@type":"Person","@id":"https://directindex.org/#antonio","name":"Antonio Curado","sameAs":["https://x.com/ab_curado"]},"description":"Independent measurement of whether AI agents can find, read and act on a business's own website."},{"@type":"WebSite","@id":"https://directindex.org/#site","url":"https://directindex.org/","name":"The Direct Index","publisher":{"@id":"https://directindex.org/#org"},"inLanguage":"en","potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://directindex.org/scan?url={url}"},"query-input":"required name=url"}},{"@type":"WebAPI","name":"The Direct Index API","url":"https://directindex.org/openapi.json","documentation":"https://directindex.org/llms-full.txt","provider":{"@id":"https://directindex.org/#org"}}]}
```
