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.
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:
| Structure | Example | Strengths | Drawbacks |
|---|---|---|---|
| Subdirectory | example.com/fr/ | One domain to manage; simplest to maintain | Weaker signal that a page targets one specific country |
| Subdomain | fr.example.com | Easy to host a section separately | More setup and more to track in search tools |
| Country domain | example.fr | Clearest signal that the site is for one country | Several 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.
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:
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.
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.
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.
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.