Technical SEO forms the foundation upon which every Arabic content strategy depends. A beautifully written Arabic article cannot rank if crawlers struggle to parse RTL layouts, hreflang tags point to wrong locales, or page speed fails on mobile networks common across MENA. This guide covers the technical requirements specific to right-to-left Arabic websites.
HTML Language and Direction Attributes
Every Arabic page must declare language and text direction at the document level:
<html lang="ar" dir="rtl">
The lang="ar" attribute tells search engines and assistive technologies the primary language. The dir="rtl" attribute sets reading direction, affecting layout, scrollbar behavior, and bidirectional text rendering.
For mixed-language content—English product names within Arabic paragraphs—wrap LTR segments in elements with dir="ltr". Failure to isolate LTR strings causes punctuation and numbers to render incorrectly, harming readability and user signals.
Subpages in English should use lang="en" dir="ltr" rather than relying on CSS alone. Language declaration at the HTML level is a ranking and accessibility signal Google explicitly evaluates.
URL Structure and Slug Strategy
Arabic URL slugs divide SEO opinion. Three approaches dominate:
- Transliterated Latin slugs:
/ar/afdal-mutamayyizat-tamween/— widely supported, easy to share, avoids encoding issues. - Percent-encoded Arabic slugs:
/ar/%D8%A3%D9%81%D8%B6%D9%84-%D9%85%D8%AA%D9%85%D9%8A%D8%B2%D8%A7%D8%AA/— readable in browser bars when properly encoded, but fragile in some analytics exports. - English slugs with Arabic content:
/ar/best-insurance/— simplifies CMS management but disconnects URL from query language.
Choose one strategy and apply consistently. Mixed approaches confuse crawlers and complicate internal linking audits. If using Arabic characters in URLs, verify your CMS, CDN, and server handle UTF-8 throughout the request chain.
Avoid session IDs, excessive parameters, and uppercase characters in Arabic URLs. Keep slugs short; Arabic words are often longer in character count than English equivalents.
Hreflang Implementation for Arabic Markets
Hreflang tells Google which language and regional version to serve. Arabic sites frequently need granular targeting:
<link rel="alternate" hreflang="ar-SA" href="https://example.com/sa/page/" />
<link rel="alternate" hreflang="ar-EG" href="https://example.com/eg/page/" />
<link rel="alternate" hreflang="ar" href="https://example.com/ar/page/" />
<link rel="alternate" hreflang="en" href="https://example.com/en/page/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/en/page/" />
Common hreflang errors on Arabic sites include:
- Missing return tags (each page must reference all alternates, including itself)
- Using
arwhen content is specifically Saudi or Egyptian with localized terminology - Pointing hreflang to redirected or 404 URLs
- Implementing hreflang only in sitemaps without HTML link elements (use both for redundancy)
For country-specific Arabic variants with meaningful content differences—not just currency swaps—use region codes (ar-AE, ar-MA). For identical Arabic content served globally, ar suffices.
Crawlability and Indexation
Arabic content behind JavaScript rendering may not index if critical text loads client-side. Test with Google Search Console URL Inspection and rendered HTML view. Ensure navigation links, pagination, and category filters use crawlable <a href> elements with Arabic anchor text where appropriate.
Robots.txt and meta robots tags must not accidentally block Arabic sections. Multi-language sites sometimes deploy /ar/ disallow rules during staging and forget to remove them at launch—a frequent cause of indexation failure.
XML sitemaps should include all Arabic URLs with <xhtml:link> hreflang annotations when using sitemap-based hreflang. Submit separate sitemaps per language section if your CMS supports it, simplifying debugging.
Canonical tags on Arabic pages must self-reference unless the page is a deliberate duplicate. Never canonicalize an Arabic URL to its English equivalent; Google treats these as separate language versions, not duplicates.
RTL CSS and Layout Performance
RTL is not simply direction: rtl on a LTR template. Logical CSS properties (margin-inline-start, padding-inline-end, border-inline-start) adapt automatically to text direction and reduce maintenance burden.
Common RTL layout bugs that hurt UX and Core Web Vitals:
- Fixed-position elements anchored to physical left/right instead of logical start/end
- Icons and chevrons pointing the wrong direction
- Horizontal scroll caused by elements exceeding viewport width
- Font fallback chains that switch to LTR fonts for missing Arabic glyphs, causing layout shift
Use Arabic-optimized web fonts with subsetting to reduce payload. Noto Naskh Arabic, IBM Plex Sans Arabic, and Tajawal are popular choices with good browser support. Preload critical font files to minimize Cumulative Layout Shift.
Structured Data in Arabic
Schema markup should use Arabic text for Arabic pages—name, description, and headline properties in structured data should match visible page content language.
Implement appropriate schema types:
- Organization and LocalBusiness with Arabic names and addresses
- Article and BlogPosting for content pages
- Product with Arabic descriptions for e-commerce
- FAQPage for question-based content targeting featured snippets
- BreadcrumbList reflecting Arabic navigation labels
Validate with Google’s Rich Results Test using Arabic URLs. Errors in Arabic structured data often stem from unescaped Unicode characters or mismatched @language annotations in multilingual schema graphs.
Core Web Vitals on MENA Mobile Networks
Arabic internet users predominantly access content via mobile devices on variable network quality. Optimize for mobile-first indexing realities:
- Compress images using WebP or AVIF with Arabic alt text
- Minimize render-blocking resources; defer non-critical JavaScript
- Implement lazy loading below the fold, but not for LCP elements
- Use CDN edge locations in or near MENA (Bahrain, UAE, Frankfurt for Gulf latency)
- Reduce third-party script weight from analytics and ad tags
Target LCP under 2.5 seconds on 4G connections. Test with Chrome DevTools network throttling set to “Fast 3G” to simulate conditions outside major Gulf metros.
Internationalization vs. Localization Architecture
Technical architecture should separate internationalization (i18n) infrastructure from localization (l10n) content. Recommended patterns:
- Subdirectory structure:
example.com/ar/,example.com/en/— consolidates domain authority - Subdomain structure:
ar.example.com— useful when Arabic operations are legally or organizationally separate, but splits authority - ccTLD:
example.com.eg,example.sa— strongest geo signal, highest management overhead
Avoid automatic IP-based redirects that prevent Googlebot from crawling alternate language versions. Use banners suggesting language switches instead of forced redirects.
Security and Technical Hygiene
HTTPS across all Arabic pages is mandatory. Mixed content warnings from HTTP resources embedded in HTTPS Arabic pages trigger browser warnings and reduce trust signals.
Implement proper 301 redirects when migrating Arabic URL structures. Document redirect maps; chains longer than two hops dilute link equity and slow crawling.
Monitor for duplicate content across www and non-www, trailing slash inconsistencies, and HTTP/HTTPS variants—all multiplied by the number of language versions you maintain.
Monitoring and Auditing
Schedule quarterly technical SEO audits covering:
- Hreflang validation via Screaming Frog or Sitebulb with Arabic crawl settings
- Core Web Vitals field data from Search Console filtered by
/ar/path - Index coverage reports for Arabic URL segments
- Structured data error trends
- Mobile usability issues specific to RTL layouts
Set up Search Console international targeting verification and monitor crawl stats for Arabic user agents.
Technical SEO for Arabic RTL websites demands attention to details that English-only audits overlook. Correct language declaration, robust hreflang, performant RTL layouts, and Arabic structured data create the infrastructure upon which content and link-building strategies succeed across MENA markets.