---
title: "Permalink"
description: "A permalink is the permanent address of one page or post. What a good one looks like, why it matters for search and AI, and how to change it safely."
url: https://ursy.com/wiki/permalink/
updated: 2026-11-26T15:46:03+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/permalink/
---

# Permalink

> A permalink is the permanent address of one page or post. What a good one looks like, why it matters for search and AI, and how to change it safely.

**A permalink is the permanent web address of one page, post or archive on a website, meant to stay the same for as long as that content exists.** The word is short for “permanent link”. People, [search engines](https://ursy.com/wiki/search-engine/) and AI tools all use it to point at your page, so changing it without care breaks those pointers.

## What is a permalink? {#what-is-a-permalink}

Every page has a [URL](https://ursy.com/wiki/url/). A permalink is the one you promise to keep. The WordPress guide to [customising permalinks](https://wordpress.org/documentation/article/customize-permalinks/) describes them as the permanent addresses of posts, pages, categories and other archives, and says they should never be changed. It lists the everyday uses: another writer links to your article with it, you share it on social media, a [search engine indexes](https://ursy.com/wiki/search-engine-index/) it, and a friend gets it in an email.

The idea is older than any blog tool. In 1998 Tim Berners-Lee wrote a short W3C note called [“Cool URIs don’t change”](https://www.w3.org/Provider/Style/URI). His point was that addresses do not break by themselves. People break them, usually during a redesign.

## What does a good permalink look like? {#what-does-a-good-permalink-look-like}

WordPress names 3 kinds:

| Type | Example | Notes |
| --- | --- | --- |
| Plain | `example.com/?p=123` | The default after install. WordPress calls it not user-friendly. |
| Pretty | `example.com/post-name/` | Words a person can read. |
| Almost pretty | `example.com/index.php/post-name/` | For servers that cannot rewrite addresses. |

In the Settings, Permalinks screen you can pick Plain, Day and name, Month and name, Numeric, Post name or a Custom structure built from tags such as `%postname%`, `%category%` and `%year%`. WordPress advises ending a custom pattern with `%postname%` or `%post_id%` so each post gets a unique address.

[Google](https://ursy.com/wiki/google/)’s [URL structure guide](https://developers.google.com/search/docs/crawling-indexing/url-structure) adds the search side. Prefer real words to strings of ID digits. Put hyphens between words, not underscores. Use words in your audience’s language. Trim parameters that do not change the content. Remember that addresses are case sensitive, so `/Roses` and `/roses` are 2 different pages.

## Why does it matter for search? {#why-does-it-matter-for-search}

A stable address keeps everything that has built up around it. Each link from another site is a link to that exact address. Each [backlink](https://ursy.com/wiki/backlinks/), bookmark and share points there. Change the address and those all land on an error unless you add a [redirect](https://ursy.com/wiki/redirect/).

A readable permalink also helps people decide to click. Google can show the address in the result as a [breadcrumb](https://ursy.com/wiki/breadcrumb/) trail, so `/guides/pruning-roses/` tells the searcher more than `/?p=4821`. See our page on [SEO-friendly URLs](https://ursy.com/wiki/seo-friendly-url/) for the detail.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

When an [AI assistant](https://ursy.com/wiki/ai-assistant/) names a source, it shows a link. That link is your permalink. If the address later breaks, every saved answer, chat history and [citation](https://ursy.com/wiki/citation/) that used it now points at nothing. A stable address also lets you add a [citation anchor](https://ursy.com/wiki/citation-anchor/) that points at one exact passage. Files such as [llms.txt](https://ursy.com/wiki/llms-txt/) list your key pages for machines, and they only work if those addresses stay put.

## How do I change one safely? {#how-do-i-change-one-safely}

Sometimes you must. A product is renamed, or an old address has a date in it that now looks stale. Google’s guide to [moving a site with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) sets out the steps:

1. Map every old address to its new one. Build the list from your sitemap, [server logs](https://ursy.com/wiki/server-logs/) and your content system.
2. Add a permanent server-side redirect (301 or 308) from each old address to its new one. Google’s [redirects guide](https://developers.google.com/search/docs/crawling-indexing/301-redirects) recommends server-side permanent redirects whenever possible.
3. Update your own [internal links](https://ursy.com/wiki/internal-linking/) so they point straight at the new address.
4. Submit an updated [XML sitemap](https://ursy.com/wiki/xml-sitemap/) in Search Console.
5. Keep the redirects for as long as possible. Google says generally at least 1 year.

For a full domain or platform change, see [moving a site and keeping its visitors](https://ursy.com/wiki/move-a-website-without-losing-traffic/).

## Common mistakes {#common-mistakes}

- **Leaving the Plain setting on.**  A new WordPress site starts with `?p=` addresses. Change it before you publish, not after.
- **Switching the whole pattern on a live site.**  Going from Day and name to Post name changes every post address at once. Without redirects, every old link breaks.
- **Using a 302.**  A temporary redirect tells search engines the old address may come back. See [301 vs 302](https://ursy.com/wiki/301-vs-302-redirect/).
- **Chained redirects.**  Old to newer to newest wastes time. Point each old address at the final one to avoid a [redirect chain](https://ursy.com/wiki/redirect-chain/).
- **Putting things that change in the address.**  Dates, staff names, prices and file types like `.php` date fast.
- **Redirecting everything to the homepage.**  Search engines may treat that as a [soft 404](https://ursy.com/wiki/soft-404/). Send each address to its closest match, or return a proper [404 or 410](https://ursy.com/wiki/404-and-410/).

## A worked example {#a-worked-example}

A florist set up WordPress with Day and name. Her guide sits at `/2023/03/14/how-to-keep-tulips-fresh/`. The date makes a timeless guide look old, so she switches to Post name. The new address is `/how-to-keep-tulips-fresh/`. Before saving the change she lists all 85 posts, writes a 301 for each from the dated address to the new one, and checks 10 of them by hand. She updates the links in her menu and footer, submits a fresh sitemap, and leaves the redirects in place. Links from 2 local magazines keep working.

## How to check it {#how-to-check-it}

- Paste an old address into our [redirect checker](https://ursy.com/redirect-checker/). It should show 1 hop, a 301 or 308, and a 200 at the end.
- Run your sitemap through our [sitemap checker](https://ursy.com/sitemap-checker/) to make sure it lists only the new addresses.
- Use our [broken link checker](https://ursy.com/broken-link-checker/) to catch internal links still pointing at old ones.
- Turn a page title into a clean address with the [URL slug optimiser](https://ursy.com/webmaster-tools/url-slug-optimiser/), and draft rules with the [redirect mapper](https://ursy.com/webmaster-tools/redirect-mapper/).
- For WordPress, our [page slug redirect plugin](https://ursy.com/wordpress-plugins/page-slug-redirect-plugin/) adds a redirect when a slug changes. Our [canonical checker](https://ursy.com/canonical-checker/) is live.

## Questions {#questions}

### Is a permalink the same as a slug? {#is-a-permalink-the-same-as-a-slug}

No. The slug is the last word part, such as `how-to-keep-tulips-fresh`. The permalink is the full address, including the domain and any folders.

### Should the permalink include the category? {#should-the-permalink-include-the-category}

Only if the category will never change. WordPress notes that when a post has several categories, only one appears in the address, picked alphabetically. Moving a post later changes its address.

### Does a short permalink rank better? {#does-a-short-permalink-rank-better}

Google’s guide asks for readable, simple addresses. It does not set a length. Clear beats short.

## Related words {#related-words}

- [URL](https://ursy.com/wiki/url/)
- [SEO-friendly URL](https://ursy.com/wiki/seo-friendly-url/)
- [Redirect](https://ursy.com/wiki/redirect/)
- [Canonical tag](https://ursy.com/wiki/canonical-tag/)
- [WordPress SEO](https://ursy.com/wiki/wordpress-seo/)

## Sources {#sources}

- [WordPress.org Documentation: Customize permalinks](https://wordpress.org/documentation/article/customize-permalinks/), checked 24 November 2026
- [W3C: Cool URIs don’t change, Tim Berners-Lee, 1998](https://www.w3.org/Provider/Style/URI), checked 24 November 2026
- [Google Search Central: URL structure best practices](https://developers.google.com/search/docs/crawling-indexing/url-structure), checked 24 November 2026
- [Google Search Central: Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes), checked 24 November 2026
- [Google Search Central: Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
