Key takeaways

  • WordPress permalinks are set once under Settings > Permalinks, and on most business sites the Post name option is the simplest good choice.
  • Google recommends readable words instead of long ID numbers and hyphens instead of underscores, which is exactly what a clean post name slug gives you.
  • Edit a post’s slug before you publish it. After publishing, every change creates an old URL that needs a permanent redirect.
  • The category and tag bases default to “category” and “tag”. You can rename them, but WordPress does not let you remove them from the settings screen.
  • Changing the structure on a live site is a small site move: map every old URL, redirect it with a server-side 301, update internal links and sitemaps, and keep the redirects for at least a year.

WordPress permalinks decide what every post and page URL on your site will look like for years. Getting them right on day one takes two minutes. Changing them later on a site with traffic takes planning. When businesses come to me for WordPress SEO consulting, permalinks are usually either fine and left alone, or wrong in a way that needs a careful, redirected fix.

Permalinks are one part of a sound WordPress setup, so if you are starting from scratch, read my guide to the basics of WordPress SEO for small businesses first and come back here for the URL details.

I first published this article in 2024 and have rewritten it around what the WordPress and Google documentation actually say, plus what more than 16 years of fixing URLs has taught me.

What WordPress permalinks are and where to set them

A permalink is the permanent URL of a post, page or archive. The WordPress documentation on customizing permalinks puts it plainly: “These URLs are permanent and should never be changed – hence the name permalink.” Most of what follows is about respecting that sentence.

You choose the structure in the dashboard under Settings > Permalinks. The Settings Permalinks screen documentation lists the common settings with these examples:

Setting Example URL My view for a business site
Plain /?p=123 Avoid. The URL says nothing about the page.
Day and name /2008/03/31/sample-post/ Only for news sites where the date matters.
Month and name /2008/03/sample-post/ Same as above, slightly shorter.
Numeric /archives/123 Avoid. A number instead of words.
Post name /sample-post/ My default for most small business sites.
Custom structure Built from structure tags Only when you have a clear reason.

After you choose, click Save Changes. If your .htaccess file is writeable you will see “Permalink structure updated”. If it is not, WordPress shows the rewrite rules and you need to copy them into .htaccess yourself, which is the first thing I check when new URLs return errors.

Why Post name is my default structure

Google’s guidance on URL structure is short and practical: “When possible, use readable words rather than long ID numbers in your URLs.” It also recommends “using hyphens (-) instead of underscores (_) to separate words in your URLs”, because “hyphens clearly signal a word boundary.”

A long address strip of many small blocks with a warning mark, and an arrow down to a short strip of three word blocks joined by small connectors, marked with a tick
Figure 1. Readable words separated by hyphens instead of long ID numbers.

The Post name setting does both for you. The customizing permalinks page gives the example of “This Is A Great Post!” becoming this-is-a-great-post, in lower case with hyphens. The lower case matters more than people think, because Google states that its “URL handling is case sensitive” and that it treats /APPLE and /apple “as distinct URLs with their own content”.

I prefer Post name to the date-based options because a service guide or how-to article is not tied to the day it was written. A date in the URL makes a page you updated last month look old. For a news site dates can make sense. For a plumber, a law firm or an online shop, they rarely do.

I don’t claim a keyword in the URL will move rankings on its own. A clean slug helps people see what the page is about before they click, and that is reason enough.

Free tool · SEO ROI Calculator

Wondering whether a URL clean-up is worth the effort? Estimate what the keywords behind those pages could be worth.

Enter search volume, CPC and your current ranking to estimate traffic, revenue and value for a keyword. Free.

Calculate your SEO ROI →

Editing a single post slug

The slug is the last part of the URL. The WordPress documentation on the post and page settings sidebar explains that “Once your post or page is saved as a draft, you can edit the last part of the URL (also called the Slug)”, and that the slug “is automatically pre-populated as a URL-friendly version of your post/page title.”

A draft page with a long address bar being trimmed by scissors into a short address bar, beside a pencil
Figure 2. Shorten and check the slug while the post is still a draft.

My routine for every new post or page:

  • Cut it down to the few words that describe the page. A title like “Our Complete Guide to Choosing the Right Boiler for Your Home in 2026” can become choosing-a-boiler.
  • Leave the year out unless the page is truly about one year.
  • Keep it lower case, with hyphens, and check it once more before you press Publish. This is the last moment a slug change is free.

After publishing, a slug change creates an old URL that people, other sites and Google may already know. In my experience WordPress often redirects an old post slug by itself, but I always test the old URL and check that it returns a permanent redirect to the new one. Pages are where I most often find gaps.

Category base, tag base and custom structures

Below the common settings, the Permalinks screen has two optional fields: Category base and Tag base. The documentation describes them as a custom prefix for your category and tag URLs, with the example that “/topics/” as a category base makes category links look like /topics/uncategorized/. The customizing permalinks page adds that “The default values for Category base and Tag base are category and tag. You can change them, but you can’t remove them from the URLs altogether.”

I usually leave the defaults. Renaming /category/ changes every archive URL on the site for very little gain. Some SEO plugins offer to remove the base completely, and I treat that like any other structure change: only with a redirect plan and a real reason.

