WordPress permalinks are the web addresses of your posts, pages and archives. They look like small details, but they shape how readable your URLs are and how safely you can change them later. A wrong choice on a live site can cause broken links and lost traffic.
This guide explains the permalink options, shows how to set them, and lists the SEO rules that matter. It also covers what to do if you must change permalinks on a site that is already live.
Permalinks are meant to be permanent. For most sites, the “Post name” structure is the cleanest choice. Use readable words with hyphens, keep URLs in lowercase, and avoid ID numbers and parameters. If you change a live URL, redirect the old one to the new one with a permanent redirect.
⚡ Key Takeaways
- WordPress offers six permalink settings. Plain is the default and is the least friendly for people and search engines.
- Post name gives short, readable URLs such as /wordpress-permalinks/.
- Google recommends readable words, hyphens instead of underscores, and consistent lowercase URLs.
- Only one category can show in a permalink when a post has several, and WordPress picks it alphabetically.
- Changing a live permalink needs a redirect plan, or visitors and search engines hit 404 errors.
What Are WordPress Permalinks?
According to the WordPress documentation, permalinks are the permanent URLs of your posts, pages, categories and other archive pages. They are meant to stay the same, which is where the name comes from.
WordPress describes three types. Plain permalinks look like example.com/?p=123, where the number is the post ID. Pretty permalinks use words, such as example.com/2012/post-name/. Almost pretty permalinks add /index.php in front.

The WordPress documentation calls Plain “not user-friendly and also not optimized for search engines”. It is the default after a fresh install, so it is worth checking on every new site.
The WordPress Permalinks Options
Go to Settings, then Permalinks. WordPress lists six choices:
| Option | Example | Notes |
|---|---|---|
| Plain | /?p=123 | Default setting. Works on all servers, but is not friendly. |
| Day and name | /2026/11/13/post-name/ | Adds the full publish date. |
| Month and name | /2026/11/post-name/ | Adds year and month. |
| Numeric | /archives/123 | Uses the post ID from the database. |
| Post name | /post-name/ | Uses only the post title as the slug. |
| Custom structure | You choose the tags | Built from structure tags such as year, category or post name. |
Note that the examples are illustrative. Your own URLs will show your domain and your post names.
How to Change Your WordPress Permalink Structure
- Log in to the WordPress dashboard.
- Open Settings, then Permalinks.
- Pick a structure, for example Post name, or enter your own in the custom field.
- Click Save Changes.
- Open a few posts and pages to check that they load.
If you build a custom structure, WordPress advises ending it with %post_id% or %postname%. That lets WordPress find the single post behind each URL.
Also note that your host must support pretty permalinks. The WordPress documentation says hosting providers should set up their servers for this. If links break after a change, ask your host to check the setup.
SEO Best Practices for WordPress Permalinks
Google’s URL structure guidance gives clear rules. In fact, most of them match what the Post name option already does.
- Use readable words. Google advises readable words instead of long ID numbers.
- Separate words with hyphens. Google recommends hyphens over underscores, because they help people and search engines see the separate words.
- Keep everything in one case. Google treats
/APPLEand/appleas different URLs, so use lowercase only. - Avoid session IDs and needless parameters. They can create many URLs for the same content.
- Write for your audience. Use the words your visitors use when they search.
A short slug that names the topic is enough. So, you do not need to pack it with keywords. Edit a slug in the post editor under the permalink setting, and keep it clear.
Should WordPress Permalinks Include the Category?
You can add %category% to a custom structure. Be aware of one quirk. When a post has several categories, WordPress shows only one of them in the URL. According to the documentation, the choice is alphabetical.
For most blogs, a plain Post name structure avoids this problem. Instead, use a category in the URL only if it adds meaning for visitors, such as a clear shop section. You can also change the category base, the prefix that appears before category archives, on the same settings screen.
Changing WordPress Permalinks on a Live Site
WordPress says permalinks should never be changed. On a live site, changing them alters every URL that search engines and visitors already know. Old links, bookmarks and shared posts then lead to 404 pages.
If you must change them, follow a plan:
- List your current URLs from your sitemap or a crawl.
- Map each old URL to its new URL.
- Set up permanent server-side redirects. Google recommends 301 or 308 redirects when a page has moved for good.
- Update internal links so they point straight to the new URLs.
- Submit the updated sitemap and watch Search Console for errors.
A fuller guide to doing this safely is in this explanation of 301 redirects for SEO.
Test before you launch. For example, a staging copy lets you check redirects without risking the live site.
Fixing Common WordPress Permalinks Problems
404 errors after a change
First, return to Settings, Permalinks and click Save Changes again, even if you changed nothing. Then check that your host supports pretty permalinks. If pages still fail, a custom 404 page at least gives visitors a way forward, as shown in this guide to creating a custom 404 page in WordPress.
Several URLs for the same page
Mixed upper and lower case, or extra parameters, can create duplicates. For this reason, Google treats URLs as case sensitive, so pick one version and redirect the others to it.
Broken internal links
Old links inside your content may still point to the former URLs. However, finding them is easier with a method like the one in this post on how to find and fix broken internal links.
Worked Example (Made-Up)
Imagine a small shop that launched with Plain permalinks. Its product guide lives at /?p=482. The owner switches to Post name, and the guide becomes /how-to-choose-a-yoga-mat/. The site is only a few weeks old, so very few outside links exist yet.
First, the owner exports the old URLs, adds redirects from each old address to its new one, and tests five of them. After the change, the sitemap is resubmitted. This example is invented, and it shows the order of steps, not a guaranteed outcome.
WordPress Permalinks Checklist
- Check Settings, then Permalinks, on every new site before you publish.
- Choose Post name unless you have a strong reason to use another structure.
- Use lowercase words separated by hyphens.
- Keep slugs short, clear and free of dates and IDs.
- Avoid changing live URLs. If you must, redirect each old URL with a 301.
- Re-save permalinks and test pages after any change.
Conclusion
Good permalinks are simple. Pick Post name, write clear slugs, and leave live URLs alone. When you cannot avoid a change, map each old address to a new one and redirect it permanently.
Run through the checklist on your own site today. For a wider routine, this list of WordPress SEO practices for beginners is a useful next read.
Regular permalink and redirect checks also fit within WordPress support and maintenance.
Frequently Asked Questions About WordPress Permalinks
What is the best permalink structure for WordPress?
For most sites, Post name is the cleanest. It gives short, readable URLs made of words, which matches Google’s advice to use readable words instead of ID numbers.
Does changing permalinks hurt SEO?
It can, if old URLs stop working. For that reason, Google recommends permanent server-side redirects when a page moves for good. With a full redirect plan, the risk is lower, but it is never zero.
Why do I get 404 errors after changing permalinks?
Re-save the settings first. Then, ask your host to confirm that pretty permalinks work on the server, because WordPress notes that hosts need the right configuration.
Should I include the category in my permalink?
Only if it helps visitors. When a post has several categories, WordPress shows one of them, chosen alphabetically, so the URL may not show the category you expect.
Are WordPress URLs case sensitive?
Google treats URLs as case sensitive, so /Page and /page count as different. Keep slugs in lowercase and redirect any other versions.




