Server-side rendering: why AI crawlers need your HTML

In short

If your content appears only after JavaScript runs, most AI crawlers see an empty page. Here are the fixes.

Server-side rendering means your server sends the finished page, text included. Most AI crawlers read that first response and do not run JavaScript. If the text arrives later, they miss it.

How do I test my site?

  • Open a page, choose View Source, and search for a sentence from the page.
  • Or turn JavaScript off in your browser and reload.

If the sentence is missing, AI crawlers probably do not see it either.

What are the fixes?

  • Server-side rendering in your framework, such as Next.js, Nuxt or SvelteKit.
  • Static generation: build pages ahead of time.
  • Prerendering for crawlers, as a stopgap.

What about WordPress?

Classic WordPress themes already send full HTML. Problems come from page builders, sliders, tabs and reviews widgets that load content with JavaScript.

Does a header script fix this?

No. A script cannot help a crawler that does not run scripts. That is why UseAEOMCP also serves an llms.txt file and an MCP server, which need no JavaScript.

Free downloads

Four PDFs to put this into practice

The AEO checklist, the AI crawler cheat sheet, an llms.txt template and writing guidelines.

Get the PDFs

Tarek Riman
Tarek Riman is the founder of Riman Agency and UseAEOMCP. He works on SEO, AEO and AI search, and teaches digital marketing and AI at Canadian universities. About

All guides

Can AI read your site? Check it for free.

Enter your domain. In a few seconds you see what AI crawlers can read, and what to fix first.