SEO & AI search · Explainer
Best Permalink Structure for SEO in WordPress
Short answer
The best permalink structure for SEO in WordPress is Post name (/%postname%/), which turns each post URL into a short, readable slug based on the post title. It keeps keywords in the URL, drops dates and ID numbers, and works for most blogs, business sites, and small stores. Large sites with clear topic groups can add a category in front, as /%category%/%postname%/.
Key takeaways
- Post name (/%postname%/) is the best permalink structure for most WordPress sites.
- WordPress ships with Plain permalinks (?p=123), which say nothing about the page.
- Google advises descriptive URLs because parts of the URL can appear as breadcrumbs in search results.
- Dates in URLs make evergreen posts look old, so keep them out unless you run a news site.
- Changing permalinks on a live site changes every URL, so set up redirects before you save.
What is the best permalink structure for SEO in WordPress?
Post name (/%postname%/) is the best permalink structure for SEO on most WordPress sites.
It creates short, readable URLs such as example.com/best-wordpress-permalinks/, with the post slug as the whole path. Yoast recommends Post name, or Post name with a category in front, as the two structures that suit most sites (Yoast).
The structure matters because a URL is one more signal about a page. Google advises descriptive URLs in its SEO starter guide, since parts of a URL can show up as breadcrumbs in search results.
What is a permalink in WordPress?
A permalink is the permanent URL of a post, page, category, or archive on your site.
WordPress.org defines permalinks as URLs that are permanent and should never change, which is where the name comes from (WordPress.org). The same page notes that Google uses the permalink when it indexes an article, and readers use it when they share or link to your content.
A permalink has two parts: your domain and the path after it. The last part of the path is the slug, a cleaned-up version of the post title, such as best-wordpress-permalinks.
What are the six permalink structures in WordPress?
WordPress offers six built-in permalink structures, and you pick one in Settings → Permalinks.
WordPress.org lists all six options on its permalinks documentation page: Plain, Day and name, Month and name, Numeric, Post name, and Custom Structure. The default setting is Plain, which WordPress sets when you install it.
| Structure | Example URL | Best for |
|---|---|---|
| Plain | example.com/?p=123 | Nothing; change it right away |
| Day and name | example.com/2026/11/20/post-name/ | News sites where the date matters |
| Month and name | example.com/2026/11/post-name/ | Dated archives and magazines |
| Numeric | example.com/archives/123/ | Almost no one |
| Post name | example.com/post-name/ | Most blogs, business sites, and stores |
| Custom Structure | example.com/category/post-name/ | Large sites with clear topic groups |
Custom Structure uses structure tags such as %year%, %monthnum%, %day%, %postname%, %category%, and %author%, according to the same WordPress.org page. WordPress.org also says to end a custom structure with %post_id% or %postname% so each URL points to one single post.
Why is Post name the best choice for most sites?
Post name wins because it is short, readable, and free of dates and ID numbers.
A URL such as example.com/best-wordpress-permalinks/ tells a reader and a search engine what the page covers before anyone clicks. Google says a URL with only random identifiers is less helpful for users, and gives example.com/2/6772756D707920636174 as a poor example (Google Search Central).
Post name also ages well. A guide written in 2024 still reads as current in 2026 when the URL carries no date, while a date-based URL stamps the year on every share.
Short slugs are easier to share in emails, chats, and print. They are also easier to remember and to type, which helps when someone links to your post from another site.
When should you add a category to your permalink structure?
Add a category when your site has many posts across clear, stable topic groups.
The structure is /%category%/%postname%/, which gives URLs such as example.com/seo/best-wordpress-permalinks/. Yoast notes that this works when your domain is short and your category names are short and descriptive (Yoast).
Keep two limits in mind. First, use only one category per post when categories sit in your URLs, since WordPress shows just one of them. Second, keep category names short, or the URL grows long and hard to share.
WordPress.org explains that when a post has more than one category, only one shows in the permalink, and the one shown is picked alphabetically (WordPress.org). That can surprise you if you add a category later, so set your category plan before you publish much content.
When do dates in a URL make sense?
Dates in a URL make sense for news sites and other publications where the date is part of the story.
A news article about an election result reads better with its date attached, and readers expect it. For most other sites, dates add length and make good posts look old. Yoast puts it plainly: using dates in your URL never had many benefits, because it dates your posts (Yoast).
If you want readers to see a date, show it in the post itself or in the meta description. The URL does not need to carry it.
How do you change your permalink structure in WordPress?
Change your structure in Settings → Permalinks, pick Post name, and click Save Changes.
- Open your WordPress dashboard and go to Settings → Permalinks.
- Under Common Settings, select Post name.
- Scroll down and click Save Changes.
- Open a post on the front of your site and check that the URL shows the slug with no date or ID.
Learn WordPress walks through the same screen in its permalinks lesson, including how to shorten a single post slug in the editor. The screen also holds Optional settings where you can change the category base and tag base, which default to category and tag.
Your host must support pretty permalinks for this to work. WordPress.org notes that your host should have set up the web server for them, and you should contact your host if plain URLs keep showing (WordPress.org).
What happens to your SEO when you change permalinks on a live site?
Changing permalinks on a live site changes every post URL, so old links break unless you redirect them.
Every inbound link, bookmark, and search result that points to an old URL will hit a 404 page until a redirect sends visitors to the new one. That is why the structure is one of the first settings to fix on a new site, not something to change later without a plan.
Yoast notes one exception: if you change from Plain (?p=123) to Post name, or from Post name to category plus Post name, WordPress handles the redirects for you (Yoast). Any other change needs a redirect plugin or redirect rules. Our redirect guide shows how to set up 301 redirects in Yoast SEO.
If you move a site at the same time, our site move SEO guide covers how to keep your rankings through the move.
What mistakes should you avoid?
The biggest mistake is changing your permalink structure on a live site with no redirects in place.
- Do not switch structures just to chase a trend; pick Post name early and leave it alone.
- Do not put dates in URLs for evergreen content, since the date makes good posts look stale.
- Do not use two or more categories per post when a category sits in the URL.
- Do not stuff the slug with keywords; keep it short and close to the title.
- Do not use underscores or spaces in slugs; WordPress uses hyphens between words.
If your posts suddenly return 404 errors after a change, re-saving the permalink settings often fixes it. Our permalink fix guide walks through that repair and the other common causes.
Frequently asked questions
Is Post name really better for SEO than Day and name?
For most sites, yes. Post name keeps the URL short and free of dates, so evergreen posts do not look old. Day and name only helps when the date is part of the story, as on a news site. Google cares more about descriptive words in the URL than about the exact structure you pick.
Can I change my permalink structure after my site is live?
Yes, but treat it as a site change, not a quick tweak. Every post URL changes, so you need 301 redirects from old URLs to new ones. WordPress handles the redirect itself when you move from Plain to Post name, but other changes need a redirect plugin or server rules.
Should I include the category in my permalink?
Only if your site has many posts in clear, stable topic groups with short category names. It adds useful context to the URL. Skip it on small sites, since it makes URLs longer and can cause trouble if you rename a category or assign more than one category to a post.
Do keywords in the URL help rankings?
They help a little. Google says words in the URL can appear as breadcrumbs in search results and help users judge whether a result fits. A keyword in the slug is a small signal, not a ranking shortcut. Good content and good links matter far more than the exact words in a URL.
What should a post slug look like?
Keep it short, lowercase, and close to the post title, with hyphens between words. Remove filler words such as a, the, and and. A slug of three to five words is a good target. Edit the slug in the post editor before you publish, not after the post has inbound links.
Sources
- Customize permalinks WordPress.org Documentation
- SEO Starter Guide: The Basics Google Search Central
- The perfect WordPress SEO permalink structure Yoast
- Managing Settings: Permalinks Learn WordPress
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
