How to Configure WordPress Permalinks

Updated:

You want a readable address for your next article, but WordPress offers dates, numbers, categories and a box full of strange tags. Which setting can you choose and then leave alone?

The choice is straightforward on a new site. On an existing site, changing it can leave old links pointing to missing pages, including links in emails you cannot take back. To protect those links, the dashboard walkthrough below includes checks for old addresses, so you can choose a lasting URL structure and configure it without code.

A permalink is the complete web address of a post, page or archive. The slug is the readable part that identifies the individual item.

Imagine your dog-friendly road-trip blog has a guide called “Dog Road Trip Packing List.” With a simple structure, its address could be:

https://example.com/dog-road-trip-packing-list/
Choose A Stable Permalink Structure: Wordpress Permalink Vs Slug; Https://Example.com/Travel/Dog-Road-Trip-Packing-List/; Permalink: The Complete Address; Domain; Example.com; Category Path In This Example; /Travel/; Slug: Identifies The Guide

The slug is dog-road-trip-packing-list. The domain and permalink structure supply the rest.

For a new site publishing guides you’ll keep updating, I would choose Post name. Its pattern is /%postname%/, so post addresses don’t depend on publication dates or categories you might reorganize later.

SettingExample pathWhen to choose it
Post name/dog-road-trip-packing-list/A new site publishing guides, reviews and other lasting content.
Day and name/2026/10/15/dog-road-trip-packing-list/Publication dates belong in the address, such as for daily reports.
Custom: /%category%/%postname%//travel/dog-road-trip-packing-list/You deliberately want a stable category hierarchy in post addresses.
Plain/?p=123Keeping an existing setup or working around a technical restriction. I would skip it for a new public blog.
Choose A Stable Permalink Structure: Choose Stable Wordpress Permalinks; Existing Readable Urls Work?; Keep Them Unless Change Is Justified; New Evergreen Blog; Post Name; /%Postname%/; Publication Date Belongs In The Url; Day And Name; Stable

Google recommends simple, descriptive URLs. That supports choosing readable addresses, but it doesn’t establish that changing an existing structure will improve rankings.

Dates aren’t automatically a problem. If your site already has readable dated URLs that work, I would keep them unless there’s a concrete reason to change.

Categories add another maintenance decision. With a category-based structure, changing the category slug used in a post’s path changes its address. I prefer keeping content organization separate from post URLs unless that hierarchy serves a clear purpose.

Prepare Before Changing Published URLs

If none of the affected URLs have been published or shared, skip ahead to configuration.

Otherwise, prepare redirects first. This applies even if Google hasn’t indexed your site: a link in an email, social post or bookmark still needs to work.

A 301 permanent redirect sends a visitor or search engine from an old address to its replacement. Saving a permalink setting does not guarantee those redirects. WordPress.com explicitly warns that old post links may not redirect automatically.

Before the switch:

  • Record the Current Setting: Take a screenshot or copy the current custom structure.
  • Confirm Your Backup: Make sure it includes both the database and site files, and that you know how to restore it.
  • List Affected URLs: Gather addresses from your published content and sitemap—the file listing URLs for search engines. Check your traffic reports and records of links from other sites for older addresses still receiving visits or links.
  • Map Each Replacement: Give every affected old address its correct new destination. Include pages and archives only when their addresses will change.

Use a spreadsheet to track the work. Here’s one illustrative row:

Prepare Before Changing Published Urls: Before Changing Wordpress Urls; Record The Current Setting; Back Up Database + Files; Know How To Restore; Gather Affected Old Urls; Old Url; New Url; Test; Map Each Correct Replacement; 301; Keep Redirects

Before changing published addresses, save a record of how those pages work now. You can compare it with a later scan to flag unexpected response codes or destinations.

Lead Magnet Cover
FREE WORKSHEET

Free Website Change Workbook

Steal our tracker to check whether your old links work as planned after a site change.
Send My Free Tracker ❯
Instantly delivered to your inbox
Customer Avatar 1
Customer Avatar 2
Customer Avatar 3
Customer Avatar 4
Rated highly by 1,200+ users
Old URLNew URLRedirect preparedTest result
https://example.com/2026/10/15/dog-road-trip-packing-list/https://example.com/dog-road-trip-packing-list/Exact-match 301 saved inactivePending until switch

Choose one redirect manager. If you already use Rank Math for search optimization, use its Redirections module. Otherwise, the free Redirection plugin handles 301 redirects without editing server files.

