Skip to content
SEO

WordPress Permalinks: The SEO-Safe Setup

A WordPress permalink is a page's URL structure. Use the post-name format, and never change it on a live site without 301 redirects.

By Jeremy ZavaAI-assisted, reviewed by Ibrahem Helal3 min read

A WordPress permalink is the URL structure the platform gives your pages, set under Settings → Permalinks. Use the "Post name" setting for a short, readable URL, and never change an existing structure on a live site without adding a 301 redirect from every old URL to its new one.

This is one setting inside the wider WordPress SEO guide, and one of the few WordPress decisions that is genuinely hard to reverse cheaply once a site has real traffic and links pointing at the old URLs.

It's the URL WordPress assigns to a post, page or archive, built from a pattern you set once for the whole site under Settings → Permalinks [1]. The pattern decides whether a post lands at yourdomain.com/2026/09/my-post/, yourdomain.com/blog/my-post/, or the flat yourdomain.com/my-post/ — same content, different address, and the address is what gets indexed, linked to and typed into a browser.

WordPress ships with several built-in options and lets you define a fully custom structure using tags like %postname%, %category% and %year%. The setting applies going forward and to every existing URL at once, which is exactly why changing it casually on a live site is risky — it doesn't touch one post, it touches all of them simultaneously.

The "Post name" setting, which produces yourdomain.com/post-title/. It's short, it's readable by a human glancing at a search result or a shared link, and it puts your target keyword directly in the URL without any date or numeric clutter diluting it.

WordPress's built-in permalink options, and why most sites should skip the alternatives
StructureExampleVerdict
Post name (recommended)/my-post/Short, readable, keyword-relevant
Day and name/2026/09/23/my-post/Implies content is dated even when it isn't
Month and name/2026/09/my-post/Same problem, slightly shorter
Plain/?p=123No keyword, no readability, avoid entirely

A date in the URL is the most common mistake here. It suggests to a reader — correctly or not — that the content might be stale, even right after you've updated it, and it adds length that pushes your actual keyword further from the start of the URL where it carries slightly more weight.

Only with a complete redirect map from every old URL to its new one, set up before you flip the permalink setting, not after. Export your current URL list, generate what each one will become under the new structure, and implement 301 redirects — the status code that tells search engines a move is permanent and transfers ranking signals to the new address [2] [3].

Most SEO plugins can generate bulk redirects for a permalink change, but verify the output against a sample of real URLs rather than trusting it blindly — an automated rule that works for 95% of posts can still fail silently on the other 5%, and those are the pages that quietly stop ranking a few weeks later with no obvious cause.

What happens if you skip the redirects?

Every old URL returns a 404, and search engines read that as the content having disappeared rather than moved — because, from their side, nothing tells them otherwise. Rankings for those pages drop, often within days, and recovering them means waiting for a recrawl after you finally add the redirects, not an instant fix once you notice.

This is the same underlying risk a full platform migration carries — see our guide on migrating WordPress to a headless stack — just triggered by one settings change instead of a whole new front end. If you're also touching how the site renders its content, React SEO and this permalinks guide are worth reading together rather than treating the URL structure and the rendering strategy as separate problems.

If you're weighing WordPress against a hosted alternative before you settle on a URL structure at all, HubSpot's SEO tooling handles page slugs differently and is worth reading first — it's a much smaller decision to get right before launch than to migrate later.

Questions people also ask

  • What is the best permalink structure for SEO?

    The 'Post name' setting, which produces yourdomain.com/post-title/. It is short, readable and keyword-relevant, and it is what WordPress recommends and what most SEO plugins expect by default.

  • Can I change my permalink structure without hurting SEO?

    Yes, but only if every old URL gets a 301 redirect to its new one. Changing the structure without redirects turns every indexed page into a 404 that search engines treat as content that disappeared.

  • Should I include dates in my WordPress URLs?

    Usually no. A date in the URL implies the content might be outdated even after you've updated it, and it adds length without adding anything a reader or a search engine needs to identify the page.

  • Does changing a single post's URL need a redirect too?

    Yes, every time. A URL change on one post is the same event as a site-wide structure change, just smaller in scope — it still needs its own 301 from the old address to the new one.

Sources

  1. Customize permalinks — WordPress.org Documentation (checked 23 September 2026)
  2. 301 redirects — Google Search Central (checked 23 September 2026)
  3. Redirections — MDN Web Docs (checked 23 September 2026)

Get your permalink change checked before you flip it

Book a free 30-minute consultation with Ibrahem and Jeremy. We look at your site while we talk, and you leave with a prioritised plan.

Who wrote this

Jeremy ZavaCo-founder

Leads growth and client partnerships.

Works on: CRO, SEO

Reviewed before publishing by Ibrahem Helal, Co-founder.

Posts by Jeremy Zava

More on this