In WordPress, Slugs are known as URL friendly versions of Post, Page, Category, and Tag names. You can easily see a slug after your domain name in the URL of a page. Except for the homepage, it identifies all pages on your site.
To help you identify slugs in posts and pages, here in an instructional writing on how to identify slugs in posts and pages.
How to identify slugs in posts and pages
- How slugs work
- How to identify slugs
- About numbers at the end of slugs
How slugs work
A slug will be automatically generated whenever a title is set for a Post, Page, Category, or Tag.
Slug is a part of the URL which indicates to one specific page. It has a tendency to be almost the same as the title that you set for that page.
The difference between a slug and a title is that slug only contains letters and numbers while the title can contain spaces or currency symbols.
In the case when the title contains spaces or symbols, those special characters will be replaced by URL friendly equivalent or be removed completely out of the slug. For example, when the title has more than one word and each word is separated by spaces, all the spaces are changed into hyphen ( – ) in the slug.
How to identify slugs
Posts and Pages
In order to view the slug for a post or page, you need to go to My Site(s). After that, click on either Blog Posts or Pages displayed on the menu.
The next thing to do is to click Edit from the dropdown which is located next to the item that you want to find the slug for:
In More Options in the menu which can be seen on the Edit Screen, you can easily see the slug.
In this section, WordPress allows you to make changes in the slug when you do not want to use the default created by WordPress.
Categories and Tags
Please note that, in this section of the guide, the instructions are referring to the WP Admin dashboard. Only by adding
/wp-admin to the end of your site’s URL, you will be directed to this dashboard immediately, for example,
After opening the Dashboard, to identify the slug for a category or tag, you need to go to Posts -> Categories or Posts -> Tags.
After the Category or Tag page is fully loaded, on the right of all your current items, there will be a listing like in the following picture. In the column named ** Slug**, you can see the slug for each category or tag.
About numbers at the end of slugs
In some cases, there is a number at the end of a slug, but there is none in the title. This is when the same slug is being used twice or more.
Since slugs are used to identify each post, page, category or tag, it’s a must that each slug must be different from another.
To illustrate this situation, for example, you wrote a post and set the title as “Happy New Year!. By default, the slug for that post would be
If the same title were to be used for the following year, the slug would be
happy-new-year-2. This happens to ensure that the addresses for each post are different.
However, if you do not like the default settings and want your slug to be something unique, you can edit the post and identify the current slug, then modify it right there.
With this instructional writing on how to identify slugs in posts and pages, we hope that you can easily identify the slugs and modify it in the way you want.