Issues

Validation: Multiple <head> Tags

back to issues overview

Multiple <head> Tags

Pages with multiple <head> elements in the HTML.

There should only be one <head> element in the HTML which contains all critical metadata for the document.

Browsers and Googlebot will combine metadata from subsequent <head> elements if they are both before the <body>, however this should not be relied upon and is open to potential mix ups.

Any <head> tags after the <body> starts will be ignored.

How to Analyse in the SEO Spider

View URLs with this issue in the ‘Validation’ tab and ‘Multiple <head> Tags’ filter, and export all URLs using the ‘Export’ button.

What Triggers This Issue

This issue is triggered when pages have multiple <head> elements within the HTML.

Example:

<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
...
</body>
<head>
...
</head>
</html>

How To Fix

Ensure all pages have a single valid <head> element with appropriate metadata for the document that is the first element in the <html> element.

Further Reading

Back to top