Change WordPress Post Slug

Home » Knowledge Base » Design Tools » WordPress » Change WordPress Post Slug

We’ve already covered what a permalink is and how it is important for your website. Your search engine ranking and user experience.

In this article, we’ll focus on the last building block of a permalink. And that is the slug. The slug, as a part of the permalink, affects your website in pretty much the same way. Meaning, that changing slugs can affect your search engine rankings, user experience, and the work of the developers.

The differences between changing a post slug and changing the permalink structure are:

  • Scale – the permalink structure change affects the website as a whole while changing a slug, only affects the pages/posts you are working on.
  • Reversibility – once you change the permalink structure, if you decide to go back to the previous one, there most likely will be issues with some slugs. If you change a slug, you can easily get it back (if you remember the previous one).
  • Simpler troubleshooting – If you must change the permalink structure, issues will be all over your website, while if a slug should be changed the potential issues could be fixed with a simple 301 redirect.

 

NB! This is not to say that one is better than the other. This is impossible, as they are both part of the same thing.

 

How to Change Post Slug in WordPress

The slug is that part of the permalink that identifies the exact page, post, or category.

Say, you are writing an article about the polar bears. WordPress will automatically generate the slug, using the title. But you can easily change it to whatever you want.

Of course, we highly recommend keeping the slug relevant to the article’s title. If the title you’ve chosen is something like Basic Facts About Polar Bears you can change the post slug to be /polar-bears/. So, when a user enters the article he or she will see the title, but the post will be located at www.yourgreensite.com/polar-bears/.

You can make that change at any time. Yet, much like with permalinks, best practices are to set and forget. Meaning, to never change it.  Yet, maybe you’ve misspelled something. Bear in mind that if the page is old and well-ranked it most likely will be better off as it is.

If you insist on changing it, and your website is too new, or not well ranked, or the post itself is new, here is how to change the post slug.

Right below the post title bar, you can see the post permalink. If the post is assigned to a category the permalink ought to be something like https://domainname.com/category-name/post-slug.

Right next to the link you can see an Edit button. Should you decide to change the automatically generated post slug, click that button and change it to your liking.

Check and double-check for mistakes. If there are none, you can click the OK button that is now there instead of the Edit one.

Find out how to optimize post slug.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Install MediaWiki

You can quickly install MediaWiki on any of the AwardSpace web hosting plans. This includes our free web hosting, shared hosting, as well as advanced services such as semi-dedicated hosting and VPS hosting. You can install MediaWiki in a matter of minutes, whichever...

How to Install an Elgg Theme

After you have installed Elgg core and logged in to the admin dashboard, you can search for themes that can help you customize your new website. Elgg themes are a set of files that help you customize the appearance of your website. Via themes, you can modify website...

How to Log in to Elgg

After you install Elgg, it is time to log in to the CMS, so you can start working on your Elgg website. To log in, you should load the Elgg login page and type in your credentials to access the platform’s admin dashboard. In the following paragraphs, we share how to...

How to Install Elgg

You can quickly install Elgg with any of the AwardSpace web hosting plans. You can use our free web hosting, shared web hosting, or advanced hosting plans such as semi-dedicated hosting and VPS hosting.   How to Install Elgg To install Elgg, you should first sign...

How to Change the PHP Timezone

Setting the correct timezone in PHP is crucial for ensuring that date and time functions in your scripts operate accurately. AwardSpace offers a range of hosting plans that provide easy management of PHP settings, including timezone configuration. This article will...

How to Disable PHP Error Messages

When running a PHP-based website in a production environment, it's crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.