A custom structure is built from structure tags such as %year%, %monthnum%, %postname%, %post_id%, %category% and %author%. The one rule WordPress gives is worth repeating: “End your structure with either %post_id% or %postname% so that WordPress can target an individual post for every permalink.”

I am cautious with %category% in post URLs: rename a category or move a post and its URL changes too.

Changing the structure on an existing site without losing traffic

Changing the structure on a site with traffic changes every post URL at once. I treat it as a small site move, and Google’s guidance on site moves with URL changes applies almost word for word. It also warns that “the visibility of your content in Search may fluctuate temporarily during the move”, so only do it when the old structure is a real problem, such as Plain or Numeric URLs.

A column of old pages on the left, each connected by a single arrow to its matching new page in a column on the right, with a checklist clipboard below
Figure 3. Map every old URL to its new URL and redirect each one directly.

This is the order I work in:

  1. Export every current URL from your XML sitemap and the Pages tab of the Search Console Performance report.
  2. Make the change on a staging copy and record the new URL for each old one. Google says: “It’s important to map your old site’s URLs to the URLs for the new site.”
  3. Set up permanent server-side redirects. Google’s redirects documentation says that with a 301 or 308 “the indexing pipeline uses the redirect as a signal that the redirect target should be canonical”, and recommends “a permanent server-side redirect whenever possible.”
  4. Redirect each old URL straight to its final new URL. Google advises “redirecting to the final destination directly” rather than through chains.
  5. Switch the live setting, test a sample of old URLs, then update internal links in menus and content and make sure your sitemaps list only the new URLs.
  6. Keep the redirects “for as long as possible, generally at least 1 year”, as Google advises. I simply leave them in place.
  7. Watch the Page indexing and Performance reports in Search Console and fix any old URL that returns a 404.

Free tool · Ping My URL

Just switched to new permalinks and set up the redirects? Let search engines know about your most important new URLs.

Notify Google and other search engines about up to 5 new or updated URLs at once. Free, no sign-up.

Ping your URLs →

Permalink mistakes I still find in audits

Most permalink problems I see come from changes made without a plan, not from the choice of structure.

  • Plain URLs left from installation. Sites still using /?p=123 because nobody opened Settings > Permalinks.
  • Slugs edited after publishing with no redirect. Often on pages rather than posts, and often found only when a linked page starts returning 404.
  • Temporary redirects used for permanent changes. Google says a temporary redirect keeps showing “the source page in search results”, which is not what you want after a URL change.
  • Redirect chains. An old URL redirects to a second structure, which redirects to a third.
  • Internal links still pointing at old URLs. The redirects work, but every click takes an extra step for no reason.

The best permalink change is the one you never have to make, so choose the structure before the first post goes live.

Rank Check Reports

Changing your permalink structure? Record where your key pages rank before the switch and check again after.

A live Google check of your keywords on desktop and mobile · from $14.99 per check · no subscription · report within one working day

Order a rank check report →

FAQ

What is the best permalink structure for WordPress?

For most business sites I use Post name, which gives short URLs like /sample-post/. Date-based structures suit news sites. Avoid Plain and Numeric, because they use ID numbers instead of readable words.

Can I change WordPress permalinks without losing rankings?

You can reduce the risk a lot, though Google says visibility may fluctuate temporarily. Map every old URL, redirect it permanently and directly to its new URL, update internal links and sitemaps, and keep the redirects for at least a year.

Should I remove the category base from my URLs?

WordPress itself does not let you remove it, only rename it. On an existing site I rarely touch it, because it changes every category URL.

Does changing a post slug need a redirect?

Yes. Once a post is published, the old URL may already be linked or indexed, so make sure it returns a permanent redirect to the new one.

Eugen Platon

Eugen Platon

Director of SEO & Web Analytics at onwardSEO
Eugen Platon is a highly experienced SEO expert with 16+ years of experience propelling organizations to the summit of digital popularity. Eugen, who holds a Master's Certification in SEO and is well-known as a digital marketing expert, has a track record of using analytical skills to maximize return on investment through smart SEO operations. His passion is not simply increasing visibility, but also creating meaningful interaction, leads, and conversions via organic search channels. Eugen's knowledge goes far beyond traditional limits, embracing a wide range of businesses where competition is severe and the stakes are great. He has shown remarkable talent in achieving top keyword ranks in the highly competitive industries of gambling, car insurance, and events, demonstrating his ability to traverse the complexities of SEO in markets where every click matters. In addition to his success in these areas, Eugen improved rankings and dominated organic search in competitive niches like "event hire" and "tool hire" industries in the UK market, confirming his status as an SEO expert. His strategic approach and innovative strategies have been successful in these many domains, demonstrating his versatility and adaptability. Eugen's path through the digital marketing landscape has been distinguished by an unwavering pursuit of excellence in some of the most competitive businesses, such as antivirus and internet protection, dating, travel, R&D credits, and stock images. His SEO expertise goes beyond merely obtaining top keyword rankings; it also includes building long-term growth and optimizing visibility in markets where being noticed is key. Eugen's extensive SEO knowledge and experience make him an ideal asset to any project, whether navigating the complexity of the event hiring sector, revolutionizing tool hire business methods, or managing campaigns in online gambling and car insurance. With Eugen in charge of your SEO strategy, expect to see dramatic growth and unprecedented digital success.
Eugen Platon
Check my Online CV page here: Eugen Platon SEO Expert - Online CV.