SEO Egypt
Glossary · SEO

What Is Hreflang?

Hreflang is an HTML attribute that tells search engines which language and regional version of a page to show each user.

Hreflang is an attribute used on links in the page head, in HTTP headers or in an XML sitemap. It tells search engines that several pages are versions of the same content for different languages or regions. For example, an English page and its Arabic version can point to each other, so Arabic speakers see the Arabic result.

Why hreflang matters

Without it, search engines may show the wrong language to users, or treat similar regional pages, such as English for Egypt and English for the UAE, as duplicates. Correct hreflang sends each visitor to the version made for them, which improves engagement and conversions.

Rules that are easy to get wrong

  • Every version must list all other versions and itself.
  • Links must be reciprocal: if page A points to page B, B must point back to A.
  • Use valid language codes, and region codes where needed, such as "ar" or "en-EG".
  • Add an "x-default" version for users who match no listed language.
  • Point only to indexable, canonical URLs that return a normal response.

Hreflang and right-to-left languages

Arabic pages need more than a tag. They need proper translation, right-to-left layout and keywords researched in Arabic, not translated word by word.

How we handle it

We set up and audit hreflang in technical SEO projects, and build full Arabic versions through our Arabic SEO service.

Need help with this on your website?

Get a custom quote