What makes a good URL slug
Short and clear
A few meaningful words are easier to read, share and remember.
Include the keyword
The main topic in the URL helps people and search engines understand the page.
Use hyphens
Google recommends hyphens to separate words in URLs.
Avoid dates
Leaving out the year lets you update the post later without changing the URL.
Changing an existing slug
If a page already has traffic or links, changing its slug breaks the old URL. Add a 301 redirect from the old address to the new one so you keep visitors and rankings.
Frequently asked questions
Should I use hyphens or underscores?
Hyphens. Google treats hyphens as word separators, which makes slugs easier to read.
Should I remove stop words?
Often, yes, to keep slugs short. Keep them if removing them changes the meaning.
Should I include the year in a slug?
Usually not. A slug without a year can stay the same when you update the content.
How long should a slug be?
There’s no fixed rule, but three to six meaningful words is a good target.