Why Your Chatbot Can't Answer From Some of Your Pages
JavaScript-only pages, PDFs, login walls, noindex tags and bot blockers all hide content from a website chatbot. How to spot each one, and how to fix it.
By Umar Mirza, founder of ChatBento
Published Updated 6 min read
If your chatbot can't answer a question that's clearly on your website, the page usually never made it into the bot's knowledge. The common causes are pages whose text only appears after JavaScript runs, content inside PDFs or documents, pages behind a login, pages marked noindex, pages on a different subdomain, and firewalls that block the crawler. Each has a quick check and a fix, and the universal fix is to paste the missing content in as text or a Q&A.
I build ChatBento, and "the bot says it doesn't know, but it's right there on my site" is one of the questions I answer most. Here's what ChatBento's crawler actually does, so you can see your site the way it does.
How a chatbot reads your site
When you enter your website, ChatBento:
- Finds your pages from your
/sitemap.xml,/sitemap_index.xml, anySitemap:lines in yourrobots.txt, and the links on your pages. - Downloads each page's HTML exactly as your server sends it, identifying itself as
ChatBentoBot/1.0. - Pulls out the readable text (plus the page's meta description) and trains the bot on it.
Two details explain most missing answers. The crawler stays on your site (www and non-www count as the same site). And it reads the HTML your server sends: it doesn't run JavaScript the way a browser does.
1. The text only appears after JavaScript runs
Some sites send the browser an almost empty HTML file, then build the page with JavaScript. A person sees a full page. A crawler that doesn't run scripts sees almost nothing.
How it shows up: in ChatBento's Training tab, the page is marked as failed with "The page has almost no readable text (it may need JavaScript to render)".
How to check: open the page in your browser and view its source (Ctrl+U on Windows, Cmd+Option+U on a Mac). Search for a sentence you can see on the page. If it's not in the source, it's added by JavaScript.
Fixes:
- If you use a framework, turn on server-side rendering or static generation for content pages. Most modern frameworks support it, and it helps search engines too.
- For text loaded by a widget (some FAQ accordions, review widgets and "load more" sections), copy that text into ChatBento as a text source or Q&As.
2. The answer is in a PDF or document
Price lists, menus, brochures and policies often live in PDFs. ChatBento's crawler skips files, including .pdf, .docx, .xlsx and .pptx, as well as images.
Fixes:
- Put the important content on a normal web page. It's better for visitors on phones, and for search engines.
- Or paste the text into ChatBento as a text source. Copy the parts people actually ask about rather than the whole document.
3. The page is behind a login
Member areas, customer portals and account pages need a password, so no crawler can read them. ChatBento also skips paths such as /login, /account, /cart and /checkout on purpose: they're screens, not answers.
Fix: if the bot should answer from member-only content, paste that content in as text or Q&As. Only add what you're happy for any visitor to read, because the bot can repeat it to anyone who asks.
4. The page is marked noindex
A noindex tag tells search engines to keep a page out of results. ChatBento treats it the same way: those pages are usually login screens, thank-you pages or app screens, so they're dropped from training and don't count toward your plan's page limit.
Sometimes a page gets noindex by accident, for example from an SEO plugin setting, a staging setting left on, or a page template that hides itself.
How to check: view the page's source and search for noindex. If it's there and the page should be public, remove it. That will also let Google show the page, which is probably what you wanted anyway.
5. The content is on another subdomain or domain
The crawler stays on the site you entered. If your help center lives at help.yourdomain.com, your shop at shop.yourdomain.com or your docs on a separate platform, pages there aren't picked up from your main site.
Fix: in the Training tab, add the pages people ask about one by one with the Page option, which takes any public address. Or add their content as text or Q&As.
6. Your firewall blocks the crawler
Bot protection on Cloudflare, your host or a security plugin can block unfamiliar crawlers. The crawler retries once after rate limits and server errors, but a firm block won't change.
How it shows up: pages fail with a message like "The site answered with HTTP 403".
Fix: allow the ChatBentoBot user agent in your bot protection or security plugin, then click Retrain in the Training tab.
7. The page is huge, or one of hundreds of similar pages
A few things limit how much of a big site gets read:
- Very large pages: HTML over 2 MB is cut, so content at the end of an enormous page may be missing. Long pages with many sections often read better split into a few focused pages anyway.
- Your plan's page limit: Hobby trains on up to 200 pages, Standard 2,000 and Pro 10,000. On a site with more pages than that, the crawler starts with the shallowest pages in your sitemap and works deeper, and it leaves tag, category, search and archive listing pages until last.
- No sitemap and few links: a page nothing links to, and that isn't in your sitemap, may never be found.
Fixes: make sure your sitemap exists and lists your important pages, link key pages from your main navigation or footer, and add a page directly in the Training tab if it's still missing.
How to find the gaps quickly
- Open the Training tab. The Failed count and the reason next to each failed page tell you which of the causes above applies.
- Ask the bot your ten most common questions. When it says it doesn't have the information, find where the answer lives on your site and check that page against the list above.
- Read your conversations. Questions the bot couldn't answer are a ready-made list of missing content. I wrote about turning them into pages in Your Chatbot's Conversations Are a Content Plan.
After you fix a page, retrain it
ChatBento reads a page when it's added, not every time you edit it. After you change a page's content, open the Training tab and click Retrain on that page (or Retrain all after a bigger update) so the bot picks up the new version. This matters most for prices and policies. An old copy of your refund page is worse than none.
The universal fix: text and Q&As
Whatever the reason a page can't be read, you can add its content directly. Short Q&As work especially well for the questions people ask most:
Q: Do you deliver on weekends?
A: Yes, on Saturdays in the city center. Orders placed by 2 p.m. Friday arrive Saturday. We don't deliver on Sundays.
Short, specific answers beat a pasted brochure. The free FAQ generator can draft ten questions and answers from any public page as a starting point. Check every answer before you add it.
Quick checklist
- View source on pages the bot can't answer from: is the text in the HTML?
- Important PDF content moved to a page, or pasted in as text
- Member-only content the bot needs added as text or Q&As
- No accidental
noindexon public pages - Help center or shop on another subdomain covered with text or Q&As
-
ChatBentoBotallowed through bot protection - Sitemap lists your important pages
- Changed pages retrained
The install guides cover each site builder, including notes on what their pages look like to a crawler, and every plan's page limit is on the pricing page.