WordPress Permalinks Explained: The Best URL Structure for SEO

WordPress permalinks explained: the best URL structure, how to write good slugs and how to change URLs safely with redirects.

Card: WordPress permalinks explained

Table of Contents

Permalinks are the permanent URLs of your pages and posts. In WordPress, set them under Settings, Permalinks; the “Post name” option (yoursite.com/sample-post/) is the best choice for most sites because it is short, readable and keyword-friendly. Change permalinks only before launch; changing them later breaks links unless you add 301 redirects from every old URL.

Key takeaways
  • Choose Post name for most websites.
  • Keep slugs short, lowercase, hyphenated.
  • Remove dates and stop words where sensible.
  • Changing URLs later needs 301 redirects.
  • Do not include the year in evergreen slugs.
StructureExampleVerdict
Plain/?p=123Avoid
Day and name/2026/10/22/post/Looks dated
Post name/post-name/Best for most
Category and name/category/post-name/Fine for large news sites
1-to-1 tutoringLearn WordPress faster with a mentor

Live 1-to-1 WordPress and Elementor lessons on your own site, from $40. Every lesson recorded. Beginners welcome.

See lessons and prices

How do you write a good slug?

Imagine a post titled “The Ultimate 2026 Guide to Choosing the Best Wedding Photographer in Dhaka for Your Big Day”. WordPress suggests a very long slug. Editing it to /wedding-photographer-dhaka/ keeps it short, focused on the search phrase and still accurate next year. Edit the slug in the post settings before publishing.

Add 301 redirects from old to new URLs with a redirect plugin, then check Search Console for 404 errors, following Google’s site move guidance. More on SEO basics in the Yoast SEO beginner tutorial.

Want to learn WordPress SEO basics faster with a tutor?

I teach WordPress and Elementor 1-to-1 over Zoom or Google Meet, on your own website, at your pace. Lessons start at $40, every lesson is recorded so you can rewatch it, and you get a short checklist afterwards. Beginners, business owners, students and freelancers are all welcome. See lessons and prices or book a free intro call.

Frequently asked questions

What is the best permalink structure for WordPress?

Post name (yoursite.com/post-name/) is best for most sites.

Can I change permalinks after launch?

Yes, but add 301 redirects from every old URL to avoid broken links and lost rankings.

Should I include dates in URLs?

Usually not; dates make evergreen content look outdated.

How long should a slug be?

Short: three to five meaningful words, lowercase, separated by hyphens.

Sources

1-to-1 tutoringLearn WordPress faster with a mentor

Live 1-to-1 WordPress and Elementor lessons on your own site, from $40. Every lesson recorded. Beginners welcome.

See lessons and prices
Written by Tanvir H

WordPress and Elementor web designer at Tanvir WebXprt, Bangladesh, with 7+ years of experience and 650+ projects for clients worldwide. Tanvir builds, fixes and speeds up WordPress sites every week and writes these guides from that hands-on work.

Keep learning

More WordPress guides

Done for you

Rather have an expert run your WordPress site?

Tanvir H is a Bangladesh-based WordPress and Elementor web designer with 7+ years of experience, 650+ projects and a 4.9 client rating. New websites, redesigns, fixes, speed, security and SEO, handled by one expert who explains everything in plain English and works with clients worldwide.

Website developmentWordPress, Elementor & WooCommerce sitesfrom $899
Fixes & speedErrors, hacks, Core Web Vitals, upgradesFree quote
SEO & paid adsRank on Google, run Meta & Google Adsfrom $300
Creative designWeb, graphic & brand identityfrom $220

Contents

Was this helpful? Spread the word and share with your network!
Facebook
Pinterest
LinkedIn
Reddit
VK
X
Telegram
Threads
Tumblr
Email
WhatsApp
Pocket

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Article