Descripción
slugH helps administrators audit, find, review, edit, bulk-update and clean up post slugs. Whenever a slug change alters a public URL, slugH keeps the old URL working with a redirect it stores and serves itself. It does not need any SEO or redirect plugin.
Find problem slugs
- Scan chosen post types and statuses in batches, on sites of any size.
- Detect non-ASCII and non-Latin slugs, Bengali, Devanagari and Arabic-script (Arabic, Urdu, Persian) slugs, slugs WordPress may have cut short, broken or double percent-encoding, uppercase characters, characters WordPress would change, duplicates, empty slugs and permalink problems. Accented Latin is not treated as non-Latin, and correctly encoded Unicode slugs are never reported as broken.
- Look up any URL, encoded or not, to see the matching record or redirect.
Edit safely
- Edit slugs inline, paste «ID,new-slug» lines straight from a spreadsheet, use a guarded one-column paste, or import a CSV file.
- Every change goes into a draft and through a preview that shows the slug WordPress will really save (including «-2» suffixes), the old and new URL, conflicts, loops and every child page whose URL changes.
- Only the slug changes. slugH checks content, terms and custom fields before and after each update and pauses if anything else changed. The last-modified date is kept by default.
- Every job can be rolled back, completely or item by item.
Categories, tags and other terms
- The Slug Editor’s Terms view edits the slugs of categories, tags and other public taxonomies, with the same draft, preview, apply and rollback as posts. Categories and tags are on by default; turn others on in Settings.
- The old category or tag archive redirects to the new one, including its later pages and feeds. A term slug changed on WordPress’s own term screen gets its redirect too.
- Only the slug changes: the name, description, parent and term meta are checked before and after, and terms are never merged.
Media (optional)
Tick Media under Post types in Settings to scan and edit attachment slugs. When WordPress attachment pages are on, changed attachment URLs redirect, including media under a post or page whose URL changes. Files themselves are never renamed.
Polylang
With Polylang (tested with 3.9.2, language in the directory name), Scan & Audit and the Slug Editor show a Language column and filter for posts and terms, and the Slug Editor shows the slugs of the linked translations. Each language’s slugs are changed on their own and redirects keep the language prefix, such as /en/.
Redirects you control
- Redirects fire only when a URL would otherwise be a 404, so a live page is never hidden.
- Child pages get their own redirects when a parent’s slug changes.
- Chains are flattened (AB then BC becomes AC) and loops are refused.
- Encoded, decoded, uppercase and trailing-slash variants of a URL all match; query strings are carried over.
- Add, edit, enable, disable, import, export and test redirects. The test tool checks each hop on the server, so your browser never caches a 301.
- Trial mode creates job redirects as 302 until you have checked them.
WooCommerce
Product slugs use the same engine when WooCommerce is active. SKUs, prices, stock, attributes, variations and categories are covered by the integrity check and are never changed. slugH declares compatibility with High-Performance Order Storage and never touches orders.
Latin slug suggestions (optional)
Turn on Settings Slug suggestions Transliteration to get a Latin spelling suggested for each slug in another script. Bangla uses slugH’s own phonetic rules (আমার সোনার বাংলা amar-sonar-bangla); other scripts use the PHP intl extension when the server has it. Suggestions are never applied on their own: you review and edit them in the preview first.
WP-CLI
Scan, paste or import slug changes, preview, apply, roll back and manage redirects from the command line: wp slugh scan, wp slugh results, wp slugh paste, wp slugh import, wp slugh job preview|apply|rollback, wp slugh redirect add|import|list|test|check|enable|disable|delete. The commands use the same preview, checks, redirects and audit log as the admin screens. Run them with --user=<administrator>; see wp help slugh.
Privacy
slugH adds nothing to your site’s front end, sets no cookies and contacts no external servers. The redirect test tool only requests pages on your own site.
Capturas








