WordPress Permalinks Explained: Best Settings and How to Fix 404 Errors

This guide covers “wordpress permalinks” in plain language. Permalinks are the permanent URLs of your posts and pages. Good ones are short, readable and stable, which helps visitors and search engines. This guide explains the options, the best choice and how to fix common 404 problems.

Where to find permalink settings

In your dashboard, go to Settings, then Permalinks.

The options

Structure Example
Plain example.com/?p=123
Day and name example.com/2026/10/08/sample-post/
Month and name example.com/2026/10/sample-post/
Numeric example.com/archives/123
Post name example.com/sample-post/

The best choice: Post name

For most sites, Post name is best. URLs are short, readable and do not include dates that make content look old. Write a short slug containing your main keyword.

Changing permalinks on an existing site

Changing structure changes every URL. If your site is already live:

  1. Back up first.
  2. Plan 301 redirects from old URLs to new ones. A redirect plugin can handle this.
  3. Update internal links and your sitemap.
  4. Monitor Search Console for 404 errors.

On a new site, set Post name before publishing.

Fixing 404 errors

Posts show 404 after changing settings

Go to Settings, Permalinks and click Save Changes without changing anything. This refreshes the rewrite rules.

Custom post types 404

Save the permalinks page after registering a custom post type. See how to create a custom post type.

Still 404?

  • On Apache, check the .htaccess file exists and is writable. WordPress needs its rewrite rules in it.
  • On Nginx, make sure the server config sends requests to index.php.
  • Disable plugins that handle redirects to see if one conflicts.

Good slug practices

  • Keep slugs short and descriptive.
  • Use lowercase and hyphens.
  • Avoid stop words where possible.
  • Do not change slugs of ranking pages without redirects.

Related: on-page SEO checklist.

WordPress permalinks FAQ

Do permalinks affect SEO?

Slightly. Clear URLs help users and search engines, but stability matters more.

Should I include categories in URLs?

Not necessary for most sites; it can lengthen URLs.

Related reading

Keep reading

Comparisons

Best AI WordPress Page Builder in 2026: 7 Tools Compared

Looking for the best AI WordPress page builder in 2026? We compare seven top tools on output quality, lock-in, real WordPress data and price — and explain why clean code should decide it.

Tutorials

Common CSS Media Query Breakpoints for 2026 (With Copy-Paste Examples)

A practical guide to CSS media query breakpoints: common values used by popular frameworks, mobile-first vs desktop-first, and copy-paste examples.

Tutorials

How to Create a Garage Door Company Website With AI (Step-by-Step Guide)

Build a garage door repair and installation website with AI: same-day service pages, door styles, pricing guidance, reviews and local SEO.

Tutorials

How to Create a Moving Company Website With AI (Step-by-Step Guide)

Build a moving company website with AI: quote forms, service types, licensing, pricing explanations, reviews and local SEO.

Comparisons

The Best Wix Alternative in 2026: Own Your Site With WordPress and AI

Looking for a Wix alternative? Why people leave Wix, what to look for in a replacement, and how WordPress with an AI builder gives you full ownership of your site.

Tutorials

How to Create a Home Inspector Website With AI (Step-by-Step Guide)

Build a home inspection business website with AI: inspection types, sample reports, pricing, agent referrals and local SEO.

Browse by topic: Tutorials · Comparisons · AI Website Building · Website guides by industry