Technical Guide

Wordpress

WordPress Permalinks: Choose a Structure and Change It Safely

Choose a sensible URL structure for a new site, or map and test address changes on an existing WordPress site.

Topic: WordpressBy SearchGlint Editorial Team5 min read
On this page

For a new WordPress editorial site, a post-name structure is often a straightforward choice: the URL describes the article without depending on its publication date or category. For an established site, first identify which existing addresses would change and where each should lead.

There are three different jobs here: choosing the structure for a new site, changing one article’s slug, and changing the structure of an existing site. Decide which job you need before opening the settings screen.

Understand the structure and the slug

The permalink structure is the pattern WordPress uses to build ordinary post URLs. The slug is the readable name of a specific post. With /%postname%/ as the structure and bike-chain-size as the slug, the path becomes /bike-chain-size/.

Adding a fixed prefix such as /blog/%postname%/ produces /blog/bike-chain-size/. A date-based pattern also uses the post’s publication date. WordPress documents the available patterns in its permalink customization guide.

Native WordPress URL examples for the same sample post
Setting Generated path
Plain /?p=246810
Day and name /2026/10/22/bike-chain-size/
Month and name /2026/10/bike-chain-size/
Post name /bike-chain-size/
Custom blog prefix /blog/bike-chain-size/

These paths were checked using WordPress 7.1’s native URL generation with a sample post dated October 22, 2026. They show how the pattern changes an address. Pages, products and custom post types can follow separate routing rules.

Choose a structure for a new site

For an evergreen guide library, a post-name structure keeps the address independent of a date that may become less useful as the article is updated. A publication built around dated news may have a reason to keep dates in its URLs. Choose the structure that fits how readers browse and how the publication will maintain its content.

Consider category-based paths carefully. If an article later moves between categories, you may also change the address you have shared elsewhere. A fixed prefix such as /blog/ has a different maintenance cost from a changing taxonomy.

Keep the slug concise and descriptive. A guide to measuring a replacement chain can use bike-chain-size. Adding every related phrase makes the URL harder to read and gives you more wording to maintain later.

Set the pattern in WordPress

  1. Open Settings → Permalinks.
  2. Review the common settings and their example URLs.
  3. Select Post name, or enter the chosen pattern in Custom Structure.
  4. Review category and tag bases separately if you intend to change archive addresses.
  5. Save the intended change and open a published post to check its actual URL.
WordPress Permalinks settings screen showing common structures, the custom structure field and available URL tags.
Source: WordPress.org.

The official settings reference explains these controls. On a managed host or a site with custom routing, verify how the chosen setting interacts with the server and active plugins.

SearchGlint is an example of a site with topic paths such as /wordpress/ and /seo/. Those routes are supplied by its publishing setup. Selecting Post name alone does not reproduce that topic structure on another installation.

Change one post’s slug without changing the whole site

Open the article in the post editor and find its URL or slug control. Depending on the editor version, this may sit in the post settings or a summary panel. Record the current public URL before editing it.

Changing the sample slug from bike-chain-size to chain-sizing, while keeping the post-name structure, changes only that sample address:

Old path: /bike-chain-size/
New path: /chain-sizing/

After updating the article, open both addresses while logged out. Confirm that the new URL shows the article and check what the old URL does. If it needs to remain a useful entry point, configure and test a permanent redirect to the relevant replacement.

For the rule setup and HTTP checks, follow our WordPress 301 redirect tutorial.

Update internal links that you control to point directly to the new address. Review the canonical URL and sitemap entry as well. Our canonical URL guide explains how those references fit together.

Plan an existing site’s structure change with a URL map

Start with an inventory of current published URLs. Include articles and any affected archive, feed or pagination routes. Give extra attention to addresses that receive visits, have external links or support important customer tasks.

Map each affected old address to its intended new address. Include examples that can expose assumptions in a rule: an old article, a nested category, an unusual slug and an address that already redirects.

For example, a planned move from /2026/10/bike-chain-size/ to /bike-chain-size/ needs more than a new permalink setting. The old address must still take its reader to the relevant guide, while the site’s own links should use the new address directly.

Test that mapping on a staging copy with a rollback plan. For a large URL change, Google’s site-move guidance is a useful reference for redirects, updated links and monitoring.

Verify the old address, new page and site references

A release check for each changed URL
Check Expected result
Old address A permanent redirect to the intended replacement, where one exists.
Final destination The correct page returns successfully and contains the expected article.
Redirect path No unnecessary intermediate hops or loop.
Canonical The page declares its intended preferred URL.
Internal links Navigation and relevant articles link directly to the new address.
Sitemap The intended new URL appears in the active sitemap.

Also test a genuinely missing address. It should receive the site’s intended not-found response, rather than being sent indiscriminately to the homepage. Use the XML sitemap checklist and internal linking guide for the corresponding site references.

If the new URLs return 404

First confirm that the post is published and that you are requesting its actual new URL. Compare it with another published post using the same route. If the query-style address works while pretty URLs fail, investigate rewriting and the server configuration.

Permalink settings and server rules work together. Apache and Nginx handle those rules differently, and a managed host may control them for you. Record the current configuration and work from the host’s documentation before editing server files. Repeatedly saving the same setting will not explain a conflicting route or a server rule that never passes the request to WordPress.

After a release, check important old links again and monitor not-found requests and search processing. Keep the change record with your WordPress SEO checks so future editors can see why the URL structure was chosen.

Sources

Written by SearchGlint Editorial Team

How we research and review our guides