Guides › WordPress › Site down or error screens

WordPress Permalinks Change: Redirect Old URLs and Avoid 404s

Changing structure breaks old links.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

The permalink setting controls how post and page addresses look. Changing it changes every address, so old links, bookmarks and search results can return 404 unless you redirect them.

1Back up the site2Record the current structure3Change the structure4Add redirects for old URLs5Check for 404 errors6Resubmit the sitemapFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Back up the site

Illustration for Step 1: Back up the site

Take a full backup first so you can go back if the change causes problems.

Step 2: Record the current structure

Illustration for Step 2: Record the current structure

In Settings, Permalinks note the current setting. Copy five or six example URLs from your site, including posts, pages and categories.

Step 3: Change the structure

Illustration for Step 3: Change the structure

Choose the new option (for example Post name) and click Save Changes. WordPress rewrites .htaccess. Open a post and a page to confirm they load.

Step 4: Add redirects for old URLs

Illustration for Step 4: Add redirects for old URLs

WordPress can redirect some old post addresses automatically when only the structure changes. For anything else, use a redirect plugin and add each old pattern. A plugin with a regular-expression option can redirect /2024/05/my-post/ to /my-post/ in one rule.

Step 5: Check for 404 errors

Illustration for Step 5: Check for 404 errors

Open Google Search Console, then Pages, and look for Not found (404) URLs. A site crawler also finds broken internal links. Fix them or add redirects.

Step 6: Resubmit the sitemap

Illustration for Step 6: Resubmit the sitemap

In Search Console submit your sitemap again so Google finds the new addresses.

Good to know

Do not change permalinks on an established site unless there is a clear reason. If you do, change them once and keep the redirects for a year.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.