v2.0.0 — Polylang Slug Toolkit
Rebrand of Shared Slugs for Polylang into a module-based toolkit.
Modules
- Shared slugs (existing) — translations share one slug across languages.
- Translated bases (new) — config-driven per-language archive/base
translation, e.g./products/(default) and/es/productos/. Map via the
pll_slug_toolkit_base_mapfilter.
Notes
- Engine is fully generic; per-site base maps live in the theme/mu-plugin.
- Rewrite rules self-flush on any rule-set or version change — no manual
Permalinks re-save, including on production. - Guarded per-module loading: each module loads only when enabled.
Migration from v1.x (folder/slug rename)
Folder/slug change polylang-shared-slugs → polylang-slug-toolkit. The
shared-slugs option name and the old GitHub token constant/filter are preserved.
Do a one-time manual folder swap on existing installs (PUC can't rename folders);
do not use the in-dashboard "update" on the old plugin for this transition.