Back to WordPress Glossary

What is a Permalink?

A permalink is the permanent URL of an individual post, page, or archive page on a website; the name is short for “permanent link,” because the address should never change once published. WordPress generates permalinks automatically and lets you customize their structure under Settings > Permalinks.

More About Permalinks

WordPress permalinks are the permanent URLs of your posts, pages, categories, and other archive pages. “Permalink” is short for “permanent link”: once an address is published, it shouldn’t change, because other sites, bookmarks, and search engines all point to it.

The six permalink structures in WordPress

You set a permalink structure once for the whole site, and WordPress offers six of them:

  • Plain: example.com/?p=123. The default on a fresh install. It works on any server, but the URL says nothing about the page.
  • Day and name: example.com/2026/08/06/sample-post/
  • Month and name: example.com/2026/08/sample-post/
  • Numeric: example.com/archives/423, built from the post’s ID in the database.
  • Post name: example.com/sample-post/
  • Custom structure: a pattern you build from tags, such as /%category%/%postname%/

Readable, keyword-bearing structures like Post name are known as pretty permalinks. They depend on server configuration your hosting provider sets up, so if pretty permalinks won’t work on your site, contact your host.

Which permalink structure to choose

Use Post name for most sites. It’s short, readable, and puts the post’s keywords in the address. Pick Day and name or Month and name only where dates carry real meaning, such as a news archive. WordPress.org’s permalinks documentation backs the readable choice: it calls pretty permalinks “SEO-friendly” and says the Plain setting “is not user-friendly and also not optimized for search engines.” Whichever you choose, set it when you create the site and leave it alone.

Permalink vs. slug

The permalink is the full permanent URL of a piece of content, like https://example.com/blog/sample-post/. The slug is only the final, editable segment: sample-post. WordPress creates the slug automatically by sanitizing the post’s title, so “This Is A Great Post!” becomes this-is-a-great-post, and you can edit it in the post editor before you publish.

A full permalink URL broken into its named segments: protocol, domain, path, and slug. A bracket over the whole address marks it as the permalink, while only the final highlighted segment is the slug — showing the slug is one editable part of the permalink, not a synonym for it.

Whether the slug shows up in the address depends on your structure. Plain links by database ID instead, so choose Post name, or any custom structure that includes %postname%, if you want title-based permalinks.

How to change permalinks without breaking your site

In the WordPress dashboard, go to Settings > Permalinks, select one of the six structures or enter a custom one, and click Save Changes. Saving the screen also regenerates the rewrite rules WordPress uses to match URLs to content. To change the address of a single post rather than the whole site, edit its slug in the post editor instead.

Be careful on an established site. WordPress.org’s documentation is blunt about it: these URLs “are permanent and should never be changed — hence the name perma link.” Know what the setting actually touches, too. The structure you pick mainly governs your post URLs. Pages take their addresses from their own slugs, and category and tag archives use separate bases you can set under the Optional section of the same screen. Post URLs that no longer match the new structure can start returning 404 errors, and any inbound links, bookmarks, and indexed results pointing to them break until redirects are in place.

If you must switch, treat it like a small migration. Inventory the URLs that will change, create a one-to-one 301 redirect from each old address to its new one, and test the redirects after you save the change. Then update your internal links and XML sitemap, and watch your crawl reports for 404 errors over the following weeks.

For a full walkthrough, including how to create the redirects, see our guide to managing your WordPress permalink structure.

Frequently Asked Questions

Pretty permalinks depend on your server’s rewrite configuration. The standard first fix is to reopen Settings > Permalinks and click Save Changes, which rebuilds WordPress’s rewrite rules. If 404s continue, ask your host to check the server’s rewrite setup, such as the .htaccess file on Apache.
Yes. Edit the slug in the post editor’s URL panel; your site-wide permalink structure stays untouched. The old address breaks the moment you save, though, so add a 301 redirect from the old URL to the new one if the post has already been shared or indexed.
Not quite. Every permalink is a URL, but a permalink carries a promise: it identifies one piece of content and shouldn’t change. Other URLs, like search results with query strings, are temporary by design. That permanence is what makes a permalink safe to bookmark, cite, and index.
Special Offer

Powerful WordPress Hosting

Reliable, lightning-fast hosting solutions specifically optimized for WordPress. Find the perfect plan for you by clicking below.

WordPress Hosting Plans