When setting up a multilingual website there are several Search Engine Optimization (SEO) factors to consider (for a full – not only multilingual related – WordPress SEO checklist have a look at this great article by Kinsta). Elements that contribute to good SEO also tend to improve overall user experience, so making sure your site ranks highly benefits both your business and your customers.
First and foremost, you want to make sure that people are seeing the correct pages for their location. You also want to avoid penalties for content that is considered duplicate. Thankfully, Google has laid out some best practices for multilingual SEO, and there are a number of measures you can take to improve your rankings.
This article will guide you through three ways to optimize your site’s search engine rankings. To make life a little easier, some of these are automatically taken care of by our very own Weglot Translate plugin.
1. Use Dedicated URLs
One of the main fears with multilingual sites is duplicate content.
To avoid duplicate content penalties, Google’s best practices recommend using ‘dedicated URLs’ that include a language indicator – although doing so could still be misinterpreted. The indicator enables search engines and users to identify the language from the URL alone. For example, an original page might be www.example.com, while the French version could be www.example.com/fr/.
The placement of the language indicator in the URL depends on the domain structure you choose. The three choices are:
- Top level domain (e.g. www.example.fr)
- Subdomain (e.g. www.fr.example.com)
- Subdirectory (e.g. www.example.com/fr/)
Each of these have their pros and cons, but subdirectories are easy to set up and maintain. We use them within the Weglot Translate plugin, which uses rewrite rules to create a unique URL for each language.
2. Apply hreflang Tags
Aside from the aforementioned language indicators, Google also uses hreflang attributes to help determine both the language of the page and which region it is intended for.
These tags can be inserted in the header section of the original page or submitted via a sitemap. For example, an hreflang tag referencing a French page intended for readers in Canada could look like this:
<link rel=”alternate” hreflang=”fr-ca” href=”http://example.com/fr/” />
If a page is intended for multiple regions, multiple hreflang attributes can be added. However, it’s worth noting that this whole process is both complicated and time-consuming, particularly for beginners. If you use our Weglot Translate plugin, this step is done for you automatically, so you don’t have to worry about adding your own code.
3. Stick to One Language Per Page
It may be tempting to translate some areas of a page while keeping other parts in the original language. A couple of instances where a page might have multiple languages are:
- The main content is translated but the navigation text is in the original language.
- User generated content (such as forum discussions and comments) are in different languages.
In both of these cases, the intended language and region of the page can be clarified by adding the hreflang tags discussed earlier.
However, multiple languages on a page could dilute the user experience. In the first case above, the reader might understand the main content but have trouble navigating to other pages. In the second case, user-generated content in different languages could result in discussions losing context, and a confused or even frustrated reader.
Fortunately, when you translate your pages with our Weglot Translate plugin, it automatically detects all content – including user comments – so you can be assured that everything will be translated.
There are some cases where multiple languages on a page are actually beneficial to the reader, such as side-by-side translations on a language-learning site. In its multilingual site advice page, Google recommends avoiding side-by-side translations. However, if you do need to go that route, you should definitely make use of the hreflang tags we talked about earlier. You can even add multiple tags if appropriate.
When creating a multilingual site, there are a several important SEO factors to consider. You need to ensure that your content is not considered duplicate, and that it is clear who the intended reader is for every page you produce.
Addressing these issues will not only boost your rankings, but also improve the overall user experience. Fortunately, Weglot Translate can take care of most of it for you.
In this article we’ve explained what needs to be done to make your site SEO friendly. Let’s recap our tips quickly:
- Use dedicated URLs.
- Apply hreflang tags.
- Stick to one language per page.
Do you have any questions regarding optimizing your multilingual site for search engines? Let us know in the comments section below!