← Back to Logbook
April 2, 2026 by Quartermaster

WordPress Permalinks: How to Set Them Up Right the First Time (2026)

#beginners #child theme #permalinks #url-structure #wordpress

Your WordPress permalink structure determines how every URL on your site looks — and it’s one of the first settings you should configure on a new WordPress install. Get it right now, and you’ll never think about it again. Get it wrong, and you’ll spend months cleaning up broken links and lost traffic.

The good news: there’s a clear winner. The bad news: most WordPress tutorials overstate how much this affects your rankings. This guide gives you the honest answer — what to choose, why it matters, and what to do if you need to change it later.

Let’s set your WordPress permalink structure up properly the first time.

⚡ Key Takeaways

  • Post Name (/%postname%/) is the best permalink structure for most WordPress sites
  • URL structure is a minor SEO factor — Google’s own team says people over-focus on it
  • Never change permalinks on a live site without setting up 301 redirects first
  • Avoid dates in URLs unless you run a news site — they make evergreen content look stale
  • WordPress handles permalink rewrites automatically on Apache — Nginx requires manual configuration

What are WordPress permalinks - URL chain links

Permalinks are the permanent URLs for your posts, pages, and other content. The word is short for “permanent link” — and that’s exactly how you should think about them. Once set, they should stay the same forever.

WordPress gives you six built-in permalink structures to choose from. Each one changes how your URLs look. For example, the same blog post could appear as:

  • yoursite.com/?p=123 (Plain — the default)
  • yoursite.com/2026/03/31/my-great-post/ (Day and Name)
  • yoursite.com/my-great-post/ (Post Name — the winner)

The structure you pick affects three things: how readable your URLs are to humans, how much keyword context search engines get from the URL, and how easy your links are to share on social media and in messages.

9.2 characters

shorter — the average URL length difference between position #1 and #10 on Google

Source: Backlinko study of 11.8 million search results

The 6 WordPress permalink structures explained

Go to Settings → Permalinks in your WordPress dashboard, and you’ll see these six options. Here’s what each one does and when (if ever) you’d use it.

Plain — /?p=123

The WordPress default on older installations. A query string with a numeric ID. Zero keyword context, impossible to remember, and gives search engines nothing to work with. There is no reason to use this on any site in 2026.

Day and Name — /2026/03/31/sample-post/

Includes the full publish date plus the post name. Makes every URL long and stamps content with a date that screams “old” within a year. Only appropriate for actual news organizations where the publish date is editorially relevant.

Month and Name — /2026/03/sample-post/

Same idea, slightly shorter. Same dating problem. Your evergreen “how to install WordPress” guide shouldn’t have a 2024 date baked into its URL when someone finds it in 2027.

Numeric — /archives/123

Cleaner than Plain but still meaningless. No keywords, no context. A dead end for SEO and user experience.

Post Name — /sample-post/ (Recommended)

Clean, short, and keyword-rich. This is the best WordPress permalink structure for blogs, business sites, portfolios, and most WooCommerce stores. It matches Google’s official recommendation for simple, descriptive URLs.

Custom Structure — Build Your Own

Uses structure tags like %category%, %year%, and %postname%. The most common custom structure is /%category%/%postname%/, which adds category context. This can work for large sites with well-organized taxonomies, but adds complexity — if you ever change a category name, every URL in that category breaks.

🏴‍☠️ PIRATE TIP: When in doubt, pick Post Name and move on. You can always add categories to individual slugs manually if needed — but baking the category taxonomy into every URL creates fragile links that break when you reorganize. Keep it simple, Captain.

Why “Post Name” Wins (And What Google Actually Says)

Why Post Name is the best WordPress permalink structure

Every SEO blog will tell you that WordPress permalink structure is critical for rankings. Here’s the truth: it matters, but not as much as most people claim.

Google’s own Search Advocate, John Mueller, has been surprisingly blunt about this:

“Often SEOs over-focus on URL structure (imo) — if the context of your pages isn’t clear from the text on the page, then the URL structure isn’t really going to fix that.”

John Mueller, Search Advocate at Google

Mueller also warned that changing URLs purely for SEO has a risk that’s “much higher than the possible reward” and that it will “very, very rarely” help your site. So why does Post Name still win? Three reasons:

  1. User trust — A URL like /wordpress-permalink-structure/ tells people what to expect before they click. /?p=847 does not.
  2. Shareability — Clean URLs look better in social media posts, emails, and messages. People are more likely to click a readable link.
  3. Keyword context — While Google doesn’t weight URL keywords heavily, they do provide supporting signals. It’s a small edge you get for free just by choosing the right setting.

The Backlinko study of 11.8 million search results found that shorter URLs correlate with higher rankings — URLs at position #1 are 9.2 characters shorter on average than those at position #10. Post Name gives you the shortest possible URLs by default.

💡 Want tools that help keep your WordPress site optimized? Browse the Arsenal for plugins and utilities.

How to set permalinks in WordPress dashboard

Setting your WordPress permalink structure takes less than a minute. Here’s the exact process:

  1. Go to Settings → Permalinks in your WordPress dashboard
  2. Select “Post name” (the fifth option)
  3. Click “Save Changes”

That’s it. WordPress automatically generates the necessary rewrite rules for Apache servers (written to your .htaccess file). If you’re on Nginx, you’ll need to add this to your server configuration manually:

location / {
    try_files $uri $uri/ /index.php?$args;
}

