New BreakUI Pro: custom Breakdance elements for unlimited sites Take a look →

SEO · wordpress

WordPress Permalinks: The Best URL Structure and How to Change It Safely

The best WordPress permalink structure for SEO, how to write clean URLs, and how to change existing URLs without losing rankings or traffic.

MD Moniruzzaman Monir, WordPress developer

MD Moniruzzaman Monir

Updated November 12, 2026

WordPress Permalinks: The Best URL Structure and How to Change It Safely

A permalink is the permanent address of a page or post. Getting the structure right on day one is easy. Changing it later on a site with traffic is where rankings get lost. This guide covers the setting to choose, how to write good URLs, and how to change existing ones safely.

The setting to choose

Go to Settings > Permalinks. For almost every business site, choose Post name. It produces addresses like:

yourdomain.com/wordpress-permalink-structure/

Avoid the default plain setting, which gives addresses like ?p=123, and avoid date-based structures unless you run a news site. Dates in a URL make good articles look old.

Web browser address bar

Rules for a good URL

  • Keep it short. Three to five words is plenty.
  • Describe the page. Use the main phrase people would search for.
  • Use hyphens between words, not underscores.
  • Use lowercase only.
  • Leave out filler words such as a, the and of when the meaning stays clear.
  • Leave out dates and numbers that will change. A list of ten tips may become twelve.

WordPress builds the URL from your title by default, which usually makes it too long. Edit the slug before you publish.

Categories in URLs

You can include the category, as in /blog/seo/post-name/. It looks organised, but it means every post address changes if you later rename or reorganise categories. For most small sites, the plain post name is safer.

How to change a URL without losing traffic

Search engines and other websites link to the old address. If it simply disappears, those visitors hit an error page and the ranking is lost. Follow this order:

  1. Decide whether the change is worth it. An ugly URL that ranks well should usually be left alone.
  2. Change the slug in the post or page editor.
  3. Add a 301 redirect from the old address to the new one. WordPress adds one automatically for a changed post slug, and SEO plugins such as Rank Math have a redirection manager for everything else.
  4. Update internal links in menus, buttons and other posts so they point straight to the new address.
  5. Test the old address in a private window and confirm it lands on the new page.
  6. Resubmit the sitemap in Google Search Console.
Analytics charts on a screen

Changing the whole structure

Switching the permalink setting on an established site changes every post address at once. It can be done, but every old pattern needs a redirect rule, and it should be tested on a staging copy first. If the site has meaningful traffic, get help before you press save.

Common mistakes

  • Changing URLs during a redesign and forgetting the redirects. This is the most common cause of traffic dropping after a relaunch.
  • Redirect chains, where one old address redirects to another old address, and then to the final page.
  • Leaving both the old and new versions live, which creates duplicate content.
  • Deleting a page without redirecting it to the closest relevant page.
Typing on a laptop keyboard

Need help with a migration or redesign?

Keeping URLs and rankings intact is a core part of our website redesign and SEO services. Book a free call before your relaunch, not after.

Need a hand with your WordPress site?

Tell us what you are working on. You get a clear plan and a fixed quote.

Book a free call
Moniruzzaman Monir

Start a project

Booking new projects for Q1 2027
What do you need?
Prefer to talk? Book a free call