3 Simple Methods to Create Custom WordPress Permalinks

Are you facing problem to Create Custom WordPress Permalinks for pages, posts, and other post types? The Permalinks means your page URL structure plays an important role in SEO.

Here, in this post, we are going to show you how to create custom permalinks in WordPress without affecting your SEO.

What is a Custom WordPress Permalink?

Although, the WordPress comes with an easy option to create a SEO friendly URL structure called Permalinks for your site. Now all you need to go to the Settings>>Permalink Page and select the URL structure.

There are several options to choose from, and you can also specify a custom structure.

However, choosing Permalink Structure affects all pages and posts (both old and new) on your WordPress website. So you have to be careful when changing it.

But what happen, if you want to use a different URL for just few posts on your website? What if you want to keep the custom permalink for your custom post types?

Maybe you want to keep custom permalink for your categories and tags? It happens when you need a custom permalink.

The Custom Permalink is generally a URL structure applied to that particular item in WordPress without affecting your URL structure.

Now let’s see:

How you can create custom permalinks in WordPress?

Creating Custom Permalinks in WordPress

There are two ways to create custom WordPress permalink. Often whenever users are talking about changing Permalink of WordPress post, they are actually talking about Post Slug. We will illustrate you how to change the post slug.

But in few cases, the users want to create a completely custom URL structure, and we will also show you how you can do this in WordPress.

Method 1. Changing The Slug Part of a Permalink

In WordPress, the word slug is used for the URl friendly name of a page, post, category, or tag. It is generated automatically by WordPress and when you create a new item, it is used in the URL.

For example, a post titled “20 Most Amazing Coffee Shops in California”, WordPress will generate a post slug like this 20-most-amazing-coffee-shop-in-California.

Depending on the Permalink structure, your post URL will look something like this:


Same thing occurs for your custom post types, tags, pages, categories, custom taxonomy etc.

Now if you want to change that slug part of Permalink, then it is easy. You can do this without having to install any plugin or without writing a code.

Method 2. Changing Slug of a Post or Page

The easy and simple way to change the slug part of the URL for WordPress page and post, or to edit them on a custom post types.

On the post edit screen, just below the post title and after that you will see the post URL with an edit button that is next to it.

By clicking on this edit button, you can change the post slug. You can use alpha-numeric characters and dashes in your post slug.

For another SEO friendly URL, ensure that you select a post slug which includes keywords that people will use to search for that content.

Changing Slug of Categories and Tags

It is also very easy to change slugs of categories and tags. Just go to the Post>>Categories and WordPress will show you a list of categories.

You can move your mouse in a category and click on the Quick Edit link. However, WordPress will show you the title of the category, and its URL slug. Now you will have to change the URL slug and then click the update button to save your changes.

Although, the same method applies custom taxonomies and tags as well.

Method 3. Creating Completely Custom Permalinks

Changing the post slug does not change your actual permalink structure. What if you want to change Permalink for post, page, single post, or taxonomy?

For example, if your post URL is like this:


And you want to change it like this:


Let’s see another example.

Your category URL in WordPress is like this:


For that particular category, you wish to change it like this:


Normally you have to change your permalink structure, but this will affect all URLs on your site.

Here’s how you can secure a safe permalink without affecting any other URL on your site.

The very first thing you have to install the Custom Permalinks plugin and then activate it. To know more, click on how to install a plugin in WordPress.

After activation the plugin, simply you can edit a page or post and change its URL as you wish.

Also, you can edit the tags and categories. Just go to the Post>>Categories and click the Edit link below the category you want to change.

On the edit category page, scroll down to the bottom and you will see the Custom Permalink field.

You can do the same for custom taxonomies and tags.

Setting up Redirects for Custom Permalinks in WordPress

When you are adding custom permalinks to a new post, you don’t worry about the redirects.

On the other side, if you are changing the URL of the previously published post, you need to set up the appropriate redirects.

The users that coming to the old address of search engines and other websites will not be able to find that page unless you set a redirect.

This is also for your categories and tags. If a category/tag store page was indexed, then it will be unavailable when you change the URL.

You will need to redirect the users and search engines to the new address.


Here, we have discussed How To to Create Custom WordPress Permalinks?

Often, we concluded 3 methods step by step. Thus, we hope this blog will help you to Create Custom WordPress Permalinks.

However, If you have any problem with the same, then, let me know in the comments section. Infect, If you liked this post, please share it with your peers.

Leave a Reply