1. Home
  2. Docs
  3. FAQ & Common issues
  4. Native slugs and WordPress permalinks

Native slugs and WordPress permalinks

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.

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.

How to access the slug editor and manually change the slug?

If you would like to check and/or edit the current slug, you need to enable ‘Show “Native slug” field‘ option in Permalink Manager settings:

When activated, you will see an extra field in URI editor:

Native slug in Classic Editor.
The URI Editor in Gutenberg mode is displayed in the sidebar.