Key takeaways
- Permalinks control the web address of every post and page, so the structure is best decided early and changed rarely.
- A simple, readable structure based on the post name suits many small business sites, but the right choice depends on how the content is organised.
- Changing permalinks on a live site changes URLs, so plan redirects and testing before you press save.
Every page on a WordPress site has a web address, and WordPress builds those addresses using its permalink settings. It is one of the first screens many people visit after installing WordPress, and one of the easiest to change without thinking about the consequences. A permalink change on a new site takes seconds. The same change on an established site can alter hundreds of URLs at once.
This guide explains what the WordPress permalink settings do, the main structure options, how slugs work, and how to change things safely if you need to. It is written for site owners and editors rather than developers, so it keeps code to a minimum.
What permalinks are
A permalink is the permanent URL of a post, page or archive. In WordPress, it is made of a few parts: your domain, any structure you set, and the slug of the individual item. The slug is the readable part at the end, such as a lowercase version of the title with hyphens between words.
The term permanent is a reminder of intent. A good URL should not change once people have bookmarked it, shared it or linked to it, and once search engines have indexed it. Permalink settings decide the pattern, and slugs decide the detail.
Where to find the permalink settings
In the WordPress dashboard, go to Settings and then Permalinks. You need an administrator account to change them. The screen has two main sections: common settings for posts, and optional settings for category and tag bases. If you run an online shop with WooCommerce, you may also see product permalink options on the same screen.
Saving this screen also refreshes WordPress's internal rewrite rules. That is why visiting it and pressing save is a common troubleshooting step when pages unexpectedly show not found errors after a change, such as registering a new content type.
The permalink structure options
WordPress offers several preset structures, plus a custom option.
| Option | What it includes | Things to consider |
|---|---|---|
| Plain | A query string with the post ID | Not readable and gives no clue to the content |
| Day and name | Year, month, day and post name | Suits news-style sites; dates can make evergreen content look old |
| Month and name | Year, month and post name | Similar trade-offs to day and name |
| Numeric | An archive path with the post ID | Short but not descriptive |
| Post name | Just the slug | Clean and readable; popular for business sites |
| Custom structure | Tags you choose, such as category and post name | Flexible but needs care to stay consistent |
The permalink structure on this screen applies to posts. Pages use their own hierarchy based on parent and child pages, so a page placed under a parent page will include the parent's slug in its URL.
Choosing a structure
There is no single right answer, but a few principles help.
Readable beats clever
A URL that describes the content is easier for people to understand when they see it in search results, in an email or on a printed flyer. The plain option, with a number in a query string, is the least helpful in this respect.
Think about dates carefully
Date-based structures make sense for publications where the date is part of the meaning. For a business blog with practical guides that you update over time, a date in the URL can make an article look out of date even after you refresh it.
Categories in the URL are a commitment
Including the category in the URL can give helpful context. The drawback is that if you later reorganise categories, or move a post from one category to another, the URL changes. If your categories are stable and meaningful, this may be fine. If they are still evolving, a simpler structure is less fragile. Our guide to website navigation structure covers how to plan categories and sections.
Match the way the site is organised
If your site has distinct content types, such as case studies, events or team members, those usually have their own URL patterns. Our guide to WordPress custom post types explains how those are set up. The permalink settings screen mainly affects standard posts and archives.
For many small business sites, the post name option is a sensible default because it is short and readable and does not depend on dates or categories. It is still worth considering your own content before choosing.
Writing good slugs
Whatever structure you choose, the slug carries much of the meaning. WordPress creates a slug from the title when you first save a post, but it is often worth editing it. Good slugs tend to be:
- Short and descriptive, using the main words a reader would expect.
- Lowercase, with hyphens between words.
- Free of filler words where removing them keeps the meaning clear.
- Free of dates or numbers that may go out of date, such as a year in an evergreen guide.
You can edit the slug in the block editor's post settings panel, under the URL or permalink option. Our WordPress block editor guide shows where the document settings live.
Slugs should also be unique. If you create a page with the same slug as an existing one, WordPress will add a number to the end. That is usually a sign to check whether you have a duplicate page or an old draft that should be removed.
Category and tag bases
The optional section of the permalinks screen lets you change the word that appears before category and tag archive URLs. By default, WordPress uses category and tag. You can replace these with something more fitting, such as topics, if that suits your site.
Changing these bases changes every category or tag archive URL at once, so treat it with the same care as changing the main structure. Removing the base entirely is not supported in the core settings and can cause clashes with page slugs, so it is generally best left alone unless a developer has a clear reason.
Changing permalinks on an existing site
If your site is new and has no traffic, changing permalinks is low risk. On an established site, it is a different matter. Changing the structure can change the URL of every post, which affects:
- Bookmarks and links shared by customers.
- Links from other websites.
- Pages already indexed by search engines.
- Internal links in your own content and menus that use full URLs.
- Links in emails, social posts and printed material.
WordPress does attempt to redirect some old post URLs to new ones, but you should not rely on that alone. A planned approach is safer.
Plan the change
Export or list your current URLs before changing anything. A sitemap or a crawl of the site can provide this. Decide what each old URL should become.
Test on staging
Make the change on a staging copy first, then check that posts, pages, archives and any custom content load correctly. Our guide to website staging and testing explains how to set up a safe place to do this.
Set up redirects
Each old URL should permanently redirect to its new equivalent. This helps visitors and search engines find the new location. Our guide to website redirects when relaunching covers the principles in detail.
Update internal links
Update menus and internal links so they point straight to the new URLs, rather than relying on redirects. Our WordPress menus guide may help with the navigation side.
Check after launch
Once live, check a sample of old URLs to confirm they redirect correctly, and keep an eye on search console reports for errors. Back up the site before you start, so you can roll back if something goes wrong. Our backup and recovery guide covers what a good backup routine looks like.
Troubleshooting permalink problems
A few issues come up when permalinks misbehave:
- Pages show not found errors. Saving the permalinks screen without changes often refreshes the rewrite rules and fixes this.
- The settings will not save. On some servers, WordPress needs permission to update a server configuration file. Your host can usually help.
- Slugs end in a number. Another item, possibly in the trash or media library, is already using that slug.
- Custom content has unexpected URLs. These are often set in code or by the tool that registered the content type, rather than on the permalinks screen.
If problems appeared after a hosting move, check that the server supports the rewrite rules WordPress needs. Our guide to WordPress hosting covers what to look for in a host.
How Prism Works Studio can help
Prism Works Studio builds and maintains WordPress sites for UK businesses. If you are planning a new site or considering a URL change on an existing one, we can help you plan the structure, test changes on staging and set up redirects. See our website and ecommerce development service, our pricing page, or get in touch.
FAQs
What is the best permalink structure for WordPress?
There is no single best option, but the post name structure is a sensible default for many business sites because it is short and readable. News-style sites may prefer a date-based structure.
Is it safe to change permalinks in WordPress?
On a new site it is low risk. On an established site it changes URLs, so back up first, test on staging and set up redirects from old URLs to new ones.
Why are my WordPress pages showing not found after a change?
The rewrite rules may need refreshing. Visiting Settings, then Permalinks, and saving without changes often fixes it.
Should I include the category in WordPress URLs?
It can add context, but if you reorganise categories later the URLs will change. A simpler structure is less fragile if your categories are still evolving.
Can I change the slug of a single post?
Yes, in the post settings panel of the editor. If the post is already live, add a redirect from the old URL to the new one.