Linux 软件免费装
Banner图

Custom Permalinks

开发者 sasiddiqui
michaeltyson
更新时间 2026年10月13日 21:16
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3
版权网址: 版权信息

标签

redirect seo permalink slug custom url

下载

0.2.1 0.4.1 0.5.1 0.5.3 0.6 0.6.1 0.7 0.7.1 0.7.10 0.7.11 0.7.12 0.7.14 0.7.15 0.7.16 0.7.17 0.7.18 0.7.20 0.7.21 0.7.22 0.7.24 0.7.25 0.7.26 0.7.27 0.7.28 0.7.3 0.7.4 0.7.6 0.7.7 0.7.8 0.8 0.9.1 1.0 1.0.1 1.0.2 1.1 2.0.0 0.5.2 3.2.0 1.5.0 1.6.1 1.6.2 1.7.0 1.7.1 0.7.23 0.7.9 1.2 1.2.1 1.2.10 1.2.11 1.2.12 1.2.14 1.2.15 1.2.16 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.3 1.2.4 1.2.6 1.6.0 1.2.7 2.1.0 2.2.0 3.1.1 2.3.0 0.1 0.4 2.4.0 2.5.0 0.1.1 0.5 1.2.8 2.5.2 2.8.0 3.0.0 2.7.0 3.0.1 0.2 0.2.2 2.0.1 1.3.0 3.1.0 0.3.1 0.7.13 0.9 0.9.2 0.9.3 1.2.17 1.2.5 1.2.9 2.5.1 2.6.0 3.2.1 0.3 0.7.19 0.7.2 1.4.0 1.5.1 3.1.2 3.3.0 3.3.1 3.3.2 3.3.3

详情介绍:

You want to take control of your WordPress site's URLs? The Custom Permalinks plugin gives you the power to set unique, custom URLs for any post, page, tag, or category. This means you can design your site's structure exactly how you envision it, rather than being limited by WordPress's default settings. When you set a custom permalink, the original post URL will be automatically redirected to your new, customized URL.

安装:

You have two ways to install Custom Permalinks: From within WordPress
  1. Go to Plugins > Add New in your WordPress dashboard.
  2. Search for "Custom Permalinks".
  3. Click "Install Now" and then "Activate" the plugin from your Plugins page.
Manually via FTP
  1. Download the custom-permalinks folder.
  2. Upload the custom-permalinks folder to your /wp-content/plugins/ directory.
  3. Activate Custom Permalinks through the "Plugins" menu in your WordPress dashboard.

屏幕截图:

  • Post Types Permalinks lists every post, page, and custom post type with a custom permalink, with search and bulk delete.
  • Taxonomies Permalinks lists every category, tag, and custom taxonomy term with a custom permalink.
  • Post Types Settings: build a permalink structure for each post type from the available tags.
  • Set a custom permalink for a category, tag, or custom taxonomy term on its edit screen.

升级注意事项:

3.3.2 Recommended update: fixes custom permalinks in non-Latin scripts (e.g. Persian) returning a 404 since 3.3.0 when a shorter custom permalink matched the start of the URL, and with an endpoint such as /feed/ appended. 3.3.1 Recommended update: fixes the editor's View Post and preview links not updating after changing a custom permalink, and improves accessibility of the admin screens with screen reader labels and better text contrast. 3.3.0 Recommended update: fixes non-Latin permalinks returning 404s or redirect loops, WPML and Polylang permalink issues, admin list pagination with object caches, and a fatal error on WordPress 6.0. Requires WordPress 5.9 and PHP 7.4. 3.2.1 Recommended update: fixes redirects dropping the query string (e.g. UTM parameters) and an infinite loop that could exhaust server memory when saving a permalink nested under another custom permalink. 3.2.0 Recommended update: fixes custom permalinks not saving as removed, WooCommerce My Account redirect loops, WPML/Polylang translations resolving to the wrong post, and adds name-based custom taxonomy tags.

常见问题:

What happens to the original URL when I set a custom permalink?

Custom Permalinks automatically redirects the original (default) URL to your new custom permalink, so existing links, bookmarks, and search engine rankings keep working.

Will this affect my site's SEO?

It shouldn't hurt it — since the original URL redirects to the new one, search engines and existing backlinks continue to resolve correctly. Using clean, descriptive custom permalinks can also make your URLs more readable, which is generally good for SEO.

Can I set custom permalinks for categories and tags, not just posts and pages?

Yes. Custom Permalinks supports posts, pages, any public custom post type, and categories/tags (and other custom taxonomy terms).

Does it work with custom post types, like WooCommerce products?

Yes. You can set an individual custom permalink on any public custom post type, or define an automatic permalink structure for the entire post type from Custom Permalinks > Post Types Settings.

Is Custom Permalinks compatible with WPML or Polylang?

Yes, the plugin is compatible with both WPML and Polylang, including translated posts that each have their own custom permalink.

Can I use non-English characters in my permalinks?

Yes. Permalinks in non-Latin scripts, such as Arabic, Thai, Cyrillic, or Chinese, work as you type them. Browsers request these URLs percent-encoded, and Custom Permalinks matches them either way.

Where do the plugin's translations come from?

From translate.wordpress.org. WordPress downloads them automatically for your site's language. If the plugin shows in English on a translated site, update the translations from Dashboard > Updates. You can also help translate it there.

Can I let a non-administrator manage permalinks?

Yes. The plugin adds a dedicated Custom Permalinks Manager role (and matching capabilities) so you can let specific non-admin users view or edit permalinks without giving them full administrator access.

Can I use accented letters, uppercase letters, or extra hyphens in my permalinks?

By default, Custom Permalinks sanitizes permalinks the same way WordPress core does (lowercase, no accents, no repeated hyphens). Developers can lift these restrictions with the custom_permalinks_allow_accents, custom_permalinks_allow_caps, and custom_permalinks_redundant_hyphens filters. See the Advanced Customization and Filters section on GitHub.

A page builder's front-end preview (Cornerstone, etc.) breaks or loses its editing mode on pages with a custom permalink

Some page builders load their live/front-end preview in an iframe using a POST request carrying special values the builder needs (for example Cornerstone's cs_preview_time). If that page also has a custom permalink, Custom Permalinks may redirect the request, and since redirects are followed as GET, the builder's POST data is lost and the preview breaks. You can tell Custom Permalinks to skip its redirect for that request with the custom_permalinks_avoid_redirect filter, added to your theme or a site-specific plugin: add_filter( 'custom_permalinks_avoid_redirect', function( $permalink ) { if ( isset( $_POST['cs_preview_time'] ) ) { // Adjust to match the field your builder sends. return true; } return false; } ); See the Advanced Customization and Filters section on GitHub for this and other available filters.

What happens to my custom permalinks if I deactivate or uninstall the plugin?

Deactivating the plugin keeps all your saved custom permalinks in the database — reactivating it restores them immediately. Uninstalling (deleting) the plugin permanently removes all saved custom permalinks and plugin settings, and your URLs will revert to WordPress' default permalink structure.

My custom permalink isn't saving, or the page isn't redirecting — what should I check?

  • Make sure Settings > Permalinks isn't set to "Plain".
  • Confirm no other SEO/redirection plugin (Yoast, RankMath, Redirection, etc.) has a conflicting rule for the same URL.
  • Check that the permalink isn't already used by another post — Custom Permalinks won't apply a duplicate URL.
  • Still stuck? See "Need Help or Found a Bug?" above, or reach out via GitHub or Premium support.

更新日志:

3.3.3 - Oct 13, 2026 3.3.2 - Oct 11, 2026 3.3.1 - Oct 8, 2026 3.3.0 - Oct 8, 2026 Earlier versions