A page that does not exist answers 200 instead of 404
The audit requested a made-up address on your site (/aisw-not-a-page- followed by random characters) and got a normal HTML page with status 200 instead of a 404. Make the server or application answer addresses that do not exist with a 404 status; it can still show your own error page.
What it means
We asked for a made-up address and the site answered with a normal page. Search engines then index error pages as real ones (a soft 404). Answer missing addresses with a 404 status.
Why it matters for AI search
When a missing page answers 200, search engines cannot tell it from a real one. Error pages can be crawled and indexed, every broken or mistyped link looks like a working page, and Google lists such pages as soft 404s in Search Console. Crawlers also keep spending requests on addresses that should have been dropped.
Only the status code matters here: a friendly error page is fine as long as it is sent with 404 (or 410). A redirect of the made-up address, for example to the home page, is not reported by this check, but search engines usually treat such redirects as soft 404s too.
How to fix it
- Open a made-up address on your site and check its status in the browser's network panel or with
curl -I. - Find what answers it. Common causes are a catch-all route in the application, a server rule that sends every path to
index.html, or a CMS plugin that shows the home page for missing pages. - Make the not-found path set the status: in nginx,
try_filesending in=404plus anerror_page; in Apache,ErrorDocument 404with a local path (a full URL turns it into a redirect); in Next.js,notFound(); in Express,res.status(404). - For a single-page app, let the server answer only the app's known routes with
index.htmland send everything else to a 404 page. Anoindextag on the app's not-found view helps search engines but does not change the status, so the check still reports it. - Run the site audit again from your account to confirm the result.
Example
# nginx
location / {
try_files $uri $uri/ =404;
}
error_page 404 /404.html;
# Apache (.htaccess)
ErrorDocument 404 /404.html How to confirm the fix
After the change, press "Check again" on the report: it lists what was fixed and how the score changed.