Affiliate disclosure: Some of the links in this article are affiliate links that may provide us with a small commission at no cost to you. This is helping us to create free content to help you and manage the running cost of this blog. Thank you for your support.

Best WordPress Permalink Structure for SEO (2026) + How to Change It Safely

Best WordPress Permalink Structure for SEO?

Permalinks are one of those settings you should get right on day one and then never touch again. Pick the wrong one and changing it later means redirects, re-crawling and a nervous few weeks in Search Console.

The good news: the answer is simple for almost every site. Use the post name. The rest of this post explains why, covers the few exceptions, and shows you how to change permalinks safely if your site is already live.

Short Answer: Use Post name (/%postname%/) for almost every site. It gives short, readable URLs that never go out of date. News sites that publish many posts a day can add the date, and large sites with strict silos can add the category. If your site is already live, only change permalinks with 301 redirects in place.

A permalink is the permanent URL of a post or page. In WordPress, you set the pattern once under Settings > Permalinks, and every post follows it.

WordPress gives you these options:

SettingExample URL
Plainexample.com/?p=123
Day and nameexample.com/2026/10/04/sample-post/
Month and nameexample.com/2026/10/sample-post/
Numericexample.com/archives/123
Post nameexample.com/sample-post/
Custom structuree.g. example.com/%category%/%postname%/

The Best WordPress Permalink Structure: Post name

Best WordPress Permalink Structure for SEO
Best WordPress Permalink Structure for SEO

/%postname%/ is the right choice for most blogs, affiliate sites and business sites because:

  • It’s short and readable. People can see what the page is about before they click.
  • It holds your keyword. A small relevance signal and a big click-through signal.
  • It doesn’t age. No date in the URL means an updated 2023 post doesn’t look stale in 2026.
  • It survives reorganizing. You can move a post to a new category without changing its URL.

When a different structure makes sense

News sites: /%year%/%monthnum%/%postname%/ can help readers and editors with time-sensitive content. Google News doesn’t require dates in URLs, so this is a preference, not a rule.

Large sites with strict silos: /%category%/%postname%/ can make sense when each category is a distinct section (for example /reviews/ and /guides/) and posts will never move between them.

The risk: if you ever recategorize a post, its URL changes.

Multilingual sites: your translation plugin will add language prefixes (/fr/, /de/); keep the post-name pattern after that.

Avoid Plain and Numeric. They tell people and search engines nothing about the page.

  1. Go to Settings > Permalinks.
  2. Select Post name.
  3. Click Save Changes.
  4. Optional: under “Optional,” set a custom category base (like topics) or tag base. Most sites leave these blank.

Do this before you publish your first post.

Writing good slugs

The structure is half the job. The slug (the sample-post part) is the other half.

  • Keep it short: 3 to 5 words is plenty. /rank-math-vs-yoast-seo/ beats /rank-math-vs-yoast-seo-which-is-the-best-seo-plugin-for-wordpress-in-2026/.
  • Include the main keyword.
  • Leave out the year. You’ll update the post next year; the URL shouldn’t need to change.
  • Use hyphens, lowercase, no stop words where they don’t add meaning.
  • Don’t change a slug after a post ranks unless you add a 301 redirect.

Should you remove /category/ from category URLs?

WordPress category archives look like /category/wordpress/. Rank Math and Yoast both have an option to strip /category/ so it becomes /wordpress/.

It’s tidier, but it isn’t a ranking factor and can clash with page slugs of the same name. If your site is established, I’d leave it alone.

If your site uses dates or Plain URLs and you want to switch to Post name:

  1. Back up the site.
  2. Export a list of current URLs (from your sitemap or a crawl) so you can check them later.
  3. Change the setting in Settings > Permalinks.
  4. Add redirects. WordPress often redirects old date-based URLs to the new post-name URLs on its own, but don’t rely on it. For a pattern change, a single regex redirect does the job. Example for removing dates:
    • Source: ^/\d{4}/\d{2}/\d{2}/(.*)$
    • Target: /$1
    • Type: 301. Set this up in Rank Math’s redirect manager, Yoast Premium, or the free Redirection plugin.
  5. Test old URLs from your list. Each should return a 301 to the new URL, not a 404.
  6. Update internal links to point to the new URLs directly. A search-and-replace tool or an internal linking plugin helps (see internal linking plugins).
  7. Resubmit your sitemap in Google Search Console and watch the Pages report for a few weeks. My guide to indexing your site quickly has the steps.

Expect some ranking movement for a couple of weeks while Google recrawls. With proper 301s, it usually settles.

Bench note: If you must change permalinks on a live site, do it on a quiet day, crawl the site afterwards for 404s and resubmit your sitemap. Expect a few weeks of ranking wobble even with perfect redirects.

404 errors on every post after changing permalinks
Your rewrite rules didn’t flush. Go to Settings > Permalinks and click Save again without changing anything. On Apache, check that .htaccess is writable. On Nginx, your host needs the standard WordPress try_files rule.

“-2” added to slugs
Another post, page or media attachment already uses that slug. Check trash and media library, then rename or delete the duplicate.

Slug changed, but old URL still shows in Google
Google needs time. Confirm the 301 is in place and request indexing of the new URL in Search Console.

What is the best permalink structure for WordPress SEO?

Post name (/%postname%/) for almost every site.

Should I put dates in my URLs?

Only for news-style sites. For evergreen content, dates make posts look old and complicate updates.

Is it bad to change permalinks?

It’s risky without redirects. With 301 redirects in place, rankings usually recover within a few weeks. The same rule applies when you move hosts; see WordPress migration plugins.

Does the permalink affect rankings much?

A little. Clear URLs help click-through and understanding more than they help rankings directly. Bad URLs (Plain, numeric) waste that opportunity.

Want the rest of your SEO setup in order? Start with my WordPress SEO guide and pick your SEO plugin with Rank Math vs Yoast SEO.

Conclusion

Pick a post name, keep your slugs short, and leave the setting alone after launch.

If you inherited a site with date-based URLs, weigh the gain carefully: a cleaner URL is rarely worth weeks of redirects and recrawling unless the old structure causes real problems.

When you do change it, set up redirects first and watch Search Console closely. My WordPress SEO guide covers the other settings to get right on day one.

Umapathy Sekar has been running WordPress sites since 2013. His day job is IT incident management, so when a plugin or host fails, he wants to know why. On WPSBlog he tries themes, plugins and hosting on his own sites before he writes about them, and he always checks what they cost after the first year. You can follow him on Twitter and Linkedin.