
English and Urdu (or Arabic) website: set up a second language
If your customers speak English and Urdu, or English and Arabic, a second language on your website makes sense. The common worry is: "Can I add a second language without hurting how Google finds me?" You can, as long as the setup is done properly. This guide follows Google's own documentation and the W3C's guidance on right-to-left text.
Give each language its own URL
Google recommends a separate URL for each language version of a page. That can be a subdirectory (for example yoursite.com/ur/) or a subdomain. Google says URL parameters for language, such as site.com?loc=de, are not recommended.
Tell Google how the versions connect with hreflang
The hreflang tag tells Google that two pages are the same content in different languages. Google's localized-versions guide sets out the rules:
- Each language version must list itself as well as all other language versions.
- The versions must point to each other. If two pages do not point to each other, the tags are ignored.
- The alternate URLs must be fully qualified, meaning they include
https://. - You can use
hreflang="x-default"to mark a fallback page, such as a language selector. - Google treats hreflang as a hint only, not an instruction.
So for an English page and its Urdu twin, each page carries a tag for itself and a tag for the other. When you add a third language, every existing page needs updating to include it.
Translate the real content
Google notes that localized versions of a page are only considered duplicates if the main content of the page remains untranslated. The lesson is simple: translate the actual content, not only the menus and buttons. A page with an Urdu menu and English paragraphs is not a proper Urdu page.
Use one language per page
Google advises using one language per page, for both content and navigation, and avoiding side-by-side translations. Keep English and Urdu on separate pages rather than splitting the screen between them.
Do not force visitors into a language
Google advises against automatically redirecting visitors to a language version based on an assumed language. Users and search engines may then never see all your versions. Instead, give visible links so people can switch language themselves. A small "English | اردو" link in the header does the job.
Set up right-to-left text correctly
Urdu and Arabic are written right to left, and the page code needs to say so. The W3C gives clear guidance:
- If the overall document direction is right-to-left, add
dir="rtl"to the html tag. - Set direction in the markup rather than in CSS.
- Declare the language separately with the
langattribute, because language does not imply direction.
For an Urdu page, that means both lang="ur" and dir="rtl" on the html element. For Arabic, use lang="ar" with dir="rtl".
A note on machine translation
Translation tools can save time, but there are two things to know. Google's spam policies list translating among the automated transformations that count as abuse when they are used to mass-produce pages with little value, which Google calls scaled content abuse. Google's guidance on localized versions does not say whether machine-translated pages are acceptable on a normal small business site.
Whatever tool you use, have a fluent speaker read and correct the text before it goes live.
A simple checklist
- 1Choose a URL structure, such as a subdirectory for each language.
- 2Translate the full content of each page, not only the menus.
- 3Add hreflang tags so every version lists itself and all the others, with full
https://addresses. - 4Add an
x-defaultfallback if you have a language selector page. - 5Put
langanddir="rtl"on the html element of Urdu and Arabic pages. - 6Add a visible language switcher and avoid automatic redirects.
- 7Ask a fluent speaker to review the text.
Hreflang is a hint, so nothing here guarantees a particular ranking.
Continue Reading
Discover more insights and stories


