WordPress plugin intelligence profile

Parich Long Slug

Long, Thai-friendly slugs that survive WordPress updates, and a repair tool for slugs that Long URL Maker cut or rewrote.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.1.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update15 Oct 202618d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Parich Long Slug version 0.1.0 as active, updated 18d ago and tested up to WordPress 7.1.

Overview

About this plugin

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.

Long slugs

  • Slugs up to 1,000 bytes by default (about 110 Thai letters), adjustable from 200 to 1,900 under Settings → Long Slug, with a live preview.
  • Cut on a letter boundary: vowels and tone marks stay with their consonant, and a slug never ends with a leading vowel (เ แ โ ใ ไ).
  • Everything else works as in WordPress: the same characters are removed, and a slug that fits in 200 bytes comes out exactly as WordPress makes it.
  • Works from every editor: the block editor, Quick Edit, the classic editor, REST and WP-CLI. When the block editor’s slug field drops Thai vowels and tone marks, they are put back on save.

Safe through WordPress updates

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:

  • installs a small file in wp-content/mu-plugins (the “guard”) that stops WordPress from shortening the columns, also during the update itself, when other plugins are not loaded;
  • keeps a copy of every slug longer than 200 characters, and if the columns were shortened anyway (the guard was removed), widens them again and puts the cut slugs back on the next page load.

Repair what Long URL Maker damaged

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:

  • It looks for evidence of what each slug was: Long URL Maker’s own backup table, the slug a trashed post had, SEO plugin data (Yoast SEO, Rank Math), 404 logs (Redirection, Rank Math, 301 Redirects), existing redirects, links on your site, titles and their revisions, and URL lists or CSV files you import.
  • Every proposal shows its evidence. Items with strong evidence are pre-selected as “Ready”; doubtful ones are left for you to check; the scan never changes anything by itself.
  • Repairs change only the slug (not the modified date), in batches, and can be undone batch by batch.
  • Every old address is redirected (301) to the repaired post or term, including the addresses of child pages and of posts whose links contain a repaired category.
  • Keys used by WordPress and plugins are repaired too: ACF field and field group keys, templates and template parts, global styles, custom CSS.
  • Addresses from 404 logs that match nothing can be pointed at a post by hand.

For developers

  • WP-CLI: wp parich-slug scan, repair, undo, redirects, import-urls, import-csv, clear-imports.
  • Filters: 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.

Source code

com/parich/parich-long-slug.

Credits

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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • long url
  • permalink
  • redirect
  • slug
  • thai
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity15 Oct 202618d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.