Hreflang
A tag linking language or regional versions of a page, so Google shows each searcher the right one.
In Arabic وسم Hreflang
What is Hreflang?
Hreflang is a line in a page's code telling Google that the page has versions in other languages or for other countries, and giving each version's URL. If a service page has Arabic and English versions, Google knows to show the Arabic one to Arabic searchers and the English one to others. It can be added in the page or in the sitemap.
The tag works under two conditions people often miss. First, it must be reciprocal: the Arabic page points to the English one, the English points back, and each points to itself. Second, language codes must be correct: ar for Arabic and ar-SA for Arabic in Saudi Arabia. An x-default value covers the version shown to anyone no language matches.
Why does Hreflang matter in marketing?
On a bilingual site, showing a searcher the wrong version means a page they cannot read, a quick exit and a lost order.
- 01
Showing searchers the right language
Arabic searchers land directly on the Arabic page, instead of hunting for a language switch or leaving.
- 02
Stopping versions from competing
Without the tag, Google may see the two versions as separate pages on one topic and show one in place of the other.
- 03
Expanding to Gulf markets
If you have versions for several countries with different prices or shipping, the tag sends each searcher to their country's version.
Worked example
- 1Situation
A training center in Jeddah has an Arabic site under /ar/ and an English version at the root, and the English pages sometimes show for Arabic searches.
- 2Data
The site has 40 pages in each language, and each page needs one tag for itself and one for its counterpart.
- 3Calculation
Pages = 40 × 2 = 80pages, and tags = 80 × 2 = 160tags.
- 4Decision
The center adds the tags through its SEO plugin or the code, then checks a sample of pages to confirm each version points to its counterpart.
Common mistakes
One-way tags
If the Arabic page points to the English one but not the reverse, Google ignores the pairing. Make sure the tag exists on both versions.
Wrong language codes
Writing sa instead of ar-SA is a common error, since sa is a different language code entirely. The language code comes first, then an optional country code.
Pointing to redirected URLs
A tag pointing to a redirecting URL, or to a page canonicalized elsewhere, confuses Google. Point to each version's final indexed URL.
Frequently asked questions
Do I need hreflang if my site is only Arabic and English?
Yes, if each page has a matching version in the other language. The tag helps Google pair them and show the right one to each searcher. WordPress translation plugins like WPML and Polylang usually add it automatically, but check the output.
What is the difference between hreflang and canonical?
Canonical picks the preferred version among duplicates in the same language, so only one is indexed. Hreflang links pages in different languages so all are indexed and each is shown to its audience. Each language version should have a canonical pointing to itself, not the other version.
Takteek services that help here
On bilingual sites we check hreflang tags, their codes and reciprocity, and review in Search Console which version shows for each language.
Talk to Takteek
Want to put this to work for your business?
Tell us about your business in four steps and we will come back with a clear plan that starts from your current numbers. The consultation is free.
- A plan built on your numbers
- One team for ads, content and store
- Free consultation, no commitment


