GuidesGenerator
Hreflang tag generator
The generator
- Tags to paste into the <head> of every version
- —
Leave a field empty if the page does not exist in that language.
Three rules to follow
- Reciprocal. If the French page references the English one, the English one must reference the French one.
- Complete. Every version carries the whole set, itself included.
- Exact. The URL is absolute, with
https://, and answers without a redirect.
Check
Open the source of each version and search for hreflang. The tags must be identical everywhere.
The full method is in Multilingual SEO.
Frequently asked questions
- Where do hreflang tags go?
- In the <head> of every version of the page. The same tags go on all versions, including the one that references itself.
- What is x-default for?
- It names the version to show when no language matches the visitor. The tool uses the first URL entered.
- Do I need one set per page?
- Yes. The tags link equivalent pages, not sites. Each translated page has its own set of tags.