OXO Yazılım
All Posts

Multilingual Website: hreflang and Correct Structure

November 12, 20263 min read

If you publish in more than one language, such as Turkish and English, tell search engines which page is meant for whom using hreflang and a clean URL structure.

Publishing your site in more than one language is one of the most natural ways to reach new audiences. But a good translation alone is not enough; search engines must understand which page is made for which language and region. Otherwise the wrong language page may be shown, or two language versions may compete with each other. This guide explains the basic structure simply.

Choose a URL structure

There are common ways to separate language versions: a subfolder (for example /en/), a subdomain or a separate domain. For most small and mid-sized sites a subfolder is easy to manage and good for authority. Whichever you choose, be consistent and make the language readable from the URL.

  • Give each language its own permanent, unique address.
  • Avoid setups that switch language only by cookie or browser setting; search engines cannot see those pages.
  • Where possible, let addresses contain translated, understandable words.

What is hreflang

hreflang is a signal that tells a search engine about the equivalents of a page in other languages. It can be defined in the page code, in the HTTP header or in the sitemap. The aim is to show users the version suited to their language.

There are a few basic rules: each version must point to the other reciprocally. A page must also point to itself. Language codes must be written correctly (for example tr and en). A default version can be defined for users who match no language.

Common mistakes

  • Non-reciprocal signals: the Turkish page points to English but the English page does not point back.
  • Wrong language or region codes.
  • Pointing to addresses that do not exist or are redirected.
  • Translating only the home page and not the inner pages.

Translation quality

Publishing automatic translation directly damages trust. Someone who knows local expressions and sector terms should review the translation. Titles, descriptions, form texts and error messages should be translated too. Language versions do not have to be copies of each other; examples and calls to action can be adapted for the target audience.

Language switcher and user experience

Place the language switcher somewhere visible and write each language name in its own language (Turkce, English). Suggesting a language is safer than switching the user automatically, because a wrong guess can take both the visitor and the search bot to the wrong place. When the language is changed, the user should land on the equivalent of the same content, not be thrown to the home page.

Sitemap and monitoring

Add every language version to the sitemap and watch indexing status in the search console. Publishing all language equivalents together when adding a new page prevents inconsistencies.

Conclusion

A multilingual site, set up correctly, opens a growth area beyond borders. Simplify the URL structure, set hreflang signals reciprocally and correctly, and translate carefully. If you are planning a multilingual site, see our web design service or get in touch with us.