Skip to content
Free website migration on every plan, done by our team.Learn more ›
WordPress

WordPress permalinks: the best structure for SEO

Which WordPress permalink structure to choose, why "post name" usually wins, and how to change permalinks without losing traffic or causing 404s.

Short answer: For most sites, choose Post name (yourdomain.com/sample-post/). It's short, readable and keyword-friendly. On an existing site, change permalinks only with 301 redirects from the old addresses, or you'll lose traffic.

The options

StructureExampleVerdict
Plain/?p=123Avoid
Day and name/2026/10/03/sample-post/Dates age content
Post name/sample-post/Best for most sites
Category and name/guides/sample-post/Good for large, structured sites

Setting it

Go to Settings → Permalinks, choose Post name and save. WordPress updates the rewrite rules for you.

  1. List your current URLs.
  2. Change the setting.
  3. Add 301 redirects from each old URL. See 301 vs 302 redirects.
  4. Submit the updated sitemap. See XML sitemaps.

Fixing 404s after a change

Re-save the permalinks page, check that .htaccess is writable, and confirm the rewrite rules are present. See .htaccess basics.

Frequently asked questions

Should URLs include keywords?

Short, descriptive slugs help readers and search engines. Don't stuff them.

Can I change a single post's slug?

Yes. WordPress usually redirects the old slug, but check it works.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.