Running an Arabic and English website: hreflang, RTL and the basics
Updated · by Aethyl Global
Serving Arabic-speaking customers in their language is a trust signal and can open search traffic English pages don't reach. A bilingual site needs a few technical details right, or search engines may show the wrong version or treat the pages as duplicates.
Give each language its own URL
Put each language on its own address, for example example.ae/en/ and example.ae/ar/, or example.ae/ and example.ae/ar/. Don't switch language on the same URL with a cookie or script only, because search engines then see just one version.
Set lang and dir
On the Arabic pages, the opening html tag should declare the language and right-to-left direction:
<html lang="ar" dir="rtl">Add hreflang tags to both versions
In the head of every page, list all language versions of that page, including the page itself. The tags must be reciprocal: if the English page points to the Arabic one, the Arabic page must point back.
<link rel="alternate" hreflang="en" href="https://www.example.ae/services" />
<link rel="alternate" hreflang="ar" href="https://www.example.ae/ar/services" />
<link rel="alternate" hreflang="x-default" href="https://www.example.ae/services" />Common mistakes
- Machine-translated Arabic nobody has reviewed. Have a native speaker read at least the main pages.
- Pointing every Arabic page's hreflang to the Arabic home page instead of its matching page.
- Mirrored layouts with icons, arrows or phone numbers flipped the wrong way. Check the RTL version on a phone.
- A canonical tag on the Arabic page that points to the English page. Each language version should be canonical to itself.
Check it
View the page source and search for hreflang. In Google Search Console, the URL Inspection tool shows which canonical Google chose for each page.