Skip to the content
Start free

Permalink

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 and AI tools all use it to point at your page, so changing it without care breaks those pointers.

Every page has a URL. A permalink is the one you promise to keep. The WordPress guide to customising 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 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”. His point was that addresses do not break by themselves. People break them, usually during a redesign.

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’s URL structure guide 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.

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, bookmark and share points there. Change the address and those all land on an error unless you add a redirect.

A readable permalink also helps people decide to click. Google can show the address in the result as a breadcrumb trail, so /guides/pruning-roses/ tells the searcher more than /?p=4821. See our page on SEO-friendly URLs for the detail.

Why does it matter for AI answers? #

When an 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 that used it now points at nothing. A stable address also lets you add a citation anchor that points at one exact passage. Files such as llms.txt list your key pages for machines, and they only work if those addresses stay put.

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 sets out the steps:

  1. Map every old address to its new one. Build the list from your sitemap, 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 recommends server-side permanent redirects whenever possible.
  3. Update your own internal links so they point straight at the new address.
  4. Submit an updated 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.

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.
  • Chained redirects. Old to newer to newest wastes time. Point each old address at the final one to avoid a 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. Send each address to its closest match, or return a proper 404 or 410.

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 #

Questions #

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.

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.

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

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Permalink. URSY. Updated 26 November 2026. https://ursy.com/wiki/permalink/ · Section links

Tools for this

All 871 wiki entries, A to Z →