ubricHelp

Can a page have two head tags?

Rubric check: page with more than one head or body (check id html_multiple_head_body)

No. A page should have exactly one <head> and one <body>. When there are two, browsers and crawlers merge them, and tags from the second head often end up in the body, where search engines ignore them.

Free, no card. Your report opens with this check first.

Why it matters for SEO

Your title, meta description, canonical and robots tag belong in the head. Google only reads some of them there. If the second head holds the canonical or the robots tag, Google may not see it.

This usually happens when a template or a page builder includes a full HTML document inside the page, such as a pasted email template or an embed.

Does this matter for ChatGPT and AI Overviews?

AI crawlers parse the HTML much as browsers do, so they lose the same tags. A lost canonical or description is a small problem on its own, but it adds to the guesswork about what the page is.

The fix is quick, and it removes a source of odd results in every tool that reads the page.

How Rubric scores it

StandardStandard checks are the baseline every other tier is measured against.

Why this tier: Parsers may drop the second head.

It is judged on every page Rubric scores.

Every Rubric score starts at 100. When this check fails, it takes up to 12 points off. Even one failing page costs at least 6 points (half of the most), and the rest comes off as the share of affected pages grows. A warning costs less than a failure.

This check doesn't cap your score. It only takes off its own points.

From the engine's scoring files, scoring 2026-v2.1 (engine d5c591d).

How common it is

Found on 11 of 299 sites where Rubric could judge it (3.7%). That is 9 of 286 judged sites in Rubric's 313-site test set and 2 of 13 sites audited on Rubric between 11 Nov 2026 and 17 Nov 2026 under the current check rules (scoring 2026-11k or later). Measured 17 Nov 2026 with scoring 2026-v2.1.

3.7% of the sites Rubric could judge have this problem. Check yours.

Free, no card. Your report opens with this check first.

How accurate the check is

Lab test: passed. On test pages built with this problem, it caught 2 of 2. On clean test pages, it stayed quiet 1 of 1 times. (Engine build bbcec7c.)

Holdout test 5 (sites the check had never seen): 0 of 2 findings judged wrong.

Lab as of 16 Nov 2026; judged findings as of 15 Nov 2026.

How to fix it

WordPress

  1. View the page source and search for <head and <body. Note where the second one starts.
  2. If it's inside the post content, open the post and switch the block to Edit as HTML. Remove the pasted <html>, <head> and <body> tags and keep only the content.
  3. If it's on every page, a theme file or plugin is printing a second header. Check your child theme's header.php or disable plugins one at a time.

Shopify

  1. View the page source and find the second <head> or <body>.
  2. If it's in a page or product description, open the editor's HTML view (the <> button) and remove the extra document tags.
  3. If it's on every page, check theme.liquid and any custom Liquid section in Online Store > Themes > Edit code for a duplicated layout.

Webflow

  1. The extra tags usually come from an Embed element or custom code that contains a whole HTML document.
  2. Open the embed and remove the <html>, <head> and <body> tags, keeping only the snippet you need.
  3. Check Site settings > Custom code and the page's Custom code in page settings too. Publish.

Custom code

Each page needs one of each:

html
<!doctype html>
<html lang="en">
<head>...</head>
<body>...</body>
</html>

Check partials and includes: a layout that wraps another full layout is the usual cause.

More html validity checks · The full AI SEO glossary

Free, no card. Your report opens with this check first.