WordPress GuideBuild → Change Permalinks

How to change WordPress permalinks for one category only

Sometimes, the default WordPress category URL just doesn’t cut it. Maybe you want cleaner URLs, better SEO targeting, or custom slugs that reflect your brand voice. The good news? You don’t need to change your entire permalink structure—just the one category you care about.

Let’s walk through how to change a single category’s permalink using a plugin or custom code, plus how to handle redirects, test your changes, and improve SEO.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

1. Use a plugin to change a single category permalink

This method is best for beginners or non-developers who want a quick, reliable solution without touching theme code.

Option A: Custom Permalinks plugin

This plugin works on posts, pages, and taxonomy slugs. It’s simple and effective—but doesn’t offer bulk editing or advanced automation.

Option B: Permalink Manager Lite plugin

Permalink Manager is especially helpful if you need more granular control, work with multilingual plugins, or want to tweak multiple taxonomy types.

2. Modify your theme template files (advanced method)

Developers can change category permalinks directly in theme code for total control.

Step 1: Create a child theme

To preserve your changes through theme updates, generate a child theme using the Create Block Theme plugin:

Step 2: Identify the correct template file

Most themes use category.php or archive.php for category archive pages. If those don’t exist, check for a fallback like index.php.

You can then use WordPress’s template hierarchy to confirm.

Step 3: Filter the permalink structure

Add the following code to your child theme’s functions.php file:

Replace ‘news’ and ‘/insights/’ with your actual category slug and new URL.

Step 4: Add rewrite rules

To make the new permalink work properly, add this:

Then go to Settings > Permalinks and click Save Changes to flush rewrite rules.

3. Set up 301 redirects to preserve SEO

When you change a permalink, your old URL can break unless you redirect it.

Option A: Use a redirection plugin

Option B: Manual .htaccess redirect

If your server runs Apache, add this to your .htaccess file:

Be sure to back up your .htaccess file before editing it.

4. Test and troubleshoot your changes

After editing a permalink, make sure everything works properly.

How to customize child category permalinks separately

You can also apply different slugs to subcategories without changing the parent.

With a plugin

Both Custom Permalinks and Permalink Manager let you edit individual subcategories directly. Just repeat the same steps for each one.

With code

In your functions.php, check if the category has a parent:

SEO tip

Flattening or simplifying child category URLs helps streamline user navigation, especially for ecommerce or content-heavy sites.

The SEO implications of changing permalinks for one category

Changing permalinks can help or hurt SEO depending on how you handle it.

Pros:

Cons:

Best practices:

Benefits: Why change the permalink for just one category?

Customizing a single category URL can be a smart move for targeted SEO, branding, or user experience.

Additional resources

How to build a WordPress site →

A complete beginner’s guide that covers 9 key steps to a successful launch

Give your website the dark mode treatment (WordPress) →

Learn how to enable dark mode on your WordPress website to enhance user experience and reduce eye strain.




































How to use WordPress Gutenberg blocks →

A complete beginner’s guide to Gutenberg blocks