How to Change Permalinks for WordPress Pages, Posts, Categories, Tags

>How to Change Permalinks for WordPress Pages, Posts, Categories, Tags
  • link

Working on a WordPress website, you’ll find yourself wanting to change permalinks quite often, for different reasons.

The main reason would be that WordPress, by default, adds the titles as permalinks.

StudioPress Theme of the Month

For example, when I save this post as a draft, my permalink will be set as:

/how-to-change-permalinks-for-wordpress-pages-posts-categories-tags/

But I don’t like that, because:

  1. It’s too long. Short and focused URLs are better for both SEO and users;
  2. It has some stop words that don’t add any value (to, for, and even how), and which are usually ignored by Google.

Note that there are cases when it’s best to not remove the stop words because you might end up with something weird that can be in contradiction with your topic. For example, removing the stop words from /dont-start-a-fire-in-your-bedroom/ results in /start-fire-bedroom/.

I usually like to implement the best SEO and user experience practices, whenever possible. Therefore, I’ll edit and change my post’s permalink, like I always do.

Let’s see how.

How to change permalinks for WordPress pages and posts

I’ll show you how to do it for a post, but it’s the exact same process for pages, except they are found in the Pages sections.

Here’s a video tutorial, if you don’t want to read.

Method 1

When you’re in a WordPress post’s editing area, under the title field, the Permalink will be displayed.

Note that, if you’re starting a new post, the permalink won’t appear until you save or publish the post.

In order to change the permalink, you need to:

1. Click the Edit button that’s right next to it.

Edit post permalink in WordPress

2. Change it however you wish and press the OK button.

edit wordpress post permalink

3. Press the Save Draft or Update button.

For this example, I’ve removed the stop words, and the post’s permalink looks like this now:

SEO-friendly WordPress post permalink

I believe it looks much better, and you can still understand what’s the post about.

Method 2

By using this method, you won’t have to be inside the post’s editing area in order to change the permalink.

All you have to do is to:

1. Go to Posts -> All Posts.

2. Hover your mouse cursor over a post and press the Quick Edit link.

Quick Edit WordPress post

3. Change the Slug, which is basically the permalink.

Change WordPress post slug

4. Press the Update button.

Now, let’s see how to change the permalinks for your WordPress categories and tags.

How to change permalinks for WordPress categories and tags

Again, the process is the same for both categories and tags, the only exception being their location.

You can create and edit tags by going to Posts -> Tags. And you can create or edit categories by going to Posts -> Categories.

Unlike posts and pages, when creating categories and tags, WordPress lets you add whatever permalinks you want, right from the start. If you don’t add any, then it will add their names as permalinks.

For my example, I’ll show you how to change the permalink of a category.

Once again, there are two methods, similar to the ones above.

Here’s a video tutorial, if you don’t want to read.

Method 1

1. Go to Posts -> Categories and click on the category that you want.

2. Change the Slug.

Change WordPress category slug

3. Press the Update button.

Method 2

Just like in the post example, we’ll use the Quick Edit feature.

1. Go to Posts -> Categories.

2. Hover your mouse over the category and click the Quick Edit link.

Quick Edit category in WordPress

3. Change the Slug.

Change WordPress category slug

4. Press the Update Category button.

Not that hard, right?

Redirect permalinks after changing them

If a post, page, and so on, has been published – especially if it has been published for a while – and you change its permalink, I strongly recommend creating a 301 redirect from the old URL to the new one.

Why? For several reasons. Let’s see a couple of them.

1. Let’s say that you or someone else shared one of your posts on Facebook.

If you later change its permalink, then the users who will click on your post on Facebook will encounter a 404 Page Not Found error, instead of your actual post, which is not good, right? Because you’ll lose readers.

Think of permalinks as home addresses. If you change your home address and don’t tell anyone, then no one will find you.

2. Let’s say someone links to one of your posts on their blog.

If you later change that post’s permalink, besides “greeting” the visitors from that blog with a 404 Page Not found error, you’ll also lose a valuable backlink that could have helped with your rankings on search engines.

If a redirection is in place, then the “link juice” would be passed on to the new permalink, and the backlink will still have value.

So, it’s always a very good idea to perform a redirect when changing permalinks.

That’s a wrap

Hope you liked the post and found it comprehensive.

Don’t forget to share it to help out others!

You can also follow us on Twitter and subscribe to our YouTube channel.

If you want to start your own WordPress blog, or need a website for your business, our WordPress installation service is at your disposal!

By |2018-08-17T17:16:13+00:00April 3rd, 2018|WordPress|0 Comments

Leave A Comment