All checks / Technical
JavaScript may not execute on non-200 HTTP status pages
A warning-level technical check, run on every pull request and every CLI run.
Warning
javascript-non-200-rendering
In SEOCode's checks since 9 May 2026
What it checks
Why this matters.
While pages with a 200 HTTP status code are sent to Googlebot's rendering pipeline, this may not be the case for pages with non-200 status codes (e.g., 404, 301, 500). If your page relies on JavaScript to render critical content or meta tags and returns a non-200 status code, that JavaScript may not be executed by Googlebot, meaning the rendered content will not be seen.
Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.
The fix
How to resolve it.
Ensure that pages returning non-200 HTTP status codes do not rely on JavaScript to render critical SEO signals (title, meta description, canonical, structured data, noindex). Place all critical signals in the static HTML response. Verify your server returns the correct HTTP status code for each page type.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Technical
Related checks.
Crawling, indexing, rendering and the directives that can take a page out of search.
Missing lang attribute on <html> Critical
The lang attribute on the <html> element tells search engines and screen readers what language the page is in.
Missing viewport meta tag Critical
Without a viewport meta tag, mobile browsers render the page at desktop width, causing poor mobile UX and hurting mobile rankings.
Missing charset declaration Warning
Without a charset declaration, browsers may misinterpret the page encoding, causing garbled text.
Missing canonical tag Warning
Without a canonical tag, search engines may index duplicate versions of your page (e.g., with/without trailing slash, with query params).
noindex directive detected Critical
A meta robots noindex tag was found.
Missing favicon Info
A favicon improves brand recognition in browser tabs and bookmarks.
From the blog
Where we wrote about this.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card