
AI SearchGuide
robots.txt AI crawlers: set training and search separately
Control robots.txt AI crawlers by purpose: the tokens for GPTBot, ClaudeBot, PerplexityBot and Google-Extended, what a block costs, and example rules.
Glossary
Last updated
Overview
Also called hreflang tag, rel="alternate" hreflang
Definition: hreflang is an annotation that tells search engines which language or regional versions of a page exist, so they can show each searcher the most appropriate version.
Google accepts hreflang in HTML link elements, in HTTP headers or in a sitemap, and says the three methods are equivalent. Values use an ISO 639-1 language code, optionally followed by an ISO 3166-1 Alpha 2 region code. Each language version must list itself as well as all the other versions, and alternate URLs must be fully qualified, including https. The special value x-default marks a fallback page for languages not matched by any other version.
Example: a retailer’s UK English, US English and German pages each carry links to all three versions, labelled en-gb, en-us and de, plus an x-default link to a country selector.
Without hreflang, Google may still find the other versions, but it can show the wrong one, such as US prices to UK shoppers. Missing return links are a common reason annotations are ignored, so audit them whenever you add a locale.
A canonical tag is a link element with rel="canonical" that names the preferred URL among duplicate or very similar pages, so search engines can consolidate them.
An XML sitemap is a file that lists the pages, videos and other files on a site, with details such as when they were last updated, to help search engines crawl the site more efficiently.
Our stories that use hreflang will appear here. Get the briefing to hear about them first. Meanwhile, the latest from AI SEO Wire:

AI SearchGuide
Control robots.txt AI crawlers by purpose: the tokens for GPTBot, ClaudeBot, PerplexityBot and Google-Extended, what a block costs, and example rules.

SEOGuide
How to set Bing AI grounding and AI training preferences, what replaces NoArchive and NoCache, and the 1 March 2027 deadline to act by.

ToolsGuide
Google's Search Analytics API now returns branded query data, web multimodal results and multi-country filters. Here is how to use them.
Google and AI search changes, explained the day they land.
Unsubscribe from any email. Privacy policy