BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Permalink: What it is and how to choose a structure

A permalink is the permanent URL of a post or page. Pick a readable structure before you publish, and redirect the old address if you ever change it.

Monthly searches · permalink
12.1k
Keyword research data
permalink
Permalink: What it is and how to choose a structure
Click the image to view it full size

Permalink is short for permanent link: the address of one specific post or page, meant to stay the same for as long as that content exists. In https://example.com/blog/green-tea-guide/, the whole URL is the permalink. Its last part, green-tea-guide, is the slug.

The word comes from early blogging. Posts started on the front page and later slid into archives, so a link to "the front page" stopped pointing at the post you meant. A permalink gave every post its own fixed address that other people could link to and bookmark. Today WordPress uses the word for the permanent URLs of posts, pages, categories and other archive pages.

Why the address should never change

Everything that points to your page uses its permalink: links from other sites, your own internal links, bookmarks, shared posts, newsletters and the URL Google has in its index. Change the address without a redirect and all of those lead to a 404 error. That's link rot, and you caused it yourself.

So the useful question isn't "which permalink ranks best?" It's "which address can I keep for years?"

Hardly. Google says keywords in the domain name or URL path alone have hardly any effect on ranking beyond appearing in breadcrumbs. Google Search Central

Readable permalinks still matter for people. Parts of the URL can show in search results as breadcrumbs, and someone deciding whether to click, or whether to trust a link in an email, can read /pets/cats/ but not /2/6772756D707920636174.

Most content management systems build permalinks from a pattern you set once. In WordPress it's under Settings → Permalinks, with these options:

Option Example Good fit
Plain /?p=123 Nothing public. It tells readers nothing
Day and name /2026/10/22/sample-post/ News sites, where the date is part of the story
Month and name /2026/10/sample-post/ Frequent publishing where the date still helps readers
Numeric /archives/123 Rarely; it's an ID with no words
Post name /sample-post/ Most blogs and business sites
Custom structure /%category%/%postname%/ Sites that want a section in the path

Two cautions with custom structures. WordPress asks you to end them with %postname% or %post_id%, so every permalink points to one post. And when a post has several categories, only one appears in the path, chosen alphabetically unless a plugin lets you pick. Moving a post to another category then changes its permalink.

Dates and categories are fine when they're stable. They become a problem when you later want to update a post or reorganize sections, because the address then says something false or has to change.

Google's URL guidelines give a short list:

  • Use words, not ID numbers. /green-tea-guide/ beats /index.php?id=4821.
  • Separate words with hyphens, not underscores. Google says hyphens clearly signal a word boundary, while underscores often join words that belong together, as in programming names.
  • Write in your audience's language. A German page can use German words in its URL.
  • Keep one case. Google treats /Guide and /guide as different URLs. If your server serves both, settle on lowercase.
  • Drop parameters that don't change the content, such as session IDs.
  • Don't use # fragments to show different content. Google generally ignores them.

Short helps too, but don't chase length: a clear four-word slug beats a cryptic one-word slug. For the wider picture, see URL structure.

Sometimes you have to: a rebrand, a typo, a structure that no longer fits. Then:

  1. Add a permanent redirect (301 or 308) from the old URL to the new one. Google takes a permanent redirect as a sign that the new URL should be the one it shows.
  2. Map every old URL if you change the whole structure, not just a few posts. WordPress redirects a single post whose slug you edited, but it doesn't do this for pages, and it won't cover a site-wide structure change. Use server rules or a redirect plugin for that.
  3. Keep the redirects for as long as possible. Google's advice for moved URLs is generally at least a year.
  4. Update your own links, menus and sitemap so they point straight to the new addresses.
  5. Watch for 404s in Search Console's Page indexing report, which lists URLs that now return "Not found," including pages that existed before.

HTML has a link type for this. rel="bookmark" on an <a> element marks the permalink of the article it sits in, which is what many blog themes put on the post date or title:

<article>
  <h2><a href="/blog/green-tea-guide/" rel="bookmark">A guide to green tea</a></h2>
</article>

It goes on <a> or <area>, not on a <link> element in the <head>. To tell search engines which of several duplicate URLs is the main one, use a canonical tag instead.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.