Does changing a category or tag slug break links?
Yes. Unlike posts, categories and tags get no automatic redirect in WordPress. Change a term's slug and its old archive address returns 404 straight away, together with its paginated pages and feed. Add a 301 from the old address, or use a plugin that records one for you.
Name and slug are separate
A term has a Name, shown to readers, and a Slug, used in the URL. On Posts → Categories, editing the name alone changes headings, menus and breadcrumbs and leaves the address untouched. "Coffee Gear" can become "Equipment" while the archive stays at /category/coffee-gear/.
The address only changes when you edit the Slug field. So the first question is whether you need to. A slug that no longer matches the name exactly is not a problem for search engines or visitors.
What breaks when the slug changes
For posts, core stores each old slug and redirects requests for it. There is no equivalent for terms: nothing is stored, and nothing redirects. After changing coffee-gear to equipment:
| Address | Before | After |
|---|---|---|
/category/coffee-gear/ | 200 | 404 |
/category/coffee-gear/page/2/ | 200 | 404 |
/category/coffee-gear/feed/ | 200 | 404 |
/category/coffee-gear/grinders/ (child category) | 200 | 301 to /category/equipment/grinders/ |
/category/equipment/ | 404 | 200 |
The child row is the exception. A child category's address contains its parent's slug, so renaming a parent moves every descendant archive, but WordPress looks a category up by the last segment of the path. The child is still found under the old parent path, and core redirects to its current address. The renamed category itself gets no such help.
WordPress updates what it generates itself: menus built from the category, category lists, breadcrumbs and the sitemap all use the new address at once. What it cannot update:
- links typed or pasted into post content, widgets and custom menu links;
- links from other sites;
- the address Google has indexed.
If the archive had rankings or backlinks, they are attached to an address that now returns an error.
Post URLs when categories are in the permalink
Sites using a structure like /%category%/%postname%/ have a second effect: every post in the category gets a new URL, because the category slug is part of it.
Here core does help. When a post is requested under a category path that does not exist or that the post does not belong to, WordPress finds the post by its own slug and redirects to its current permalink. So /coffee-gear/burr-grinder-review/ still arrives at /equipment/burr-grinder-review/ with a 301.
That covers the posts, not the archive. And it is one more redirect on every old link, so update internal links afterwards.
Changing a term slug safely
- Decide it is worth it. Good reasons: a typo, a rebrand, a misleading word. Poor reason: wanting it shorter.
- Note the old addresses, including the feed and, if the archive is long, the paginated pages.
- Arrange the redirect before or at the moment of change. In Hydrogen SEO, switch on Auto Redirection in the Redirection Manager; it adds a 301 rule when the slug of a published post, page or term changes. Without it, add the rule by hand: old archive path to new archive path. A rule that matches everything beginning with the old path also covers the paginated pages and the feed.
- Change the slug and save.
- Test the old address in a private window. It should answer 301 to the new one, in a single hop.
- Fix internal links that point at the old address. Search content for the old slug.
- Watch for strays. A 404 monitor will show any old address still being requested, such as the feed.
If your site removes the category base so archives live at /equipment/ instead of /category/equipment/, the same steps apply. Take extra care that the new slug does not match an existing page or post slug, since they would then compete for one address.
If you already changed it without a redirect
Add the redirect now. A 404 that has been in place for days or a few weeks is recoverable: once the old address redirects, links pointing to it count again and Google updates its index on the next crawl. Check Search Console's Page indexing report under "Not found (404)" for the old addresses to confirm which ones Google has seen, and build the rule list from there with the redirect rule generator.
Common questions
Does renaming a category change its URL?
Not if you change only the Name. The URL changes when the Slug field is edited.
Does WordPress redirect old tag URLs after a slug change?
No. Tags behave like categories: the old address returns 404 unless you or a plugin add a redirect.
Will my posts lose their category when I change its slug?
No. Posts are linked to the term by ID, so they stay in the category whatever its slug becomes.
Do I need to resubmit my sitemap afterwards?
No. The sitemap lists the new address automatically, and search engines pick it up on their next fetch.