Most managed WordPress hosts (Bluehost, SiteGround, WP Engine, Kinsta) handle this automatically — you just pick the setting and it works.

Important: Always edit individual post slugs manually after writing. WordPress auto-generates slugs from your title, which means “How to Create a WordPress child theme and Why You Should Never Skip It” becomes a monster URL. Trim it to 3-5 relevant words like /wordpress-child-theme-guide/.

Common WordPress permalink mistakes

These are the mistakes that break sites, tank traffic, and create headaches that take months to fix.

Mistake 1: Leaving the Default Plain Structure

If you installed WordPress and never touched the permalink settings, you’re running /?p=123 URLs. No keyword context, no user value, no shareability. Fix this immediately — just remember to set up redirects if you have existing content (more on that below).

Mistake 2: Using Dates in URLs for Evergreen Content

A URL like /2024/03/how-to-speed-up-wordpress/ tells visitors the article is two years old before they even read it. For news sites, dates make sense. For everyone else, they’re an anchor dragging your click-through rate down.

This is the big one. If you change your permalink structure on a live site without setting up 301 redirects, every existing URL breaks instantly. Every Google-indexed page returns a 404. Every backlink you’ve earned points to nothing. Every internal link is dead. It’s the digital equivalent of changing your street address and not telling anyone.

Mistake 4: Overly Long Slugs

Former Google head of web spam Matt Cutts said it plainly: “If you have got three, four or five words in your URL, that can be perfectly normal. As it gets a little longer, then it starts to look a little worse.” WordPress auto-generates slugs from titles — always trim them manually.

🏴‍☠️ PIRATE TIP: When editing slugs, strip out stop words like “a”, “the”, “and”, “of”, “in”, “to”. The title “How to Add custom CSS to Your WordPress Site” becomes the slug /add-custom-css-wordpress/. Four words. Clean. Done.

How to safely change WordPress permalinks with redirects

Already running a site with the wrong WordPress permalink structure? You can fix it — but you need to do it carefully.

  1. Back up everything — full database and files backup before you touch anything
  2. Install a redirect pluginRedirection (free), Rank Math’s built-in redirect manager, or Yoast Premium all work. Set up 301 redirects that map your old URL patterns to the new ones.
  3. Change the permalink setting — go to Settings → Permalinks, select Post Name, save
  4. Test old URLs — open an incognito window and paste in a few old-format URLs. They should 301 redirect to the new clean URLs, not 404.
  5. Submit your updated sitemap to Google Search Console
  6. Monitor for 2-4 weeks — watch Search Console’s crawl errors and your analytics for traffic drops that indicate missed redirects

For Apache servers, you can also handle redirects via .htaccess. This regex redirects old date-based URLs to post-name URLs:

RedirectMatch 301 ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.*)$ /$1

What is the best permalink structure for WordPress?

Post Name (/%postname%/) is the best permalink structure for most WordPress sites. It creates clean, short, keyword-rich URLs that are easy for users to read and for search engines to parse. Google’s own documentation recommends simple, descriptive URLs.

Does changing permalinks affect SEO?

Yes — changing permalinks without proper 301 redirects will break all your existing URLs, resulting in 404 errors and lost link equity. Google’s John Mueller warns that the risk of changing URLs is “much higher than the possible reward.” If you must change, always set up redirects first.

Should I include categories in my WordPress permalink structure?

For most sites, no. Using /%category%/%postname%/ adds complexity — if you ever rename or reorganize categories, every URL in that category breaks. Post Name alone is simpler and equally effective for SEO. Only large content sites with stable, well-planned taxonomy structures benefit from categories in URLs.

How do I redirect old permalinks to new ones in WordPress?

Install a redirect plugin like Redirection (free), use Rank Math’s built-in redirect manager, or add 301 redirect rules to your .htaccess file (Apache) or server block (Nginx). After changing permalinks, test old URLs in an incognito window to confirm they redirect properly.

Do WordPress permalinks affect page speed?

The permalink structure itself has no meaningful impact on page speed. However, if you’re running hundreds of 301 redirects due to a permalink change, each redirect adds a small amount of latency. This is why updating internal links to use new URLs directly (rather than relying on redirects) is recommended after a permalink change.

⚔️ Pirate Verdict

Your WordPress permalink structure is a “set it once and forget it” decision — as long as you set it right. Pick Post Name, trim your slugs to 3-5 words, and move on to things that actually move the needle like writing great content. The SEO world loves to obsess over URL structure, but even Google’s own team says it’s overrated. What’s NOT overrated? Breaking every link on your site by changing permalinks without redirects. That’s a real disaster. Set it right the first time, and you’ll never have to touch it again.

Set It Right, Set It Once

Configuring your WordPress permalink structure takes 30 seconds on a new site. Go to Settings → Permalinks, select Post Name, and you’re done. For existing sites that need a change, follow the redirect process carefully and monitor for errors afterward.

The best URL structure is the one you pick correctly on day one and never think about again. For more WordPress fundamentals, visit the AI Or Die Now homepage or explore the Arsenal.

What permalink structure are you running? Have you ever broken your site changing it? Share your war story in the comments.

← What Is wp-config.php and When Should You Edit It? (2026 Guide) How to Update WordPress Without Breaking Anything (2026 Guide) →
The Quartermaster
> THE QUARTERMASTER
Identify yourself, pirate. What brings ye to the command deck?