To prepare the example in Rank Math:

  1. Enable the Redirections module. Switch to Advanced Mode if the module is hidden.
  2. Open Redirections and select Add New.
  3. Enter /2026/10/15/dog-road-trip-packing-list/ as the source and choose Exact matching.
  4. Enter the full replacement address, https://example.com/dog-road-trip-packing-list/, as the destination.
  5. Select 301 Permanent Move.
  6. Choose Deactivate before saving so the rule stays inactive until the new address works.

Keep the source specific. A broad matching rule can catch addresses you never meant to move.

For many posts, prepare an import file rather than entering every rule by hand. Redirection accepts CSV files exported from a spreadsheet, but the columns must follow its import format. If importing activates the rules, wait until the new addresses work before importing.

Set the Site-Wide Post Structure

On a new self-hosted WordPress site, the usual setup takes a few clicks:

  1. Sign in as an administrator.
  2. Open Settings → Permalinks and inspect the current selection.
  3. Select Post name.
  4. Click Save Changes.
  5. Read the confirmation and check for any server-configuration warning.

If you use WordPress.com, changing this structure requires an activated, plugin-enabled paid plan. Check its permalink availability requirements if the setting is missing.

Post name applies the /%postname%/ pattern to existing and future posts. Switching from Day and name therefore changes published post addresses too.

For the road-trip guide, the change would be:

Before: /2026/10/15/dog-road-trip-packing-list/
After:  /dog-road-trip-packing-list/
Set The Site-Wide Post Structure: Wordpress Post Patterns Vs Archive Bases; /Blog/%Postname%/; /Blog/Dog-Road-Trip-Packing-List/; Blog Stays Fixed; Category Base; /Category/Travel/; Blank Keeps The Default Prefix; /%Category%/%Postname%/

If you deliberately want all posts under a fixed /blog/ prefix, choose Custom Structure and enter:

/blog/%postname%/

Enter only the pattern, without your domain. Here, blog is fixed text and %postname% inserts each post’s slug.

Leave the Category base and Tag base fields unchanged unless you have prepared changes to those archive addresses. Blank fields keep their default prefixes; they don’t remove them.

Those fields control archive URLs such as /category/travel/. They are separate from %category% inside a post’s permalink pattern.

After saving a change to published addresses, open the guide’s new address directly. Once it works, immediately activate your prepared redirects, then open its old dated address and confirm that it reaches the same guide.

If WordPress displays a server-configuration warning, resolve it before treating the change as complete. The troubleshooting steps below explain where to start.

Set an Individual Post or Page Slug

The site-wide structure controls the pattern. The slug identifies the individual post or page within it.

To edit a slug:

  1. Open the post or page in the editor. For new content, add a title and save a draft.
  2. Open the Post or Page settings sidebar and find the URL or Slug control.
  3. Enter the slug alone, such as dog-road-trip-packing-list.
  4. Save the draft or update the published item, then inspect its resulting address.

Use clear words, lowercase letters and hyphens between words. Keep enough detail to describe the content. /packing/ is shorter than /dog-road-trip-packing-list/, but it says much less.

Set An Individual Post Or Page Slug: Wordpress Titles And Slugs Are Separate; Dog Road Trip Packing List; Slug; Dog-Road-Trip-Packing-List; Revise The Headline; Dog Road Trip Packing Checklist; Same Descriptive Address; Changing A Published Slug?

With Post name selected, the example slug produces:

/dog-road-trip-packing-list/

With the fixed custom prefix, the same slug produces:

/blog/dog-road-trip-packing-list/

Ordinary pages work differently from posts. With readable permalinks, they use their own slugs and may include parent-page paths. They don’t inherit a post’s date or category pattern.

You can also change an article’s title without changing its slug. While revising an article on one of my content sites, I rewrote the title but kept the address because it still described the content. The headline needed work; the URL didn’t.

Before changing a published slug, record the old address and prepare its redirect. Activate and test that redirect immediately after updating the content.

Start by opening a published post, an ordinary page and a category archive while logged out. A private browser window is useful for this.

Check that each address loads the intended content. Don’t stop after checking the homepage; it can work while individual posts return errors.

Next, test every old URL in your redirect map. Use an HTTP status checker that shows the full redirect path, or your browser’s Network panel. You’re checking the server’s response codes:

  • Old Address: Returns a 301 permanent redirect.
  • New Address: Returns a 200 successful response and displays the correct content.
  • Redirect Path: Goes directly from the old address to its final replacement.
