How to create a slug
- Type or paste your post title.
- Press Run tool.
- Copy the slug and paste it into the URL or permalink field in WordPress.
In the block editor, you will find the slug in the post settings sidebar under URL. In the classic editor, click Edit next to the permalink below the title.
What the generator does
The tool makes the same kind of slug WordPress would make, with a little more clean-up:
- Converts everything to lowercase.
- Removes accents, so "Café Menü" becomes "cafe-menu".
- Replaces spaces, punctuation and symbols with a single hyphen.
- Removes hyphens from the start and end.
Letters from other scripts, such as Tamil, Hindi or Cyrillic, are kept and shown in percent-encoded form, which is how they travel in a real URL. Browsers display them normally in the address bar.
What makes a good slug
The generator gives you a clean starting point. A good slug usually needs one more step from you: making it shorter. The title "10 Best WordPress Caching Plugins for Speed in 2026 (Tested)" produces a long slug. Something like best-wordpress-caching-plugins is better. Here is why:
- Short slugs are easier to read and share. People see the URL in search results, in chat apps and on social media.
- Leave out the year. If the slug contains "2026", you will either keep an outdated URL next year or change it and need a redirect. Put the year in the title, not the URL.
- Leave out numbers that may change. "10-best" becomes wrong the day you add an eleventh item.
- Drop filler words such as "a", "the", "and", "for" and "to" when the slug still reads naturally without them.
- Keep the main keyword. It does not need to be an exact match, but the slug should tell people what the page is about.
Slugs are a small ranking signal at most. Their bigger value is clarity, and a clean URL often gets a few more clicks than a messy one.
Changing the slug of a published post
Be careful here. Once a post is published, changing its slug changes its URL. Links from other sites, social shares and Google's index all point to the old address. WordPress tries to redirect old slugs for posts automatically, but that does not always work for pages, custom post types or after a migration.
If you do change a slug, add a 301 redirect from the old URL to the new one. The htaccess redirect generator can write the rule for Apache and LiteSpeed servers. Then check it with the redirect checker.
Permalink settings
A slug only matters if your permalinks use it. In WordPress, go to Settings > Permalinks and choose Post name for most blogs. Structures that include the date make URLs longer and make content look old sooner. Change this setting on a new site. On an established site it changes every URL, so it needs redirects and planning.
Frequently asked questions
Does WordPress remove stop words from slugs?
Not by default. Some SEO plugins offer this, but it often produces odd slugs. I prefer editing slugs by hand.
Can two posts have the same slug?
No. WordPress adds "-2" to the second one. If you see that, it usually means a draft, an attachment or a trashed post already uses the slug.