Hreflang Tags

Hreflang tags are HTML attributes that tell search engines which language and geographic region a page targets. They are essential for international SEO, especially when using [[cctld|ccTLDs]] or subdirectories for different markets.

Example

A site with example.com/en/ and example.com/fr/ uses hreflang='en' and hreflang='fr' to tell Google which version to show to each audience.

Referenced in Guides