International SEO
Hreflang Tag Generator
Generate correct hreflang tags for your multi-language website. Essential for Dubai and Global markets.
Shown when no language matches.
Language Versions
<head> Code
<!-- Hreflang Tags generated by KERVAN --> <link rel="alternate" hreflang="x-default" href="https://example.com" /> <link rel="alternate" hreflang="en" href="https://example.com/en" /> <link rel="alternate" hreflang="ar-ae" href="https://example.com/ar" />
Place these tags in the <head> section of all listed pages.
Hreflang Technical Guide
ISO 639-1
Language codes (e.g., 'en', 'ar'). Always comes first.
ISO 3166-1
Region codes (e.g., 'US', 'AE'). Optional, comes second.
x-default
The fallback page for users with no matching language.
The Golden Rule: Reciprocity
If Page A links to Page B as its Arabic version, Page B must link back to Page A as its English version. If this "return tag" is missing, Google will ignore your instructions.
Best Practices
- Self-Referencing: Every page should have a hreflang tag pointing to itself.
- Absolute URLs: Always use full URLs (https://...), never relative paths.
Common Mistakes
Wrong Region Codes
Never use 'UK' for United Kingdom. The correct code is 'GB'.
Homepage Only
Hreflang must be implemented page-by-page, not just on the homepage.