1. Home
  2. Docs
  3. Plugin settings
  4. Show “Native slug” field

Show “Native slug” field

The slug is a unique identifier used to distinct the posts and terms and used in the native (default) permalinks that can be overwritten by custom permalinks set-up with Permalink Manager.

The slug is assigned to the post or term after it is published and it is based on the initial post/term title. Please note that it remains unchanged even if you change the post/term title. Of course, you can still adjust the native slug in the slug editor.

How to edit the native slug with Permalink Manager?

If you would like to edit the current slug directly via URI Editor, please enable ‘Show “Native slug” field‘ mode in Permalink Manager settings:

Afterwards, you shall see an extra field in URI editor:

Why the native WordPress slugs have to be unique?

To keep things simple, if some of the slugs are not unique, WordPress will not be able to indicate what content element should be loaded. Technically, the same slug cannot be used for more than one post or term. To avoid this from happening, if the user tries to save the post or term with the same slug, WordPress will automatically append the numeric index to the end of slug.

Post/term titlePost/term slugNative permalink
Sample postsample-posthttp://example.com/2019/04/20/sample-post
Sample post
(Duplicate)
sample-post-2http://example.com/2019/05/30/sample-post-2
Sample post categorysample-post-categoryhttp://example.com/category/parent-category/sample-post-category
Sample post category
(Duplicate)
sample-post-category-2http://example.com/category/another-category/sample-post-category-2

How to use the same slug multiple times in custom permalinks?

If you would like to use the same slug for multiple posts, pages, categories or terms, you can manually adjust the custom permalink and remove the numeric appendix (eg. “-2”) as long as they are unique as a whole.

Post/term titlePost/term slugCustom permalink set with Permalink Manager
Sample postsample-posthttp://example.com/2019/04/20/sample-post
Sample post
(Duplicate)
sample-post-2http://example.com/2019/05/30/sample-post
Sample post categorysample-post-categoryhttp://example.com/category/parent-category/sample-post-category
Sample post category
(Duplicate)
sample-post-category-2http://example.com/category/another-category/sample-post-category

You can also make Permalink Manager use the actual title (instead of slug) in just a few steps. Here is the full instruction on how to enable “Force custom slugs” mode.