

Settings: how long new slugs may be, a live preview of the slug a title gives, and the status of what keeps long slugs safe (slug columns, guard, copy of long slugs).
WordPress stores slugs in a column 200 characters long. A Thai letter takes 9 characters once encoded for a URL, so a Thai title is cut after about 22 letters, often in the middle of a syllable. Parich Long Slug makes room for long slugs, keeps them safe through WordPress updates, and repairs the damage another plugin, Long URL Maker, has done on many sites.
When WordPress updates its database, it changes the slug columns back to 200 characters and cuts every longer slug. That is what breaks sites using Long URL Maker. This plugin:
wp-content/mu-plugins (the “guard”) that stops WordPress from shortening the columns, also during the update itself, when other plugins are not loaded;Long URL Maker cuts slugs at 200 characters when WordPress updates, rewrites every slug from its title when it is deactivated, and puts old slugs back whenever the WordPress version changes. Settings Long Slug Repair slugs finds that damage and proposes the original slugs:
wp parich-slug scan, repair, undo, redirects, import-urls, import-csv, clear-imports.parich_slug_max_length, parich_slug_capability, parich_slug_repair_post_types, parich_slug_repair_taxonomies, parich_slug_repair_system_post_types, parich_slug_guard_file.The complete source and its tests are on GitHub: github.com/parich/parich-long-slug.
The functions that reproduce the slugs Long URL Maker made are ported from Long URL Maker 2.0.1 by kpcode, itself based on PP-auto-thai-url by Preukson (both GPLv2 or later), so the repair tool can recognise its slugs exactly.