On your site
SEO: hreflang, slugs and sitemaps
How WPGlotty helps search engines recognise translated pages as language versions rather than duplicates.
hreflang
Every page includes hreflang links to its translations, plus an x-default. These tell Google that example.com/fr/services/ is the French version of example.com/services/, rather than an unrelated page.
It is on by default and there is rarely a reason to turn it off.
Translated slugs
Translated slugs give visitors addresses in their language, such as /de/leistungen/ rather than /de/services/. WPGlotty also translates fixed parts such as /products/ and /category/ by default.
By default, WPGlotty translates a page’s address when first viewed in a language. Under Settings, SEO & routing, tick “Also translate every page’s address, its slug, during a whole-site run” to translate all addresses during a run. WPGlotty never overwrites slugs you set by hand in the editor.
Changing a live slug changes a URL that someone may have linked to. WPGlotty does not redirect the old slug to the new one, so check existing links before changing it.
Sitemaps
Each language has its own sitemap index, such as example.com/de/sitemap-de.xml. The URLs are listed in sitemap-de-1.xml, with further numbered files if your site needs more than one.
Every entry includes links to its other language versions and a last-modified date. Pages and posts use their own dates. Categories and archives have no date of their own, so they use the date of their newest item.
- One sitemap index per language, listing that language’s files
- Each URL lists all its available language versions
- A lastmod date on every entry, so crawlers can skip unchanged content
Your SEO plugin’s sitemaps stay in the source language. Yoast, Rank Math, SEOPress and All in One SEO do not generate a set per language. WPGlotty publishes its own language sitemaps alongside them. It adds these to the sitemap index of Yoast, Rank Math and All in One SEO, and lists all of them in robots.txt.
Titles, descriptions and structured data
WPGlotty translates SEO metadata from the rendered page alongside other text. This includes fields from Yoast, Rank Math, SEOPress and All in One SEO, Open Graph tags and JSON-LD text.
In structured data, WPGlotty translates text but keeps identifiers, URLs, prices, dates, addresses, people’s names and your company’s name unchanged. You can switch this off under SEO & routing.