Skip to content
QuickshipTechnologies

Auto BlogUAE & KSA7 min read

Hreflang Arabic: Setup for Arabic and English GCC Sites

Hreflang arabic setup for UAE and Saudi sites: correct ar-AE, ar-SA and en-AE codes, x-default, return links, and a checklist to test your pages.

By · Published

Looking for the software itself? See our auto blogging for SEO.

Hreflang Arabic tags tell Google that your Arabic page and your English page are the same content in two languages. Google can then show the Arabic version to an Arabic searcher in Dubai or Riyadh, and the English version to an English searcher. You add the tags in the page head, in HTTP headers, or in your sitemap, and every page in the set must list all its versions, itself included.

What does hreflang do for a bilingual UAE or Saudi site?

Hreflang is an annotation that links the language versions of one page. Google's localized versions guide says to use it so Google understands your pages are localized versions of the same content.

It does three useful things for a GCC business:

  • It helps the right language show in search results for each searcher.
  • It stops Google treating your Arabic and English pages as duplicates. Google says localized versions count as duplicates only if the main content stays untranslated. A full Arabic translation is not a duplicate.
  • It keeps your service pages, like customs clearance or last mile delivery, from competing against their own translation.

It does not boost rankings. The Google Search Central community guide says hreflang is not a ranking signal for geotargeting. It picks the version. It does not make the page rank higher.

Also note that Google may index only some variations. Hreflang can still serve the right version to users in different countries.

Which hreflang codes should you use for Arabic, the UAE and Saudi Arabia?

Use a language code, with an optional region code after it. Google's docs say the language must be ISO 639-1 and the region ISO 3166-1 Alpha 2. A region on its own is not valid, so ae and sa alone are wrong.

You want to target Use Notes
Arabic readers anywhere ar Good default if one Arabic page serves the GCC
Arabic readers in the UAE ar-AE Use only if the page is written for the UAE
Arabic readers in Saudi Arabia ar-SA Use only if the page is written for Saudi readers
English readers anywhere en Good default for one English page
English readers in the UAE en-AE Valid. Useful if prices or terms are UAE specific
Everyone else x-default The fallback page

Many UAE agencies also list ar-KW, ar-BH, ar-OM and ar-QA for other Gulf markets. Those follow the same pattern.

Common wrong codes seen on live sites: ar-UAE, en-UK, ua, and AE alone. The UK code is en-GB. Google ignores invalid values, so a typo means no hreflang at all for that page.

The language part is the language the page is written in. An Arabic page is ar, even if it targets English-speaking Saudi readers' neighbours. Do not mark an English page as ar-SA because your audience is in Riyadh.

How do you set up hreflang Arabic tags step by step?

Say a Dubai customs broker runs www.example.ae, with English pages under /en/ and Arabic pages under /ar/. Here is the order of work.

  1. List your page pairs. Make a sheet with the English URL in one column and the Arabic URL in the next. Only pages that exist in both languages go on it.
  2. Pick your method. Google supports HTML link tags, HTTP headers and sitemap entries. For a small site, link tags in the head are the easiest to check. For hundreds of pages, a sitemap is easier to maintain.
  3. Write the tags on every page in the pair. The English page and the Arabic page both carry the same full set.
  4. Use absolute URLs. Write https://www.example.ae/ar/customs-clearance/, not /ar/customs-clearance/. Commonly advised checks also say each URL should return a 200 status and not redirect.
  5. Add x-default. More on this in the next section.
  6. Set a self-referencing canonical on each page. The Arabic page's canonical should point to the Arabic page.
  7. Test a sample. Open five page pairs and check the tags by viewing the page source.

Here is what the head of the English page and the Arabic page would both contain:

<link rel="alternate" hreflang="en-AE" href="https://www.example.ae/en/customs-clearance/" />
<link rel="alternate" hreflang="ar-AE" href="https://www.example.ae/ar/customs-clearance/" />
<link rel="alternate" hreflang="x-default" href="https://www.example.ae/en/customs-clearance/" />

Each page lists itself and the other version. That is a Google requirement, not a style choice.

If you use a sitemap, each url element needs a child element for every alternate version, including itself. Google's docs describe this format.

Arabic slugs are allowed. Google's multi-regional sites guide says localized words in the URL, or an internationalized domain name, are fine.

On domains: a .ae domain is open at first level, according to TDRA. A country domain is one option. Subfolders like /ar/ on one domain are another. Both work with hreflang. Pick the one you can maintain.

What is x-default and do you need it?

x-default is the fallback URL for searchers whose language or region you do not support. Google's x-default article says it is the language and region neutral URL.

It can be:

  • a language and country selector page
  • a redirect page for regions with no content
  • simply your default version

