Skip to Content
OpportunitiesTechnicalSite IssuesHreflangOutside <head>

Outside <head>

What This Means

Pages with an hreflang link element that is outside of the <head> element in the HTML. The hreflang link element should be within the <head> element, or search engines will ignore it.

What Triggers This Issue

This issue occurs when pages feature an hreflang link element located outside of the <head> element in the HTML. Example:

<!DOCTYPE html> <html> <head> ... </head> <link rel="alternate" hreflang="en-gb" href="https://www.getasky.com/technical-seo/" /> <link rel="alternate" hreflang="en-us" href="https://www.getasky.com/us/technical-seo/" /> <body> ... </body> </html>

How To Fix

Ensure hreflang link elements are in the <head> element of a page’s HTML to be used by search engines.


← Back to Hreflang

Last updated on