How to Build a Multilingual Website in Arabic and English
How to build a website in Arabic and English: URL structure, translation workflow, right-to-left design, fonts, hreflang tags and common mistakes to avoid.
Serving readers in both Arabic and English widens your audience across the region, but a bilingual site is more than two sets of text. Arabic reads right to left, uses different fonts and punctuation, and search engines need clear signals about which page is for which language. This guide covers the decisions that make a multilingual site work well.
- Give each language its own URL, usually a subfolder such as
/ar/. - Design for right-to-left from the start, with proper fonts and mirrored layouts.
- Connect translations with hreflang tags and let visitors switch languages easily.
Choose a URL structure
| Structure | Example | Pros and cons |
|---|---|---|
| Subfolder | example.com/ar/ |
Simple, shares one domain’s authority; most common choice |
| Subdomain | ar.example.com |
Easy to host separately; slightly more setup |
| Separate domains | example.com and example.sa |
Strong local signal; more domains to manage and promote |
| URL parameter | ?lang=ar |
Not recommended; harder for users and search engines |
Avoid switching language automatically based on IP address or browser settings without a visible choice. Search engine crawlers and travellers may never see the other version.
Translation workflow
- Decide what is translated: everything, or only key pages and selected articles. A partial translation is fine if navigation makes it clear.
- Use human review: machine translation can be a first draft, but Arabic readers notice unnatural phrasing quickly. Have a fluent editor review important pages.
- Localise, do not just translate: currencies, phone formats, examples, dates and calls to action should suit each audience.
- Keep brand and product names consistent, deciding which stay in Latin script.
Right-to-left design
- Set
lang="ar"anddir="rtl"on the Arabic pages’<html>element. - Use CSS logical properties (
margin-inline-startinstead ofmargin-left) so layouts mirror automatically. - Mirror directional icons such as arrows and “next” buttons, but not logos, play icons or media controls.
- Check mixed text, such as English product names or numbers within Arabic sentences, for correct order.
- Test forms, tables, sliders and menus in RTL; they are the most common places for broken layouts.
Arabic typography
- Choose a web font designed for Arabic screen reading, with matching Latin glyphs or a compatible pairing.
- Arabic text often needs a slightly larger font size and line height than Latin text for comfortable reading.
- Do not apply letter spacing to Arabic; it breaks the connected letters.
- Load only the font weights you use to keep pages fast.
Tell search engines about your languages
- Add hreflang annotations linking each page to its translation, for example
hreflang="en"andhreflang="ar", plus anx-defaultfor the fallback version. - Each language version should have a self-referencing canonical URL, not point to the other language.
- Translate titles, meta descriptions and image alt text, not only the body.
- Include both language versions in your sitemaps.
Tools for WordPress
Multilingual plugins handle language URLs, translation links, hreflang tags and language switchers. Choose one that supports RTL, works with your theme and SEO plugin, and stores translations in a way you can export later. Test the switcher on mobile.
Common mistakes
- Arabic pages that load the English layout with text aligned to the left.
- Language switchers that always send users to the home page instead of the translated page.
- Mixing both languages on one URL, which confuses search engines.
- Forgetting translated emails, PDFs, error messages and checkout pages.
Frequently asked questions
Is it duplicate content to have the same page in two languages?
No. Translations are different content for different audiences. Hreflang helps search engines show the right one.
Should the Arabic and English URLs use the same slug?
Either works. Matching Latin slugs are easier to manage; Arabic slugs can read naturally but appear encoded when copied.
Which language should be the default?
The language of your largest audience. Use x-default to tell search engines which version to show users whose language you do not serve.



