WordPress - How does Weglot manage your website's SEO?
In this article, you'll learn how Weglot manages your website's SEO to ensure that Google indexes all translated versions of your website.
Multilingual SEO best practices guidelines (as per Google here https://support.google.com/webmasters/answer/182192?hl=en) require including the following key aspects:
1. A unique URL is created for each version of your web page
Weglot automatically creates "/[2-letter code]" subdirectory for each translated version of your pages.
E.g. German version of the webpage below: |
E.g. Spanish version of the webpage below: |
2. Hreflang tags for Google indexing bots
Weglot automatically adds hreflang tags in your source code. These tags let Google know you have different versions of the same page and favor indexing of these pages. You can find these hreflang tags in the tag "head" of your website source code.
Note that you don't need to edit your sitemap with this method.
3. Having content translated into the source code and not just dynamically (like with a JavaScript solution: Google does not see JavaScript)
4. Detect and translate websites's SEO tags
E.g. Meta-description for the English version of the website:
|
E.g. Meta-description for the Kazakh version of the website: |
Weglot follows all of Google's best practices. Therefore, with Weglot, all the translated pages will also be indexed and displayed to foreign visitors without any additional work from the website owner.