Slug Usage Best Practices And Optimization Tips

Visualmodo
visualmodo
3 min readNov 7, 2019

--

In this article, you’ll learn what is, the best practices and optimization tips for your slugs. If you want to run a successful and effective SEO campaign for your website or blog, you’ll inevitably have to optimize your website slugs. Despite being such a simple method to optimize your website’s SEO, not many new website owners or administrators know what they are and how to use them.

Slugs on WordPress

In WordPress, the slug is the part of your URL that you can edit when writing a new post. Note that this only works with the right permalink settings. Editing your slug in WordPress looks like this:

Things like the date or category name that are sometimes included in URLs, aren’t part of the slug. And if you have added more variables to your URL, the slug is still just that editable part of the URL to the page, like this: There’s an additional value at the end of that URL. In this case, that extra variable is used so slugs can be the same without the URL is the same.

SEO x Slugs

Writing a good slug for your page or post can positively affect your SEO. It allows you to do the following things:

Slug Keyword

The main SEO benefit of a slug is that you can change the words to make sure that it has the words that you really want to rank for. It’s one of the indicators Google uses to determine what a page is about.

Friendly URLs

The URL is also one of the things that people see in the search results. Picture a results page: you’ll see many different URLs about a certain topic, right? So you need to make sure your structure is in line with what people expect to see. For example, our main article on WordPress SEO has the URL visualmodo.com/wordpress-seo, which is very on point. People are a lot more likely to click on that, than on visualmodo.com/?P=613458, even though that’s the slug that WordPress creates by default.

Slug Optimization

What are the things you need to think of when constructing the right slug for your post or page? Let’s go over four steps of optimizing your slug:

A Small Tweak That Makes a Big Difference

Optimizing your slugs to be more search-engine friendly might seem too simple to be of any real use. However, its simplicity is one of the key reasons why it’s such an effective tool to rank your website in SERPs. It’s in a format that’s easy to read for both humans and computers, and it corresponds directly to your webpages and content.

Now that you know what slugs are, how they’re used, and some fundamental best practices, you have all the tools you need to optimize the slugs for your website or blog. Sometimes, winning the SEO race comes down to very small margins, which means every angle is worth exploring.

Add Keyword

This is probably a no-brainer, but for the record: your keyphrase should be in the URL. It has to make clear what your page is about immediately. The SEO analysis in the Yoast plugin will show this message if your keyphrase isn’t in the slug:

The slug that’s generated by default may include function words like “a”, “the” and “and” and similar words. In some cases, you might need those in the slug to clarify what your page is about, but usually, you can leave them out. We have written a tad bit more on these words in our WordPress SEO article

--

--

Visualmodo
visualmodo

WordPress Websites that millions of people use every day. We’re building responsive WordPress themes since 2010 and are the profissional choice for everyone!