Instalación
- In Plugins Add New, upload the ZIP, or copy the
slughfolder to/wp-content/plugins/. - Activate slugH.
- Open slugH Scan & Audit and run a scan.
Take a database backup before large jobs. slugH can roll back every change it makes, but it does not make full backups.
FAQ
-
Do I need Yoast SEO, Rank Math or Redirection?
-
No. slugH stores and serves its own redirects. If one of those plugins also creates redirects, choose who owns redirects in slugH Settings. Diagnostics lists the redirect handlers it finds.
-
What happens when I deactivate slugH?
-
Its redirects stop, and all its data stays. Only WordPress’s own old-slug redirects for published posts keep working. Uninstalling removes slugH’s capabilities and keeps its tables unless you turn on «Delete all data on uninstall».
-
Why can’t my account apply changes?
-
Saving a post runs WordPress content filters. For users without the unfiltered_html capability those filters can strip embeds or scripts from content nobody edited, so slugH blocks slug changes for those users and explains why.
-
Can slugH change media (attachment) slugs?
-
Yes, from version 2.0. Tick «Media» under Post types in slugH Settings. If WordPress attachment pages are on, slugH redirects changed attachment URLs, including media attached to a post or page whose URL changes. If they are off (the default on sites installed with WordPress 6.4 or later), attachment URLs already lead to the file, so slugH changes the slug without creating redirects. Media files themselves are never renamed.
-
Can slugH change category and tag slugs?
-
Yes, from version 2.0. Categories and tags are on by default; other public taxonomies (and WooCommerce product categories and tags) can be ticked in Settings. Use the Terms view of the Slug Editor. slugH redirects the old category or tag archive, including its later pages and feeds. Posts whose URL contains the category, and child categories, are already redirected or still served by WordPress itself. When someone changes a term slug on the WordPress term screen, slugH adds the redirect too.
-
Does slugH support multisite, Polylang or WPML?
-
Polylang is supported from version 2.0 (tested with Polylang 3.9.2, language in the directory name). Each language’s slugs are changed on their own, translation links are kept, and redirects keep the language prefix (for example /en/). Scan & Audit and the Slug Editor show a Language column and filter, the Slug Editor shows the slugs of the linked translations, and translated front pages are no longer flagged as permalink problems. Languages on subdomains or separate domains are not supported for redirects. WPML is not supported yet, and slugH runs on single sites only (network activation is blocked).
Reseñas
No hay valoraciones para este plugin.
Colaboradores y desarrolladores
«slugH – Bulk Slug Editor & Redirects» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «slugH – Bulk Slug Editor & Redirects» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
2.0.1
- Fixed: with Polylang, categories, tags and other terms now show their own language in the Scan & Audit Language column,
wp slugh resultsand the scan export, and the language filter includes them. - Fixed: when the site cannot request its own pages, the redirect test simulation now follows term redirects for /feed/ and /page/2/, sees live term archives, and says «WordPress decides» instead of a wrong 404 for URLs slugH does not redirect.
- Added:
wp slugh redirect enable,disableanddelete, written to the audit log like the Redirects screen. - Added: «Check chains and loops» and
wp slugh redirect checklist redirects whose post or term was deleted;--disable-gonedisables them. - Changed:
wp slugh scanwarns about requested taxonomies it skips and, like the Scan screen, names public post types with content that were not scanned. - Changed: transliteration suggestions for slugs WordPress cut short are built from the full title, ending on a whole word.
- Changed: Bangla suggestions: ওয়া as «wa» (wajib, howar), ক্ষ at the start of a word as «kh» (khetre), ordinals as numbers (১ম 1), and the vowel around conjuncts (jilhojjer, jogonnath).
2.0.0
- Added: category, tag and custom taxonomy term slugs: scan, edit in the Slug Editor’s Terms view, preview, apply with a redirect from the old archive (its pages and feeds follow), rollback. A term slug changed elsewhere in WordPress also gets a redirect.
- Added: media (attachment) slugs, opt-in in Settings, with redirects when WordPress attachment pages are on, including media under a renamed post or page.
- Added: Polylang support: Language column and filter, translation slugs shown in the Slug Editor, language in exports, and translated front pages are no longer flagged as permalink problems.
- Added: WP-CLI commands (
wp slugh) for scans, slug change jobs with preview and rollback, and redirects. - Added: optional Latin slug suggestions (transliteration), with Bangla phonetic rules built in.
- Added: after a scan, a notice lists public post types that have content but were not scanned.
- Fixed: rolling back a change to a parent page and its child page together now restores both.
- Fixed: a static front page is no longer flagged as a permalink problem in the scan.
- Docs: REST clients must keep calling the job run route until it reports done (apply, then verify).
1.0.7
- Changed: the redirect test tool and redirect destinations treat a URL as part of this site only when its port matches too, not just its host name.
1.0.6
- Fixed: a request that sends a list where slugH expects text no longer raises PHP warnings.
1.0.5
- Fixed: choosing a post type in the Scan & Audit filter or the Slug Editor filter no longer ends in a «Cannot load» error page.
1.0.4
- Fixed: previewing and validating slug changes no longer fails on servers without the PHP mbstring extension.
- Changed: slugH no longer needs the PHP ctype extension, and uninstalling also removes its temporary admin notices.
1.0.3
- Fixed: front-end requests no longer fail on servers without the PHP mbstring extension. slugH falls back to basic lowercasing and Diagnostics explains the limitation.
- Changed: CSV upload fields and admin request values are sanitized as soon as they are read.
1.0.2
- Changed: the redirect test tool and the loopback check in Diagnostics now follow WordPress’s own loopback SSL setting (
https_local_ssl_verify) instead of always skipping certificate checks.
1.0.1
- Changed: the plugin is now called «slugH – Bulk Slug Editor & Redirects», matching silitive.com. Admin screens and messages say slugH. Settings, redirects and data are unchanged.
1.0.0
- First release: scanning, slug editor with draft and preview, CSV import and export, redirect engine, jobs with snapshots and rollback, audit log, WooCommerce product support.
