| 开发者 | bakhods |
|---|---|
| 更新时间 | 2026年11月20日 19:13 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/about-us/ and /es/about-us/ instead of /es/about-us-2/, for posts, pages, custom post types and terms. Requests resolve to the post or term of the requested language./success-stories/ in English, /es/casos-de-exito/ in Spanish, for post types, taxonomies and the blog base.get_field( 'name', 'options' ) keeps working.wp_get_attachment_image(). The block editor's Image block saves its alt into the post content and is translated with the post.x-default./page/2/ point to page 2 of each translation, and a language with fewer pages is left out. Polylang prints no hreflang on paged archives at all./pt/recursos/ for /pt/blog-e-noticias/, redirects to the translation's own address instead of serving a duplicate.en-sitemap.xml, es-sitemap.xml… instead. Yoast's own rules for noindex, exclusions and canonicals still apply.cosmo/multilingual_kit/config filter to your theme (see Configuration in the description) and flush permalinks under Settings - Permalinks.Values saved before were stored without a language. Run cosmo_mlk_migrate_legacy_options() once to move them to the default language.
It targets Polylang free. With PRO active, the slugs, bases and duplicate modules switch themselves off, since PRO covers them. An explicit modules entry in the config overrides that.
The Plugins screen lists them with the reason:
slugs and bases and duplicate with Polylang PRO.slugs when Polylang sets the language from the content: with no language in the URL, shared slugs cannot be told apart.options with ACF Options For Polylang, which stores options per language on its own.media when Polylang media translation is on, as every language then has its own attachment.Language as a directory (with or without /language/), as a subdomain, or as a domain. Sites installed in a subdirectory work too.
No. WooCommerce keeps product data outside post meta, so a plain copy would give a broken product.
sitemaps => 'language' config key.sitemaps module: one Yoast sitemap per language, paged archives included.