---
title: "What is a permalink in WordPress? | WP Ministry"
url: https://wpministry.co/glossary/permalink/
description: "A permalink is the full, permanent address of a post, page or archive in WordPress. One setting sets the pattern, and changing it moves every post's address."
lang: en-US
---

Skip to content

# Permalink

A permalink is the full, permanent address of a post, page or archive on a WordPress site. One setting decides the pattern every post's address follows, and changing that pattern changes the address of every post at once.

By

WP Ministry

Published

October 8, 2026

## In short

- The permalink is the whole address of a page. The slug is the one part of it that names that page.
- Opening Settings, then Permalinks, and pressing "Save Changes" rebuilds WordPress's list of addresses. It is the first thing to try when posts that exist answer 404.
- Changing the structure changes every post's address at once. Set up redirects from the old addresses before you change it on a live site.

A permalink is the full address of one post, page or archive, such as `https://example.com/2026/10/how-to-bake-bread/`. The word is short for "permanent link": other sites link to it and search engines index it, so it is meant never to change.

WordPress builds a post's permalink from three things: the site's address, the permalink structure and the post's slug (https://wpministry.co/glossary/slug/). The structure is one setting for the whole site. The slug belongs to one post. So the permalink is the whole address, and the slug is one part of it.

## Where you meet it

In the dashboard, go to Settings, then Permalinks. The screen is titled "Permalink Settings". Under "Common Settings" it offers six structures:

| Option | A post's address |
| --- | --- |
| "Plain" | `https://example.com/?p=123` |
| "Day and name" | `https://example.com/2026/10/08/sample-post/` |
| "Month and name" | `https://example.com/2026/10/sample-post/` |
| "Numeric" | `https://example.com/archives/123` |
| "Post name" | `https://example.com/sample-post/` |
| "Custom Structure" | Built from tags such as `%year%`, `%category%` and `%postname%` |

Under "Optional", the fields "Category base" and "Tag base" set the word that comes before a category's or a tag's slug in the address of its archive. Left blank, they are `category` and `tag`.

Every structure except "Plain" depends on the web server passing requests to WordPress. On Apache, WordPress writes the rules for that into the `.htaccess` file in the site's folder. nginx has no such file, and WordPress cannot change its configuration, so the rule has to be in the server's own settings.

## What goes wrong

**Posts that exist answer "404 Not Found".** WordPress keeps its list of address patterns in the database and, on Apache, its rules in `.htaccess`. After a move to a new host, a restored backup or a plugin that adds a new kind of content, either can be out of date. Opening Settings, then Permalinks rebuilds both. Pressing "Save Changes" with nothing changed does the same, and the screen answers "Permalink structure updated." The steps are in how to fix 404 errors on posts and pages that exist (https://wpministry.co/errors/404-not-found/), and the .htaccess generator (https://wpministry.co/tools/htaccess-generator/) writes a complete file with WordPress's own block in it.

**The structure was changed on a live site.** Every post's address changes at once, and WordPress keeps no list of the old ones. For some requests it guesses the post from the name in the old address and forwards the visitor. For others the old address answers 404. Do not count on the guess. Set up redirects (https://wpministry.co/blog/set-up-wordpress-redirections/) from the old pattern to the new one, and test them, before you change the setting.

**The domain changed, or the site moved to https.** That is a different setting. Every permalink begins with the site's address, so changing that address changes them all. See how to change your WordPress URL (https://wpministry.co/blog/change-wordpress-url/).

## How to look at yours

The option selected on the Permalinks screen is the one in use. With WP-CLI:

bash

```
wp option get permalink_structure
```

It prints the structure in tags, such as `/%postname%/`. An empty line means "Plain".

## Common questions

Is a permalink the same as a slug?

No. The permalink is the whole address of a page. The slug (https://wpministry.co/glossary/slug/) is the part of it that names that one page, such as `sample-post`. The rest comes from the site's address and the permalink structure.

Which permalink structure should I choose?

The Permalinks screen itself recommends a structure that includes the `%postname%` tag, because it makes links easy to understand. "Post name" is the shortest of those. Choose before the site has visitors and links. On a site that is already live, the structure in place is usually the one to keep.

Can I change the address of just one post?

Yes. Edit that post's slug and leave the structure alone. Only that post's address changes. The page on slugs (https://wpministry.co/glossary/slug/) says what happens to the old address.

## Not sure what is wrong?

Tell us what you see. We reply with the cause and a fixed quote, and the diagnosis is free.

Get a free diagnosis: https://wpministry.co/free-diagnosis/

May we measure how this site is used?

A yes notes the pages of this visit and loads Google Analytics. A no keeps and loads nothing. See the cookies page (https://wpministry.co/legal/cookies/).

If you say yes, we note the pages you look at during this visit and load Google Analytics. If you say no, nothing is kept and nothing is loaded. The site works the same either way. The cookies page (https://wpministry.co/legal/cookies/) has the details.

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://wpministry.co/#organization",
      "name": "WP Ministry",
      "url": "https://wpministry.co/",
      "logo": "https://wpministry.co/brand/logo.png",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "1309 Coffeen Ave STE 1200",
        "addressLocality": "Sheridan",
        "addressRegion": "WY",
        "postalCode": "82801",
        "addressCountry": "US"
      },
      "sameAs": [
        "https://www.linkedin.com/company/wp-ministry/",
        "https://x.com/wpministryco",
        "https://www.instagram.com/wpministryco/",
        "https://www.facebook.com/wpministryco",
        "https://www.tiktok.com/@wpministryco",
        "https://www.pinterest.com/wpministryco/",
        "https://www.youtube.com/channel/UCOZRuAukk5QSTRPG6BaHl3Q"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://wpministry.co/#website",
      "name": "WP Ministry",
      "url": "https://wpministry.co/",
      "inLanguage": "en-US",
      "publisher": {
        "@id": "https://wpministry.co/#organization"
      }
    },
    {
      "@type": "DefinedTerm",
      "@id": "https://wpministry.co/glossary/permalink/#term",
      "name": "Permalink",
      "description": "A permalink is the full, permanent address of a post, page or archive in WordPress. One setting sets the pattern, and changing it moves every post's address.",
      "url": "https://wpministry.co/glossary/permalink/",
      "inDefinedTermSet": "https://wpministry.co/glossary/"
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://wpministry.co/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Glossary",
          "item": "https://wpministry.co/glossary/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Permalink"
        }
      ]
    }
  ]
}
```