跳到内容

slugH – Bulk Slug Editor & Redirects

v2.0.1

habibhq · 2026年11月11日 上架

Find, edit and bulk-update post, page, category, tag and media slugs with safe 301 redirects and rollback. Works with Polylang and WooCommerce.

正在使用
10 以下
评分
暂无
累计下载
235
最近更新
2026年11月21日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

截图

Scan & Audit: counts per detection category, filters, and every record's current and proposed slug. Bangla and Hindi slugs that WordPress cut short are flagged.
Scan & Audit: counts per detection category, filters, and every record's current and proposed slug. Bangla and Hindi slugs that WordPress cut short are flagged.
Slug Editor: type a new slug beside any record; changed rows show old and new side by side, and duplicate new slugs are flagged before anything is applied.
Slug Editor: type a new slug beside any record; changed rows show old and new side by side, and duplicate new slugs are flagged before anything is applied.
Preview: every change is validated first, including the URLs of child pages that will move and need their own redirects.
Preview: every change is validated first, including the URLs of child pages that will move and need their own redirects.
Results: each record's actual new slug and URL, the redirects created and their test result, with exports and rollback.
Results: each record's actual new slug and URL, the redirects created and their test result, with exports and rollback.
Redirects: add, edit, import and export redirects, and test any URL hop by hop on the server.
Redirects: add, edit, import and export redirects, and test any URL hop by hop on the server.
Settings: choose the post types, statuses and taxonomies slugH manages, and who owns redirects.
Settings: choose the post types, statuses and taxonomies slugH manages, and who owns redirects.
Terms view: edit category and tag slugs the same way as posts. Bangla and Arabic slugs show next to their short English replacements, and changed rows show old and new side by side.
Terms view: edit category and tag slugs the same way as posts. Bangla and Arabic slugs show next to their short English replacements, and changed rows show old and new side by side.
Polylang: the Language column in Scan & Audit shows each post's and term's own language.
Polylang: the Language column in Scan & Audit shows each post's and term's own language.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums