Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About Custom Permalinks
The Custom Permalinks plugin allows you to set the URL of any post, page, tag, or category to anything you want. If you experience any issues after upgrading to the latest version, you can report them on the WordPress Forum or GitHub. You can also download older versions of the plugin from the WordPress plugin repository. Please note that this plugin is not a replacement for WordPress's built-in permalink system and it only applies to individual posts, pages, tags, or categories.Frequently asked questions
What does the Custom Permalinks plugin do?
The Custom Permalinks plugin allows you to set custom URLs for individual posts, pages, tags, or categories. It gives you ultimate control over your site structure by letting you define specific permalinks.
Will old permalinks redirect to the new custom permalinks?
Yes, old permalinks will redirect properly to the new addresses you set using this plugin. This ensures that visitors and search engines are directed to the correct new URL.
Is this plugin a replacement for WordPress's built-in permalink system?
No, this plugin is not a replacement for WordPress's built-in permalink system. It is designed for assigning custom permalinks for individual items, not for applying whole permalink structures automatically.
How can I disable redirects for a specific permalink?
You can disable specific redirects by adding a filter to your theme's functions.php file or a custom plugin. The filter 'custom_permalinks_avoid_redirect' can be used to return true for the permalink you wish to avoid redirecting.
What should I do if I encounter a site-breaking issue after upgrading?
If you find a site-breaking issue after upgrading, please report it on the WordPress Forum or GitHub with complete information to reproduce the issue. You can also download any of the old versions from the plugin's advanced page to revert.
Changelog
3.3.3 – Oct 13, 2026
- Bug:
- Fixed an infinite redirect loop on percent-encoded custom permalinks without a trailing slash (e.g. Japanese), a regression in 3.3.0.
3.3.2 – Oct 11, 2026
- Bug:
- Fixed custom permalinks in non-Latin scripts returning a 404 (e.g. Persian) when a shorter custom permalink matched the start of the URL (e.g. a
product/page forproduct/سلام/), a regression in 3.3.0. - Fixed custom permalinks in non-Latin scripts not loading with an endpoint appended (e.g.
/سلام/feed/).
- Fixed custom permalinks in non-Latin scripts returning a 404 (e.g. Persian) when a shorter custom permalink matched the start of the URL (e.g. a
3.3.1 – Oct 8, 2026
- Bug:
- Fixed the editor’s View Post and preview links not updating, or the wrong links being updated, after saving a custom permalink when the post’s previous URL contained characters such as
?,+or((e.g.?p=123for drafts). - Hardened the editor script to only update links with an http(s) URL on the site’s own domain.
- Fixed the editor’s View Post and preview links not updating, or the wrong links being updated, after saving a custom permalink when the post’s previous URL contained characters such as
- Accessibility:
- Added labels for screen readers to the checkboxes in Post Types Permalinks and Taxonomies Permalinks, the structure fields in Post Types Settings, and the Custom Permalink field on category, tag, and term screens.
- Raised the text contrast of the structure tags in Post Types Settings and of the plugin descriptions on the About screen, and underlined links in its text.
3.3.0 – Oct 8, 2026
- Changes to be aware of:
- Requires WordPress 5.9 and PHP 7.4 or later, the oldest versions the plugin is now tested on. Sites on older versions keep 3.2.1.
- Translations now come from translate.wordpress.org instead of files bundled with the plugin. It covers every bundled language and adds Serbian. Sites that installed the plugin outside wordpress.org, or turned off automatic translation updates, show English until the language pack is installed from Dashboard Updates.
- WPML translations now always resolve to their own custom permalink. Previously they returned another language’s custom permalink depending on the active (admin) language, which listed wrong URLs in Post Types Permalinks and in SEO plugins’ indexables and XML sitemaps (e.g. Yoast SEO).
%ctax_parents_TAXONOMY_NAME_name%now uses the parent terms’ names, as documented, instead of their slugs. Permalinks generated from now on change where a parent term’s name differs from its slug; saved permalinks are not changed.
- Redirects and URLs:
- Fixed custom permalinks in non-Latin scripts (e.g. Thai, Arabic, Cyrillic) returning a 404 or redirecting in an infinite loop, as the browser requests them percent-encoded while they are saved unencoded (or vice versa, depending on the site language).
- Fixed the trailing-slash redirect and the redirect to the custom permalink dropping the page number (e.g.
/news/page/2redirected to/news/instead of/news/page/2/). - Added the
custom_permalinks_disable_remove_page_numberfilter to keep the/page/{number}segment in the requested URL, for custom archive pages whose pagination doesn’t advance. - Fixed the query string being corrupted (e.g.
foo=barbecamehttp://foo=bar) after a custom permalink was resolved. - Fixed comment links on paginated comments (e.g.
/my-post/comment-page-2/) not following the custom permalink’s trailing slash, so a custom permalink without a trailing slash no longer gets comment URLs with one, and vice versa.
- WPML and Polylang:
- Fixed the WPML language switcher linking back to the current language instead of the translation when languages are in directories (e.g.
/en/,/de/) and the translation uses the same custom permalink. - Fixed WPML language directories that differ from the language code (e.g.
/de-de/forde, as in WPML 5.0) not being repaired when duplicated, and the default language getting its directory added to a permalink when “hide the default language directory” is on. - Fixed English custom permalinks not being lowercased and cleaned of special characters with WPML 5.0’s region-based language codes (e.g.
en-us). - Fixed Polylang translations sharing the same custom permalink (e.g.
/en/technologyand/zh/technology) redirecting to the other language when the translation’s stored language was missing or out of date.
- Fixed the WPML language switcher linking back to the current language instead of the translation when languages are in directories (e.g.
- Admin screens:
- Fixed Post Types and Taxonomies Permalinks pagination showing the first page’s results on every page, ignoring sorting and search, when a persistent object cache (e.g. Redis or Memcached) is enabled. The lists now also refresh right after a permalink is added, changed or deleted.
- Fixed bulk delete and search in Post Types and Taxonomies Permalinks failing with a “headers already sent” warning instead of redirecting.
- Fixed short titles and permalinks being padded with leading spaces in the Post Types and Taxonomies Permalinks lists.
- Fixed every post of a type showing and saving the same custom permalink when a theme or plugin runs a custom loop in the admin without resetting the global post.
- Fixed the original permalink showing as the custom permalink in the edit screen’s permalink box and in the block editor, and being compared against when saving a post or term.
- Fixed a fatal error on WordPress 5.9 and 6.0 when saving the Post Types Permalinks settings with the cache flush option, as
wp_cache_flush_group()needs WordPress 6.1. Object caches that can’t flush a single group now get a full cache flush. - Fixed the “Custom Permalinks Manager” role name not being translatable.
- Fixed Post Types Settings showing the WordPress address instead of the site address before each structure, which is wrong when WordPress is installed in a subdirectory.
- Compatibility:
- Fixed WooCommerce notices about accessing order data directly on order screens, as the permalink form read post fields from the
WC_Orderobject. - Fixed posts updated by WP All Import being handled as new posts, which turned permalink regeneration back on and could replace their custom permalink with the post type’s structure.
- Fixed the
seems_utf8()deprecation notice on WordPress 6.9 and later.
- Fixed WooCommerce notices about accessing order data directly on order screens, as the permalink form read post fields from the
Earlier versions
- For the changelog of earlier versions, please refer to the separate changelog.txt file.
