Let’s talk

8 min read

Arabic and English websites done right: RTL, SEO and hreflang

The short answer

A bilingual Arabic and English website is two websites that share a design system, not one site with a language toggle. Each language needs its own URLs, connected with hreflang, a layout that truly runs right to left, an Arabic typeface chosen for screens, and copy written for Arabic readers rather than machine-translated. Get those right and both versions can rank; get them wrong and Google may index only one.

Two sites that share a design, not one site with a toggle

Most bilingual sites in Lebanon and the Gulf are built English first, then “made Arabic” at the end with a plugin or a translation widget. You can usually tell within a second: the menu is flipped but the arrows still point the wrong way, the Arabic font is whatever the browser falls back to, and half the page is still in English.

Readers notice, and so does Google. An Arabic visitor reads a half-translated page as a business that doesn’t take them seriously. A search engine that can’t find a separate, complete Arabic page simply ranks the English one, or nothing, for Arabic searches.

The fix is a mindset before it is a technique. Treat Arabic as a second market with its own pages, its own words and its own search behaviour, built on the same components as the English site.

Decide what Arabic is for

Before any design work, decide which language leads. It changes the structure of the whole project.

  • Lebanon: many businesses lead in English, keep Arabic for a large share of customers and for search, and add French where their clients expect it.
  • Saudi Arabia: Arabic usually leads, with English as the second language. We wrote about that in web design for Saudi Arabia.
  • The UAE: both languages matter, often with English leading for business-to-business and Arabic for government-facing work. More in web design for Dubai.
  • Diaspora audiences: English or French may lead, but Arabic pages still win searches that English pages never will.

One URL per language

Search engines index URLs, not languages. If Arabic and English share one address and the language switches with a cookie or a script, Google will usually see and index only one version. Each language needs its own crawlable URL.

The simplest structure is a subfolder per language: the English page at /services/web-development-lebanon and its Arabic twin at /ar/services/web-development-lebanon. It keeps one domain, one authority and one set of analytics, and it is what we use on this site: our Arabic home page sits at /ar, paired page by page with the English one. Separate domains per language work too, but they split your authority and double the admin.

Whatever you choose, the language switch should take the visitor to the same page in the other language, not back to the home page.

Hreflang: how Google pairs the two versions

Hreflang is a small set of tags that tells search engines which pages are translations of each other and which language each one is for. Without it, Google has to guess, and it sometimes shows the English page to Arabic searchers or treats the two versions as competing duplicates.

The rules are short, and most broken setups miss one of them:

  • Every page lists all its language versions, including itself.
  • The tags are reciprocal: if the English page points to the Arabic one, the Arabic page must point back.
  • One version is marked x-default, the page to show when no language matches. It is usually the English page.
  • Each version has a canonical tag pointing at itself, never at the other language.
  • Only indexable pages carry hreflang. Pointing it at a page marked noindex sends mixed signals.
  • The sitemap lists both versions with the same pairs, so search engines find them even if a link is missing.

Right to left, properly

Right-to-left is not a mirror image of the English page. Some things flip, some must not, and the difference is where most bilingual sites go wrong.

Start in the HTML: the Arabic pages declare lang="ar" and dir="rtl" on the page itself, from the first byte, not added by a script after load. Then the styles use logical directions, start and end instead of left and right, so one stylesheet works in both directions without a pile of overrides.

  • Flip: navigation order, text alignment, arrows that mean next or back, progress bars, sliders and breadcrumbs.
  • Don’t flip: logos, photos, video and audio controls, charts with a time axis, check marks and anything with text inside it.
  • Phone numbers, emails, prices and codes stay left to right inside Arabic sentences.
  • Forms: phone and email fields stay left to right, and the site should accept both Western and Arabic-Indic digits.
  • Mixed text: English brand names inside Arabic sentences need their direction isolated, or punctuation lands in the wrong place.

Arabic typography is its own design job

A Latin typeface with “Arabic support” often has Arabic letters that were an afterthought. Choose an Arabic typeface designed for screens and pair it with the English one by weight and colour on the page, not by name.

Arabic usually needs a slightly larger size and more line height than English to read comfortably, because of the letter shapes and the marks above and below them. Letter-spacing and all-capitals styles don’t exist in Arabic, so any English style that relies on them needs an Arabic equivalent.

Arabic fonts are also heavy files. Load only the weights you use, subset the font to the characters the site needs, and preload only what appears first on screen, or the Arabic pages will load noticeably slower than the English ones. We subset the Arabic fonts on this site for exactly that reason.

Write the Arabic, don’t just translate it

Machine translation is a useful first draft for the translator, not for the website. Arabic copy should be written or edited by a native writer who knows the business, in the register your customers expect. For most business sites that is clear Modern Standard Arabic, with a lighter tone where the brand allows it.

Do keyword research in Arabic separately. People don’t search the literal translation of your English keywords. They use their own phrases, often more than one spelling, and sometimes Arabizi or English words written in Arabic letters. Titles, meta descriptions, image alt text and headings all need Arabic versions written for those searches.

Structured data should match the page it sits on. If the Arabic page describes your services in Arabic, its schema should too.

A checklist before launch

Run through this on real phones, in both languages, before the domain goes live:

  • Every Arabic page has its own URL, its own title and its own meta description.
  • Hreflang pairs are reciprocal, self-referencing, and have an x-default.
  • The language switch keeps the visitor on the same page.
  • lang and dir are set in the HTML of each page.
  • Directional icons flip; logos, media controls and numbers don’t.
  • Forms work with Arabic input, Arabic-Indic digits and right-to-left error messages.
  • Emails, WhatsApp messages and PDFs the site sends are in the visitor’s language.
  • The Arabic pages are as fast as the English ones.
  • A native reader has read every Arabic page on a phone.

The mistakes we see most

Most of the bilingual sites we are asked to rebuild share the same handful of problems: Arabic added through a translation widget that search engines can’t index, one URL for both languages, a flipped layout with arrows pointing the wrong way, English left in buttons, form errors and emails, and an Arabic font that falls back to the system default on half the phones in the country.

None of these are hard to avoid when Arabic is planned from the first sketch. They are expensive to fix when it is bolted on at the end, which is the same lesson as engineered versus assembled websites.

We build English and Arabic sites, with French when needed, as part of our web development service. Recent examples in English and Arabic include EduON, NAFS Care and KeyDar.

Questions

Should Arabic pages use Arabic words in the URL?

Either works for Google. Arabic URLs can read better in Arabic search results, but they turn into long encoded strings when copied and shared. Many bilingual sites keep the same English slug under /ar, which also keeps the language pairs easy to manage.

Do I need a separate domain for the Arabic site?

No. A subfolder such as /ar on the same domain is the simplest option and keeps all your authority in one place. Separate domains work but need more maintenance.

Will Google treat the Arabic and English pages as duplicate content?

No, as long as they are real translations on separate URLs connected with hreflang. Translated content in another language is not considered duplicate.

Can a translation plugin make my site bilingual?

It can produce a first draft, but plugins rarely handle right-to-left layout, Arabic typography or separate indexable pages well. Use one as a starting point for a translator, not as the finished Arabic site.

Web design & development

Need help with websites?

Ask on WhatsApp and you’ll talk to Jad, the person who would build it.

Keep reading

Keep scrolling to learn moreOur workNext page →