International

International SEO Basics: Hreflang, URLs and Getting Found Abroad

November 8, 2026 4 min read
International SEO Basics: Hreflang, URLs and Getting Found Abroad

Translating your website is only half the job. If search engines cannot tell which version belongs to which language or country, a shopper in Germany may land on your English page, or your Spanish pages may never show up at all. International SEO is the set of signals that tells search engines who each page is for. The basics are not complicated, and getting them right early saves a lot of cleanup later.

Give Every Language Its Own URL

The most important rule is that each language version needs its own address. If your site shows English or French on the same URL depending on a cookie or the visitor's browser settings, search engines will usually see and index only one version.

There are three common ways to set up separate URLs:

StructureExampleStrengthsDrawbacks
Subdirectoryexample.com/fr/One domain to manage; simplest to maintainWeaker signal that a page targets one specific country
Subdomainfr.example.comEasy to host a section separatelyMore setup and more to track in search tools
Country domainexample.frClearest signal that the site is for one countrySeveral domains to buy, renew and build up

For most small businesses, subdirectories are the easiest place to start. Country domains send a strong local signal, but they take more effort, and some countries have registration requirements for their domains.

What Hreflang Does

Hreflang is an annotation that tells search engines, Google in particular, that a page has equivalents in other languages or for other regions, and where to find them. It does not boost rankings on its own. It helps the right version appear for the right searcher, and it helps search engines understand that similar pages, such as English for the US and English for the UK, are meant for different audiences rather than being copies.

Each value uses a language code, optionally followed by a region code:

  • es for Spanish speakers anywhere
  • es-mx for Spanish speakers in Mexico
  • en-gb for English speakers in the United Kingdom
  • x-default for the page to show when no other version fits, often your main version or a language picker

The language always comes first, and the region is optional. A common mistake is using "uk" for the United Kingdom. The correct region code is "gb", and "uk" is actually the language code for Ukrainian.

The Rules That Trip People Up

  • Links must go both ways. If the English page points to the French page, the French page must point back. One-way annotations are typically ignored.
  • Each page lists itself. A page's set of hreflang entries should include its own URL along with its alternates.
  • Use final, working URLs. Point to the live address of each page, not to one that redirects or returns an error.
  • Match your canonical tags. Each language version should be its own canonical page, not point its canonical tag back to the original language.

Hreflang can be added in each page's HTML head, in an XML sitemap, or in HTTP headers for files such as PDFs. Pick one method and stick with it. Many website builders and plugins handle this for you, so check what yours does before adding anything by hand.

Do Not Auto-Redirect by Location

It is tempting to send every visitor from France straight to the French site. Google advises against automatically redirecting people based on their location or language, partly because its crawlers usually visit from one region and may never see your other versions. Automatic redirects also frustrate travelers and expats. A better pattern is a small banner suggesting the local version, plus a language switcher that is easy to find on every page.

Localize the Search Work Too

People in different markets search differently. A direct translation of your main keyword may not be the phrase locals actually type. Look at how competitors in that market describe the same product, and use keyword tools set to that country and language. Translate page titles and meta descriptions as well; they are easy to forget and appear directly in search results.

Local signals help too: a local address or phone number if you have one, reviews from customers in that market, and mentions from websites in that country.

Your International SEO Checklist

  1. Every language version has its own URL.
  2. Hreflang annotations are reciprocal and include each page itself.
  3. An x-default value points to a sensible fallback.
  4. No automatic redirects based on location.
  5. Titles, descriptions and keywords are researched per market, not just translated.
  6. A visible language switcher appears on every page.