Test The Urls And Protect Existing Links: Wordpress Url Change Checks; Test While Logged Out; Post • Page • Category Archive; Expected Redirect Path; 301; 200; Old Url; Final Url + Correct Content; Test Every Mapped Old Url; Rel=&Quot;Canonical&Quot;; Update

For the running example, the expected result is:

/2026/10/15/dog-road-trip-packing-list/
    → 301 redirect
/dog-road-trip-packing-list/
    → 200 success

Record the actual result in your sheet. A browser landing on the right page doesn’t tell you whether it took several unnecessary redirects to get there.

Point each old address directly to its final destination. Avoid redirecting missing articles to an unrelated homepage. Keep permanent redirects for at least one year, and longer while old links remain useful. These follow Google’s guidance for changing URLs.

Then finish the cleanup:

  1. Update manually inserted links in articles, menus and buttons.
  2. Check each changed page’s canonical URL—the preferred address declared in its page code. It should use the new address.
  3. Confirm that sitemap entries contain the new URLs, then submit the updated sitemap in Google Search Console, Google’s tool for monitoring your site in search.

To inspect a canonical URL, view the page source and search for rel="canonical". If it still names the old address, check for a manually entered canonical in your SEO plugin.

Watch redirect logs and Search Console for missing pages, indexing changes and search clicks. Search visibility can fluctuate while Google processes changed URLs, so use those checks to distinguish processing delays from broken destinations.

New URLs Return 404 Errors

A 404 means the requested page wasn’t found. Test the new destination directly first so you know whether the content address fails or only the old link fails.

If the new address returns a 404:

  1. Confirm that the post is published and its actual slug matches the address you’re testing.
  2. Return to Settings → Permalinks.
  3. Keep your intended structure selected and click Save Changes again.
  4. Clear cached copies of your pages through your WordPress caching plugin, hosting dashboard and any caching service such as Cloudflare, then retest.

WordPress uses rewrite rules to connect readable addresses to the correct content. Returning to the Permalinks screen refreshes those rules, which can resolve a routing problem.

If new addresses still fail, or WordPress shows a configuration warning, ask hosting support to check the site’s rewrite configuration. Give them the selected structure, the exact warning and one failing URL.

That gives support something concrete to investigate, and you can usually avoid editing server files yourself.

Old URLs Fail or Redirect in a Loop

If the new address works but the old one fails, inspect the redirect rule:

  • Activation: The rule is enabled.
  • Source: It matches the old address in your map.
  • Destination: It points to the full, working replacement URL.
  • Response: It uses a permanent 301 redirect.

Plain URLs need particular care. In /?p=123, the p=123 query parameter identifies the post. Your redirect manager must match that parameter correctly; matching only / could affect the homepage or other requests.

Old Urls Fail Or Redirect In A Loop: Fix Wordpress Redirect Loops; Old Url; New Url; Conflicting Rules Send Visitors Back; Check Plugin, Host And Cdn Rules; 301; 200; Remove The Conflicting Return Rule; /?P=123; /; Match The Post Parameter, Not Just

A redirect loop means the browser keeps being sent around instead of reaching the page. Check rules in your redirect manager, hosting dashboard and CDN. One rule may send the old address to the new one while another sends it back.

Remove the conflicting rule and point the old address directly to the working final URL. Retest after each correction and update your redirect map with the result.

What Next?

Check your current permalink structure today and decide whether it needs changing. If it does, prepare the old-to-new URL map before touching the setting.

Use the social buttons to share this guide when a clean-URL discussion needs a practical way to protect existing links.

What would justify changing your current URL structure? Tell me in the comments, and add any other permalink questions there too.

Share this post with your friends & followers:
Abhishek is a data scientist by day & an online entrepreneur by night. He is known for his ability to simplify complex concepts and make them accessible to a wider audience. He started Passive Book to share his insights and experiences on how to effectively build an online business, which has quickly become a go-to resource for anyone looking to bootstrap an online business from scratch.

Leave a Comment

Build an Online Business 
Without Quitting Your Job

Join 10,000+ solopreneurs building six-figure online businesses from scratch with limited time & tight budgets using smart systems & AI automations.
Optin Form - Main

Free Bonus: Get access to our AI workflows & cheat sheets
Person sitting with laptop in home office environment with launching rocket, coffee mug, sleeping dog, bookshelf, and house plant illustrating work-from-home online business lifestyle. Decorative image.
Thank you for sharing

Follow Us On: