跳到内容

Hash Permalink

v1.0.0

cavien · 2026年8月16日 上架

Automatically generate random hash-based short permalinks for new posts.

正在使用
10 以下
评分
暂无
累计下载
249
最近更新
2026年8月16日
需要 WordPress 6.0+已测试到 7.0.9PHP 8.0+

贡献者

截图

The plugin settings page.
The plugin settings page.
A newly generated hash permalink when editing a post.
A newly generated hash permalink when editing a post.

Hash Permalink is a lightweight, high-performance WordPress plugin that automatically replaces default post slugs with random hash-based short URLs when new content is published.

Why Use Hash Permalinks?

  • Privacy & Security — Hash URLs prevent content scraping and hide your publishing patterns.
  • Clean & Professional — Short, random URLs look modern and trustworthy.
  • SEO Safe — Only applies to new posts; existing URLs are never modified.
  • Flexible — Customize hash length, character set, prefixes, and which post types to apply.

Key Features

  • Auto Hash Generation — Seamlessly generates unique hash slugs using cryptographically secure random numbers.
  • Collision Prevention — Database-level uniqueness check with automatic retry.
  • Multiple Character Sets — Choose from numeric, lowercase alphanumeric, mixed case, or hexadecimal.
  • Configurable Length — Select 8, 12, or 16 character hashes.
  • Post Type Support — Works with Posts, Pages, and any registered Custom Post Type.
  • Custom Prefix & Suffix — Add optional URL prefixes or suffixes.
  • Settings Page — Intuitive admin settings page under Settings menu.

Example URLs

  • https://yoursite.com/a7k2m9x4b1n3 (lowercase alphanumeric, 12 chars)
  • https://yoursite.com/6031e781c304 (hexadecimal, 12 chars)
  • https://yoursite.com/post-a7k2m9x4 (with “post” prefix, 8 chars)
  • https://yoursite.com/839201748362 (numeric, 12 chars)

Plums

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

导航

说明

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

© 2026 Plums