Neova고급 SEO 플랫폼

meta robots 태그가 head 밖에 있음

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 10월 17일

Google은 head 밖의 meta robots 태그도 따르지만, 그 위치는 무언가가 head를 깨뜨렸다는 신호인 경우가 많습니다. 태그에 의도하지 않은 noindex나 nofollow가 있을 때 가장 중요합니다.

해 볼 수 있는 조치

태그를 head 안으로 옮기고, head를 일찍 끝낸 요소를 찾으세요. 의도하지 않은 noindex나 nofollow는 제거하세요.

Neova가 플래그를 지정하는 이유

  • Google은 head 밖의 meta robots 태그도 따르므로, 그곳에 의도치 않은 noindex가 있으면 URL이 검색 결과에서 빠질 수 있습니다.
  • robots 태그가 body에 들어갔다면 대개 어떤 요소가 head를 일찍 끝낸 것이며, 타이틀이나 캐노니컬도 함께 밀려날 수 있습니다.
  • Google의 메타데이터 가이드는 유효한 head에서 메타데이터를 읽는다고 하므로, 모든 robots 태그는 head 안에 두는 것이 안전합니다.

출처

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

AI Summary

The robots meta tag must live inside the HTML <head>. When a crawler finds it in the <body>, it usually treats it as page content rather than a directive, so a noindex or nofollow placed there can be silently ignored. The fix is to move the tag back into the head and re-crawl to confirm.

  • A robots meta tag in the body may be ignored, so an intended noindex can fail and the page stays indexed.
  • The most common cause is a malformed or unclosed tag in the head that pushes later meta tags into the body.
  • Page builders and scripts that inject tags after load can also drop a robots meta into the body.
  • Detect with View Source or Screaming Frog, move the tag into the head, then re-crawl to verify.
Code diagram showing a robots meta tag inside the HTML head marked honored and an identical tag inside the body marked ignored, with a three step fix to move it into the head.
A robots meta tag is honored inside the head and ignored inside the body. The fix is to move the stray tag back into the head and re-crawl.

Quick Reference

Element Code: HT-006

Issue: Meta robots tag is placed outside the head section

Impact: Meta robots directive may be ignored by search engines

Fix: Move meta robots tag into the head section

Detection: Screaming Frog, HTML validation, View Source

What Is This Issue?

Meta tags must be placed in the head section of HTML documents. A meta robots tag in the body may be ignored by search engines, causing your indexing directives to fail.

The robots meta tag tells crawlers what to do after they fetch a page: whether to index it, follow its links, show a snippet, and so on. The HTML specification defines the tag as document metadata, which belongs in <head>. When a parser encounters it inside <body>, it is out of place. Google’s own documentation now says (note added March 24, 2026) that Google respects a robots meta tag in the body as well, but other parsers often drop a body-level directive, so with those engines a page you meant to keep out of the index can quietly stay in it.

Why This Matters for Your Website

Robots directives control whether pages are indexed. If they are ignored due to incorrect placement, you may have pages indexed that should not be, or vice versa.

The failure mode is dangerous precisely because it is invisible. The tag is present, it looks correct, and a quick glance at the source suggests everything is fine. Only when you check where the tag actually sits, or notice a supposedly noindexed URL appearing in Search Console, does the problem surface. A staging page, a thank-you page, or a thin filter URL that should have been suppressed can leak into search results and dilute your site quality signals.

Common Causes of a Body-Level Robots Tag

Understanding how the tag ends up in the body makes it far quicker to fix. The usual culprits:

  • An unclosed or malformed tag in the head. A stray </head>, an unterminated attribute, or an unescaped character can make the browser close the head early, so every meta tag after it lands in the body.
  • Page builders and plugins that inject their own tags into the content area rather than the document head.
  • JavaScript that adds the tag after load, appending it to the body or a container element instead of the head.
  • Content pasted into a WYSIWYG editor, where a copied meta tag becomes part of the post body.

How to Fix This Issue

  1. Locate the meta robots tag: Find it in your HTML source
  2. Move to head: Ensure it is between <head> and </head>
  3. Verify: Re-crawl and check placement

A correct implementation looks like this, with the directive sitting cleanly inside the head:

<head>
<meta charset="utf-8">
<meta name="robots" content="noindex, follow">
</head>

If the tag is being written by a plugin or theme, fix it at the source rather than patching the output: correct the SEO plugin setting, or update the template so the tag is printed inside wp_head() on WordPress. When a broken tag earlier in the head is closing it prematurely, repairing that tag is what actually moves the robots meta back into place.

Tools for Detection

  • Screaming Frog: Shows meta robots location issues
  • HTML Validator: Flags misplaced meta tags

In Screaming Frog, crawl the site and check the Directives tab, then use View Source or the browser Inspector on a suspect URL to confirm whether the tag renders inside the head or the body. The W3C validator will also flag metadata that appears outside the head, which often points straight at the malformed tag responsible.

Placement, Behavior, and Fix at a Glance

Where the Tag Sits How Crawlers Treat It Result Action
Inside the head Read as a directive noindex or nofollow honored Correct, no change needed
Inside the body Treated as content Directive may be ignored Move into the head
Injected by JS after load May be missed on render Unreliable Output server side in the head
After a broken head tag Head closed early Tag spills into body Fix the malformed tag first

TL;DR (The Simple Version)

Your meta robots tag is in the wrong place. It needs to be inside the head section, not in the body. Move it and re-check.

Frequently Asked Questions

Does a meta robots tag in the body still work?

In Google, yes: its robots meta tag documentation (note added March 24, 2026) says Google respects robots meta tags in the body too. Other parsers tend to treat a body-level tag as content rather than a directive, so a noindex placed there can be silently ignored elsewhere; keep it in the head.

Why did my noindex tag end up in the body?

The most common reason is a malformed or unclosed tag earlier in the head, which makes the browser close the head early so later meta tags fall into the body. Plugins, page builders, and JavaScript that inject tags after load can also cause it.

How do I check where my robots tag is?

Open View Source or the browser Inspector on the page and look for the meta robots tag. Confirm it appears between the opening and closing head tags. Screaming Frog also reports directive placement across a whole crawl.

Will Google index a page whose noindex is in the body?

It should not: Google says it respects a robots meta tag in the body (note added March 24, 2026). Other engines may ignore it, so still move it into the head, then verify in Search Console that the URL is actually excluded.

What is the correct place for the robots meta tag?

Inside the document head, alongside the other meta tags, for example between the opening head tag and the closing head tag. On WordPress it should be printed by the SEO plugin inside wp_head().

How do I confirm the fix worked?

Re-crawl the URL and check that the robots tag now renders inside the head, then use the URL Inspection tool in Search Console to confirm the directive is being read as intended.

Related reading on Neova:

  • Full meta robots and X-Robots-Tag reference
  • More HTML structure SEO checks
  • Browse all indexing and crawl guides

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

색인 가능성 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기