// wordpress & cpanel how-tos
What does slug mean in WordPress?
If you've been blogging for a few days, or even a few weeks, you've probably wondered about the "slug" field on your posts and categories. Beginners often change it without knowing what it does, and that can hurt their SEO later.
What a slug is
In WordPress, the slug is the part of the URL that identifies one post, page, category or tag. It's the readable version of the title, in lowercase with hyphens between the words. For this guide, the slug is what-does-slug-means-in-wordpress, and the full URL is your domain plus that slug (and whatever your permalink structure adds).
WordPress creates the slug from your title automatically when you first save the post. You can change it in the editor: in the block editor, open the post settings in the sidebar and click the URL under Summary. For categories and tags, go to Posts → Categories and click Edit on one.
Do you need to edit the post slug?
For years, people removed "stop words" like "a", "the" and "does" from their slugs to make them short and "clean" for search engines. I don't do that anymore. Google is smart enough to understand any readable URL, and its own guidance only asks for URLs with words that make sense to people.
The problem with cutting words is that the URL often becomes unreadable. If I turned this guide's slug into slug-means-wordpress, it would look unfriendly to both readers and crawlers. So I recommend leaving the slug as WordPress creates it, with a few exceptions: when the title is very long, remove the part that isn't useful in the URL, and drop a year or number you'll want to update later (like "2026" or "7 tips").
Category slugs
For categories, use the category name as the slug. WordPress adds a hyphen between words automatically. Keep category slugs short and descriptive, because they may appear in many URLs if your permalink structure includes the category.
Changing a slug after publishing
Whatever the slug is used for, changing it after publishing changes the URL. Every link that points to the old address, from other sites, from social posts and from your own pages, can break and lose the value it brought.
WordPress itself tries to redirect a changed post slug to the new one, but it doesn't do that for categories and pages in every case, and it forgets if you delete the post. So if you change a published slug, add a 301 redirect from the old URL to the new one, with a plugin like Redirection or in your .htaccess file, and update your internal links. If the post already ranks and earns links, the safest choice is to leave its slug alone.
FAQ
What is a slug in WordPress?
The slug is the part of the URL that identifies a post, page, category or tag. WordPress creates it from the title in lowercase with hyphens, and you can edit it in the editor's sidebar or on the category edit screen.
Should I remove stop words from WordPress slugs?
You don't need to. Google understands readable URLs, so a slug that matches the title is fine. Shorten it only when the title is very long, or remove words like a year that you'll want to change later.
What happens if I change a post slug?
The URL changes, so links to the old address can break. WordPress usually redirects old post slugs automatically, but add a 301 redirect yourself to be safe, and update your internal links.
SOURCES
Prices and limits change. We note the date we checked each one; confirm on the provider's site before you buy.