Custom Permalinks


Lay out your site the way you want it. Set the URL of any post, page, tag or category to anything you want. Old permalinks will redirect properly to the new address. Custom Permalinks gives you ultimate control over your site structure.

Be warned: This plugin is not a replacement for WordPress’s built-in permalink system. Check your WordPress administration’s « Permalinks » settings page first, to make sure that this doesn’t already meet your needs.

This plugin is only useful for assigning custom permalinks for individual posts, pages, tags or categories. It will not apply whole permalink structures or automatically apply a category’s custom permalink to the posts within that category.

If anyone wants the different Structure Tags for their Post types or use symbols in the URLs So, use the Permalinks Customizer which is a fork of this plugin and contains the enhancement of this plugin.

Privacy Policy

This plugin only collects the following information.

  1. Administration Email Address (Only the email that is set in the WordPress setting)
  2. Plugin version
  3. Site Title
  4. WordPress Address (URL)
  5. WordPress version

All this information gets collected when the plugin is installed or updated.

To have any kind of query please feel free to contact us.


Exclude permalink to be processed

To exclude any Permalink to be processed with the plugin, add the filter looks like this:

function yasglobal_xml_sitemap_url( $permalink )
    if ( false !== strpos( $permalink, 'sitemap.xml' ) ) {
        return '__true';

add_filter( 'custom_permalinks_request_ignore', 'yasglobal_xml_sitemap_url' );

Exclude PostType

To exclude permalink from any post type so, just add the filter looks like this:

function yasglobal_exclude_post_types( $post_type )
    if ( 'custompost' === $post_type ) {
        return '__true';

    return '__false';
add_filter( 'custom_permalinks_exclude_post_type', 'yasglobal_exclude_post_types' );

Note: custom_permalinks_exclude_post_type doesn’t work on the posts permalink which has been created previously.

Exclude Posts

To exclude permalink from any posts (based on ID, Template, etc), just add the filter looks like this:

function yasglobal_exclude_posts( $post )
    if ( 1557 === $post->ID ) {
        return true;

    return false;
add_filter( 'custom_permalinks_exclude_posts', 'yasglobal_exclude_posts' );

Note: custom_permalinks_exclude_posts doesn’t wor k on the posts permalink which has been created previously.

Remove `like` query

To remove like query to being work, add below-mentioned line in your theme functions.php:

add_filter( 'cp_remove_like_query', '__return_false' );

Note: Use custom_permalinks_like_query filter if the URLs doesn’t works for you after upgrading to v1.2.9.

Add `PATH_INFO` in `$_SERVER` Variable

add_filter( 'custom_permalinks_path_info', '__return_true' );

Thanks for the Support

I do not always provide active support for the Custom Permalinks plugin on the forums, as I have prioritized the email support.
One-on-one email support is available to people who bought Custom Permalinks Premium only.

Bug reports

Bug reports for Custom Permalinks are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.


This process defines you the steps to follow either you are installing through WordPress or Manually from FTP.

From within WordPress

  1. Visit ‘Plugins > Add New’
  2. Search for Custom Permalinks
  3. Activate Custom Permalinks from your Plugins page.


  1. Upload the custom-permalinks folder to the /wp-content/plugins/ directory
  2. Activez l’extension depuis le menu « Extensions » de WordPress.


10 août 2020
I've been using the "Custom Permalink" plugin for about 2 years. It has been a very reliable plugin that fulfills its objective. One of the things that most concerns you when installing a theme or plugin is its support. Be sure that in any eventuality there is timely help to get ahead. And this is precisely what has motivated me to write this review, because I am very satisfied with the support and the interaction of the author. Recommended 100%. So that's one of its strengths: The quality of technical support. Thank you
30 janvier 2020
Hello, Everybody! I am using this plugin during 2 years and I never had a problem. Recently I added new categories to my website and just forgot to add slashes after. So I got a problem that this links didn't work, and I could not understand why... I adressed to support, and Sami helped me! he resolved very quickly this little problem! I would like to thank him and his team! I would recommend to use this plugin to other people!
14 novembre 2019
The plugin does work with Gutenberg. You'll find the option to create custom permalink below the post editor instead of above the title. Plugin author can do a better job by adding screenshots and instructions to help new users find the options.
Lire les 91 avis

Contributeurs & développeurs

« Custom Permalinks » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.


“Custom Permalinks” a été traduit dans 9 locales. Remerciez l’équipe de traduction pour ses contributions.

Traduisez « Custom Permalinks » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.


1.6.2 – Aug 10, 2020

  • Bugs
    • Forgot to update the version in CSS and JS files in v1.6.1

1.6.1 – Aug 10, 2020

  • Bugs
    • Avoid caching issue by adding version as suffix in CSS and JS files

1.6.0 – Aug 08, 2020

1.5.1 – Jun 11, 2019

1.5.0 – Jun 04, 2019

1.4.0 – Nov 08, 2018

  • Enhancements
    • Added Support for Gutenberg
    • Set meta_keys to be protected to stop duplication in Custom Fields

1.3.0 – June 07, 2018

1.2.24 – May 31, 2018

1.2.23 – May 22, 2018

  • Enhancement
    • Added Privacy Policy Content for WordPress 4.9.6 and higher.

Earlier versions

  • For the changelog of earlier versions, please refer to the separate changelog.txt file.