An URL slug is a part of the link, which helps to improve website SEO. It is a brief description of the page, which lets users and search robots understand the content. The correct slug optimization increases the website in ranking.

Learn the most important rules on how to create a perfect URL slug.

1. Add key queries to a slug.

With using keywords in a slug, you help search engines to index and rank page correctly. Users at once may guess the main idea of the web page.

For example, you are going to promote an article about the importance of an URL slug. The title of your page is “7 reasons why URL slug is important for website SEO.” Any blog service will automatically create a slug like “7-reasons-why-url-slug-is-important-for-website-SEO.” However, this kind of slug may confuse both Google and users.

Therefore, optimize a slug by including only the main keywords. A slug may look like “slug-importance.” This is a brief and clear version. Search robots may easily understand by which keywords you want to rank the page.

2. Delete stop-words.

This step is also a part of a slug optimization. Stop-words are commonly used words, which search engines usually ignore. Stop-words include conjunctions, pronouns, prepositions, particles, etc.

3. Use hyphens to divide words in a slug.

Use only a “-” symbol to divide words. This symbol is easy-to-type, as it doesn’t require using an additional button.

4. Optimize a slug length.

Short slugs are easier to understand and process than long ones. During crawling and page indexing, search engines match the users’ search queries with the slug. If an exact match is found, this page will have an additional advantage over other pages, which use longer slugs.

Remember that URLs are displayed in search results, so short and clear slugs have a positive effect on the CTR and page traffic.

5. Use lowercase letters.

Avoid using uppercase letters, as some service may understand a “” URL as completely different one: “” or “”


Slug is a part of an URL, which has to be unique for each page. With, you may customize a slug, and make your link short and memorable.

Note: In case you edit a slug in an already published article, remember that this lead to a complete URL change. Customize a 301 or 404 page not to mislead users and robots.

What did you learn?

  • How to create a seo-friendly slug?
  • How slug influence website ranking?
  • Whay do you need short slug?

Read also: