Changing slug after publishing post becomes a confusing decision for bloggers or SEO professionals. The fear of losing website traffic prevents them from changing the URL slug which eventually becomes a wrong decision.
Moreover, the problem pops up in form of error 404 which haunts everyone who is trying to edit the slug, post publishing the blog.
Are you also facing trouble while editing the URL slug? Don’t worry. This blog will guide you on the ways to change slug without facing error 404 and without losing the gems (traffic).
What is URL Slug?
A slug is a part of the permalink and it includes a set of words that come later to your website domain name. For example, while publishing this blog post, WordPress automatically picked up the post title as a slug. Here is how it looked.
Before changing Post Slug
However, visually it looks SEO friendly, but it’s not, since it includes a lot of stop words. Using too many stop words (a, an, the, are, to, with) in slug is not at all recommended while optimizing for specific keywords. That’s why we had to edit it, see how the permalink looks after changing the slug.
After changing Post Slug
Now you must be wondering, do I need to change the Slug for all the old blogs. Well, we are not recommending you do that, but changing slug for already published non-performing blogs would be a wise decision.
Worried about changing slug after publishing post? Use 301 permanent redirects to change the post URL or permalink structure. The next section describes the slug changing strategy in detail.
What to do for Changing Slug After Publishing Post in WordPress?
If you are trying to change the slug after publishing a post, then you need to play safe and be wise while taking a step further. Editing a slug for an already posted blog requires you to use the 301 redirect feature.
Changing slug without it will result in a broken post. It simply means that if the search engine has already indexed the page, and you are editing slug later then clicking over those links will lead to a 404 broken page. The succeeding steps explain how you can safely change slug even after publishing a post without losing traffic.
- Install the free redirection plugin in WordPress. It comes built-in for Yoast SEO premium users.
- Make sure you install a 301 redirection.
- Now click Tools.
- Select Redirection.
For illustration, we are considering the previous example.
- Our blog was posted with URL : (Source URL)
- We want to change it to (Target URL)
Here’s what we have to do:
- Under Add new redirection form, fill old URL under Source URL, and new URL under Target URL.
- In the Match section, fill URL only.
- Under the Action category, choose Redirect to URL.
- Click Add Redirection thereafter.
Now when someone will click on the old URL, he/she will be redirected to the new URL. You can perform a similar action on your non-performing blogs.
Blog not performing! Get it analyzed from SEO experts today!
Now your blog is ready to boost on search engines after changing slug. These steps will help you edit slug without facing error 404. If you are doing it on an already posted blog, then make sure to leverage 301 per a redirect.
Facing issues changing slug after publishing post? Worried about losing traffic? Take affordable SEO services to grab a stronghold of your website. We are a dedicated team of SEO experts who can help you prevent losing traffic with some smart tricks.