What Is a Permalink Slug? A Beginner's Guide

July 7, 2026 · 5 min read
Try the toolText to Slug →

If you have used WordPress or another content platform, you have seen the word "permalink" and "slug" and maybe wondered what exactly they mean. They are simple ideas that have a real impact on how readable and search-friendly your URLs are. Here is a beginner-friendly explanation of both, and how to write good ones.

Permalink vs slug

A permalink is the full, permanent URL of a page — the whole address like yoursite.com/blog/how-to-bake-bread. The slug is just the readable, page-specific part at the end: how-to-bake-bread. So the slug is a piece of the permalink. The word "permalink" is short for "permanent link," reflecting the idea that once a page is published, its URL should stay stable so links to it keep working. The slug is the part you usually get to customize.

How slugs work in WordPress and other platforms

When you create a page or post, most platforms automatically generate a slug from the title. Publish a post called "How to Bake Bread" and WordPress creates the slug how-to-bake-bread. Shopify, Ghost, Wix, and static site generators all do something similar. The auto-generated slug is usually editable — WordPress shows a permalink field under the title where you can change it before publishing. The auto version is often longer than ideal, which is your cue to trim it.

Why slugs matter for SEO

A good slug helps both readers and search engines. It tells them what the page is about before they click — /how-to-bake-bread is instantly clearer than /?p=4827. Search engines use the words in the slug as a signal of the page's topic, and a slug containing your target keyword reinforces relevance. Readers are also more likely to click and trust a clean, descriptive URL. A clear slug is a small SEO and usability win that costs nothing but a moment's attention.

The TextCaret Text to Slug tool turns any title into a clean, keyword-focused slug you can paste into your permalink field — lowercased, hyphenated, and free of accents and punctuation.

Writing a good slug

A strong slug is short, lowercase, hyphenated, and focused on the main keywords. Include the page's primary keyword, drop filler words that add no meaning, use hyphens between words, and keep it as brief as it can be while staying clear. Avoid dates and numbers unless they are meaningful, since they can make a URL feel dated. And critically, get it right before publishing.

The one rule: don't change a live slug casually

Because a permalink is meant to be permanent, changing a slug after publishing changes the URL, which breaks every existing link to the page and can lose its search ranking. If you absolutely must change a live slug, set up a 301 redirect from the old URL to the new one so links and ranking transfer over. The best practice is to choose a good slug before you hit publish, so you never have to change it and never break a link.

Try the toolText to Slug →