How to change a URL in WordPress

February 6, 2020
how-to-change-a-url-in-wordpress How to change a URL in WordPress

Coming up with a clear and catchy URL can be quite hard. Sometimes, you might think of a better URL after you’ve already published your post or page. So, what do you do then? If you are not careful, you could mess up your SEO with 404 errors. But don’t worry, we’ll tell you the right way to change your URL! 

Why change a URL?

A good way to optimize your URL is to create a user-friendly slug. So, what exactly is a slug? A slug is the part of a URL that comes after the domain name and contains the post or the page title. In the example in the video, the initial slug is: how-to-change-a-URL-in-WordPress-without-screwing-up. In other words, the slug is the part of the URL that explains the content of the post or the page. 

There are different reasons why you’d want to change the slug. It may be that the slug is too long, like in this example. Or, maybe the old slug doesn’t fit your post/page precisely and now you’ve come up with a better one. Or, you might have changed the content of the page a bit.

How to change your URL: step-by-step

Luckily, there is an easy way to change and/or improve the slug. When you use Yoast SEO Premium, the redirect manager instantly helps you whenever you change the slug, so you can easily create a redirect and prevent 404 errors! Here’s how:

  1. Go to post editing screen
  2. Search for the post you’d like to change
  3. Click ‘quick edit’
  4. Change the slug in the ‘change slug’ field 
  5. Click update

The redirect manager now automatically creates a redirect. So, you do not need to worry that readers will end up on a 404 page! 

There is also another way to change the slug, in the post editor screen. Click on the post to open the post editor. 

  1. On the right-hand side, in the sidebar, you’ll see ‘Permalink’
  2. Click to unfold
  3. Change the slug under ‘URL slug’
  4. Make sure to click update if you’re happy with your new slug

Again, the redirect manager automatically redirects the URL, so you’re good to go! Did you know, by the way, that the redirect manager isn’t the only handy feature in Yoast SEO Premium?

Creating a good slug

Now you know how editing the slug works. But, do you know what makes a good slug? If you want to optimize your slugs, we recommend including your keyword and to keep them short and descriptive. Make sure to check if there are any unnecessary words. If there are, edit them out! Good luck!

Read more: What is a slug and how to optimize it? »

Source

Share this article:
 

eHost managed wordpress hosting

We’re listening.

Have something to say about this article? Share it with us on Facebook, Twitter or LinkedIn:

SHARE IT HERE:

Related Posts

Goodbye Featured Themes, For Now

Goodbye Featured Themes, For Now

Front page of the theme directory, featuring popular themes.Yesterday, the featured themes page was quietly removed from the WordPress theme directory. Previously, it was the primary page users would see when visiting the directory. It has now been replaced with the...

How to make a WordPress website

How to make a WordPress website

Have you always wanted to create your own website? WordPress is the way to go! Whether you want to create your own personal blog, an online store, or a business website – with WordPress, creating your own website is easy as pie. If you know what you’re doing, of...

Publishing Break

Publishing Break

The Tavern is taking a break for the week as both of its authors are out. We’re happy about expanding families, and saying “boo” to the flu. In the meantime, here are some of my favorite WordPress-powered sites that I follow and learn from: Finally, the podcast I did...

Get ALL Your SEO, WordPress & Divi News

Join Our Daily Roundup

SEO News and More

SEO News and More

Subscribe ToThe Weekly SEO Trade News Updates

Get the latest SEO, SEM and SMM marketing intel, tips and tricks from one of the best SEO Gurus online. 

Every Tuesday morning we send out an aggregated email listing all new posts on SEO Trade News.

Excellent! Now check your email to confirm your subscription.