For most UAE and Saudi businesses, the English page or a language selector is the right choice. Choose one and use it on every page set.

Google also says it is fine to have hreflang on just parts of the site. You do not need to finish the whole site before you start.

What are the most common hreflang Arabic mistakes?

Missing return links are the biggest one. Google says that if page X links to page Y, page Y must link back, or the annotations may be ignored or misread.

Mistake Why it hurts Fix
English page lists Arabic, Arabic page does not list English No return link, so tags may be ignored Add the full set to both pages
ar-UAE or en-UK Invalid code, so it is ignored Use ar-AE and en-GB
ae or sa alone A region alone is not valid Add the language: ar-AE, ar-SA
Relative URLs like /ar/contact Commonly advised to use absolute URLs Write the full https:// address
Arabic canonical points to English Tells Google the Arabic page is a duplicate, so it may drop out Self-referencing canonical on each page
Alternates pointing to a page that redirects or errors The tag points nowhere useful Link to the final 200 URL
Alternates on a page with no translation Points to a page that does not exist Remove the tag until the Arabic page is live
Only the menu is in Arabic The main content is untranslated, so it can count as a duplicate Translate the full page

The canonical rule is worth a second look. Google's multi-regional guide says to use rel="canonical" and hreflang together so the correct URL is served. They must agree. If they conflict, Google has to guess.

Should you redirect visitors by language or location?

No. Use a visible language switcher instead. Google's community guide says that even with hreflang, you should give users a manual switcher between versions.

Automatic redirects based on a visitor's IP address are commonly advised against. Googlebot's default IPs appear to be US-based, so it may never see your Arabic pages. A Riyadh visitor on an English phone may also want English.

Two switcher rules:

  • Link to the equivalent page, not the home page. A reader on the Arabic customs page who clicks "English" should land on the English customs page.
  • Keep the switcher in the same place on every page.

How do you check your hreflang before and after launch?

Run through this list once per page template, then again after any site change.

  • Every page in a pair lists itself and every other version.
  • Every code is valid: ar, ar-AE, ar-SA, en, en-AE, en-GB.
  • Every URL is absolute and returns 200.
  • Each page has a self-referencing canonical.
  • x-default is the same on every page set.
  • The Arabic page is fully translated, not just the navigation.
  • The switcher links to the matching page.
  • Pages with no translation carry no alternates.

New pages are where this breaks. A team publishes a new English article, forgets the Arabic one, and the tag points to a 404. If you publish regularly in both languages, put the hreflang check in your publishing steps. Quickship's Auto Blog is an SEO blog service from AED 99 a month. Whichever tool or team you use, confirm that each post gets its Arabic and English pair and the matching tags before it goes live.

If your site itself is still being built, a business website can start with both languages from day one. That is much easier than adding Arabic pages later and fixing the tags page by page.

Frequently asked questions

Do I need hreflang if my Arabic and English pages are on different domains?

Yes. Google's guidance is to use hreflang whenever the same content lives on different URLs for different languages, and that includes separate domains. The same rules apply: every page lists itself and all its alternates, and each alternate links back.

Should my Arabic page use ar, ar-AE or ar-SA?

Use ar if one Arabic page serves the whole GCC. Use ar-AE and ar-SA only if you have separate Arabic pages written for UAE and Saudi readers, for example with different prices, delivery terms or wording. A region code on its own, like ae or sa, is not valid.

Can I add hreflang to only some pages?

Yes. Google's x-default article says it is fine to have hreflang annotations on just parts of the site. Start with the pages that matter most, like service pages, then add the rest. Pages that exist in one language only should not carry alternates.

Does hreflang help me rank higher in Dubai or Riyadh?

No. The Google Search Central community guide says hreflang is not a ranking signal for geotargeting. It helps Google show the right language version to the right searcher. Your ranking still depends on the quality and relevance of each page.

Can I use Arabic words in my URLs?

Yes. Google says localized words in the URL, or an internationalized domain name, are fine. Many teams still keep English slugs for Arabic pages because they are easier to share in WhatsApp and to read in reports. Pick one pattern and keep it the same across the site.

Sources

  1. Google Search Central: Localized Versions of your Pages
  2. Google Search Central: Managing Multi-Regional and Multilingual Sites
  3. Google Search Central Blog: How x-default can help you
  4. Google Search Central Community: General guide to managing an international website
  5. TDRA: About the National Domain Name (.ae)

Rules and fees in the UAE and Saudi Arabia change. This guide reflects the sources above on 26 November 2026. Check the official source before acting on it.

Auto Blog for SEO

A plugin that keeps your blog publishing SEO articles on schedule. AED 99 a month.

From AED 99 a month

Related guides

Instant quote