Verify bot HTML in production
rendershield verify --prod https://yoursite.com/blog/post
Use this command to test the route that is actually live, not a local preview.
What verify checks
For the provided URL, verification checks:
- Googlebot-style fetch status and content
- Presence of
x-rendershield: bot-hit - HTML contract fields (title, metadata, canonical, body, and JSON-LD)
- Human response sanity for the same route
On failure, verify exits with status 1 for CI pipelines.
Standard CLI flow
npx rendershield init
npx rendershield build
npx rendershield verify
rendershield verify --prod https://yoursite.com/prerender/verify
CI example
name: verify-prerender-prod
on:
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- run: npx rendershield build
- run: npx rendershield verify --prod https://yoursite.com/prerender/verify