| 开发者 | parich |
|---|---|
| 更新时间 | 2026年10月15日 14:10 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-content/mu-plugins (the "guard") that stops WordPress from shortening the columns, also during the update itself, when other plugins are not loaded;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.Its database schema says the slug columns hold 200 characters, and every database update applies the schema again. Plugins that widen the columns lose the fight at the next update, because plugins are not loaded while WordPress updates its database. The guard in mu-plugins is loaded even then.
It changes one thing: the size WordPress gives the two slug columns while updating its database. It is copied from this plugin, never downloaded. If you delete it, it is put back the next time an administrator opens the dashboard. If it cannot be written, long slugs still come back after an update from the plugin's copy, and the status table tells you.
The block editor's slug field removes every combining mark when it loses focus, so "ข่าว" becomes "ขาว". This plugin compares the slug with the title when the post is saved and puts the marks back when that is all that changed. A slug you typed differently is kept as you typed it.
They stop when the plugin is deactivated and are deleted with it. Download them first (Repair slugs → Download the redirects (CSV)) and add them to a redirect plugin. The Plugins screen reminds you while redirects exist.
Some browsers, crawlers and sitemap tools refuse URLs longer than 2,048 characters. A long slug under a long parent page can get there; the status table lists such posts. The default length of 1,000 bytes keeps a post's URL well under that.
The plugin's tables (the copy of long slugs, scan results, the repair log and the redirects) and its settings. It never shortens the slug columns or changes a slug. It removes the guard only when no slug is longer than 200 characters, because without it the next WordPress update would cut them. Long URL Maker's backup table and settings are left alone.
Not yet: network activation is refused.
The plugin is free, with every feature for everyone. If it is useful to you, you can make a donation. Thank you!