1. Home
  2. Docs
  3. FAQ & Common issues
  4. What is the native slug and how it is included in WordPress permalinks?

What is the native slug and how it is included in 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.

Technically, the same slug cannot be used for more than one post or term. WordPress will automatically append the numeric indexes to the end of slug if you would like to use it more than once:

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

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.
Was this article helpful to you? Yes No