Skip to content

All checks / Technical

Robots meta tag outside <head>

Google has documented that robots meta tags found outside the HTML <head> element are processed differently.

Warning robots-meta-outside-head

In SEOCode's checks since 9 May 2026


Why this matters.

Google has documented that robots meta tags found outside the HTML <head> element are processed differently. While Google does process them, the behavior was previously undocumented and may not be consistent. Always place robots meta tags inside <head> to ensure reliable crawling and indexing behavior.

Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.


How to resolve it.

Move <meta name="robots" content="noindex" /> inside the <head> element. Do not place robots meta tags in <body> or elsewhere in the document.

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.


Where this comes from.

01

Robots Meta Tag

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



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