WPML

Overview of the Issue

When using Yoast SEO with WPML, you might experience the following issue: after you change the language URL format from languages in directories to language as a parameter or to a different domain per language (WPMLLanguages), two links in the Yoast SEO breadcrumbs of translated posts and pages keep the old format. The Home link opens a 404 page and the link to the static posts page redirects to a 404 page. The breadcrumb structured data carries the same links. The other breadcrumb links are correct.

Workaround

Rebuild Yoast SEO’s stored data with WP-CLI:

Bash
wp yoast index --reindex --skip-confirmation
The command rebuilds all the data Yoast SEO stores for the site. The breadcrumb links then use the current language URL format.

If you change the language URL format again, run the command again.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.