Meta robots found outside of <head>

This means that the URL in question has meta robots specified in the HTML, but outside of the <head>.

Why is this important?

Meta robots tags are supposed to only be contained in the <head>, but even if they are found in the <body> they will be respected by search engines, despite what you might expect.

Noindex in body

The example above from Google's Gary Illyes is probably the worst case scenario - when the robots value is for noindex, as you may not realise that the tag is being rendered.

What does the Hint check?

This Hint will trigger for any internal URL which contains a meta robots tag in the HTML, yet outside of the <head> area.

Examples that trigger this Hint:

Consider the URL:

The Hint would trigger for this URL if it had a meta robots tag that was anywhere outside of the <head>, for example:

<!doctype html>
<html lang="en">
<meta name="robots" content="noindex">

How do you resolve this issue?

If this Hint triggers, it indicates a configuration issue on the URL in question, which is likely due to an issue with a page template or script which is putting the robots tag in the wrong place. Check both 'View Source' and the rendered DOM (via Chrome DevTools 'Inspect') which will help determine how the rogue tag is being loaded in. You can also try crawling using Sitebulb with the HTML Crawler and the Chrome Crawler (to see if you get different results).

The robots tag will need to be removed from the <body> (and replaced in the <head>), so you may require developer assistance.

Further Reading

Ready to try Sitebulb?
Start your free 14 day trial now

Start Free Trial