Coming up with a clear and catchy URL may be quite hard. Sometimes, you would possibly think about a much better URL right after you’ve published your page. So, what does one do then? If you’re not careful, you may ruin your SEO with 404 errors. But don’t worry, we’ll tell you the correct way to change your URL!
Why change a URL?
A good way to optimize your URL is to form a user-friendly slug. So, what exactly is slug? A slug is part of a URL that comes after the domain name and contains the post or the page title. in the example within the video, the initial slug is: how-to-change-a-URL-in-WordPress-without-screwing-up. In other words, the slug is a part of the URL that explains the content of the post or the page.
There are different reasons why you’d want to alter the slug. It should be that the slug is extremely long, like in this example. Or, maybe the old slug doesn’t fit the content on your post/page and now you’ve come up with a far better one.
Don’t just go changing URLs for the sake of it. Better not to update URLs of posts or pages that already rank high. When a post does well within the search engines, there’s no need to fix it!
How to change your URL: Step-by-Step
Luckily, there’s a simple way to change and/or improve the slug. The redirect manager instantly helps you whenever you modify the slug, so you’ll easily create a redirect and stop 404 errors! Here’s how:
- Go to post editing screen
- Search for the post you’d prefer to change
- Click ‘quick edit’
- Change the slug in ‘change slug’ field
- Click update
The redirect manager now automatically creates a redirect. So, you don’t worry that readers will find yourself on a 404 page!
There is also a different way to change the slug, in the post editor screen. Click on the post to open the post editor.
- On the right-hand side, in sidebar, you’ll see ‘Permalink’
- Click to unfold
- Change the slug under ‘URL slug’
- Make sure to click update if you’re pleased with your new slug
Again, the redirect manager automatically redirects the URL, so you’re good to go! Did you recognize , by the way, that the redirect manager isn’t the one handy feature in Yoast SEO Premium?
Creating an honest slug
Now you will know how editing the slug works. But, do you know what makes an honest slug? If you wish to optimize your slugs, we recommend including your keyword and to stay them short and descriptive. ensure to check if there are any unnecessary words. If there are, edit them out! Good luck!