Yoast SEO is changing my slug!

Last update: 22 May, 2017

You're probably annoyed if you read this, sorry if that's the case.

If Yoast SEO is changing your slug for you, and you don't want it to, disable the following functionality in the SEO → Advanced→ Permalinks menu.

1
Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'SEO'.
2
The ‘SEO’ settings will expand providing you additional options. If you don't see the 'Advanced' setting in your 'SEO' menu, please enable your advanced settings first.

Yoast SEO > Dashboard (Advanced disabled)

Menu with advanced settings disabled
Enable advanced features

3
Click on 'Advanced'. Yoast SEO > Advanced
4
Click on the 'Permalinks' tab and toggle 'Stop words in slugs.'
Selecting remove will potentially make shorter URLs.
Selecting keep will retain the default WordPress generated URL.
kb-changing-my-slug

What is it meant to do?

The feature is meant to remove so called stop words from your slugs, thereby creating shorter, more recognizable and even memorizable URLs.

So, essentially, it's a feature, not a bug.

What is this "slug" thing you talk of?

The slug is the part of the URL that distinguishes the post or page, so in this URL:

http://example.com/hello-world/

The slug is hello-world.

Was this article helpful? ·