How to Use Hreflang Tags for Arabic and English Websites in Oman

A homeowner in Muscat views an air conditioner cleaning booking page on a phone.

Table of Contents

A homeowner in Muscat searches in Arabic for air conditioner cleaning and lands on your English booking page. You already have an Arabic form, but the customer has to find it. At Dune Seed, we recommend starting with those two booking pages. Hreflang tags tell Google which URL serves each audience, so someone searching in Arabic can land directly on a form they can use.

Which hreflang tags should you use for Oman?

Choose codes for the audience each page serves. A Muscat tour operator might sell the same trip to Arabic and English speakers worldwide, including people planning a visit from abroad. A home services company might offer different prices and booking terms in Oman and the UAE.

Intended audienceHreflang valueExample
Arabic or English speakers anywherear and enA tour itinerary that anyone can book
Arabic or English speakers in Omanar-OM and en-OMA service with Oman-specific rates and coverage
Visitors without a matching language versionx-defaultAn optional language selector or a chosen fallback page

Put the language first, then add a hyphen and the country code if you need one. An easy mistake is entering om alone for an Arabic page. As a language code, om means Oromo. Use ar-OM for Arabic aimed at readers in Oman.

Which Arabic and English URLs belong together?

Give each translation a stable address and match pages by the task a customer can complete. Both air conditioner cleaning pages should explain what a visit covers and let someone book it. The Arabic wording can differ from the English. An annual maintenance contract, however, belongs in a separate pair even if the same technician does the work.

List the pairs in a two-column sheet, then try the language switcher from each side. A customer switching languages halfway through choosing a service should land on that same service. If the only way to reach an Arabic page is to paste its address, check for orphan pages and link to it from the Arabic service directory.

Four page mockups pair air conditioner cleaning and annual maintenance across mirrored layouts.

How do you add hreflang tags to both pages?

In this example, the cleaning company targets customers in Oman and chooses English as its fallback. Put the following lines in the HTML <head> of both booking pages. Replace the example addresses with your own final URLs, including https://. Each page lists itself and links back to its translation.

<link rel="alternate" hreflang="ar-OM"
      href="https://example.com/ar/tanzif-al-mukayyifat/">
<link rel="alternate" hreflang="en-OM"
      href="https://example.com/en/ac-cleaning/">
<link rel="alternate" hreflang="x-default"
      href="https://example.com/en/ac-cleaning/">
Two page mockups show the same three turquoise marks above mirrored booking forms.

HTML is convenient if one template controls both pages. A CMS that already tracks translations in an XML sitemap can publish the same relationships there. HTTP Link headers also work for files such as PDF brochures. Google treats all three methods equally, so choose the one your team can keep accurate.

Why does Google still show the wrong language?

Read the Arabic page from the headline down to the booking button. If only the menu is Arabic while the service description and form are in English, finish the translation. Google uses visible content to identify a page’s language. Once the copy is in place, look for conflicting signals.

What you findWhat to fix
The Arabic page names the English URL as its canonical, or preferred indexing URL.Give each complete translation a canonical pointing to its own final URL.
The English page lists Arabic, but the Arabic page omits English.Restore the return link on the Arabic page. Google may ignore the one-way pairing.
An alternate redirects, returns a 404 error, or carries noindex.Point directly to a working, indexable URL that returns HTTP 200. Remove any unintended noindex.
All English services point to the Arabic homepage.Map each service to its own translation as soon as that translation is live.
Every visitor in Oman gets redirected to Arabic.Let visitors open either URL directly and choose a language using a visible link.
One phone shows an AC booking form while the other shows a generic homepage with service tiles.

How can you test your hreflang tags implementation?

For the HTML example, open each page’s source and search for hreflang inside <head>. Follow each address and compare the two sets of tags. For a sitemap setup, check that the entries for both URLs list the same alternates. To test more pages, crawl your website with Screaming Frog. In the licensed version, enable hreflang crawling and storage. In the Hreflang tab, check Missing Return Links and Non-200 Hreflang URLs. Both filters appear in the official hreflang audit walkthrough.

After Google recrawls the pages, enter each address in the URL Inspection tool. Under Page indexing, read the Google-selected canonical in the indexed result. If Google selected the English URL for the Arabic page, recheck its canonical tag and how much of its main text is Arabic. Use the live test to confirm Google can fetch a recent fix while you wait for another crawl.

Start with the service that brings in enquiries

Choose one frequently booked service. Check its language codes, the links in both directions, and the canonical on each page. Then try booking in Arabic and English. A confirmation screen that switches back to English is worth fixing even when the tags are correct. If the same mismatch appears across several services, request a technical SEO review and include the two URLs where you found it.

A tester compares mirrored booking confirmation screens on a laptop and phone.



Frequently Asked Questions

Does a .om domain tell Google which language to show?

A .om domain signals a connection to Oman. Arabic and English pages can share that domain and serve different readers. Give each translation its own address, connect the two with hreflang, and keep a visible language switcher for anyone who prefers the other version.

Can I use hreflang if both languages share one URL?

Each version needs an address that opens independently. If your switcher changes a cookie while the address stays the same, there is no separate Arabic URL to reference. Give each translation its own link and open both in a fresh browser session to confirm that each keeps its intended language.

Can WordPress add hreflang tags automatically?

Yes. WPML can generate hreflang tags for pages you connect as translations. By default, it puts them in the HTML head. If you use the WPML SEO add-on with Yoast SEO’s XML sitemap enabled, check the sitemap for those annotations. Review one live pair after changing plugins or permalinks.

What if a service has no Arabic translation yet?

Keep the English page available on its own. Sending someone to an Arabic homepage when they want a particular service makes them start their search again. Once the Arabic service page goes live, add it to the English page’s alternates and include the return link on the new translation.

How long does Google take to pick up hreflang changes?

Google needs to recrawl the affected URLs, which can take days or weeks. Compare the last crawl date for each page in Search Console with the date you published the fix. You can check the live tags immediately and review Google’s selected canonical once it has processed the updated pages.



Facebook
X
LinkedIn
Telegram
WhatsApp
Pinterest
Email

Tell us your thoughts in the comments

Leave a Reply

Your email address will not be published. Required fields are marked *