WordPress Permalinks Change: Redirect Old URLs and Avoid 404s
Changing structure breaks old links.
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.
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

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

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

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

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

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
- Writing Clear Error Reports: Screenshots, URLs and Steps
- WordPress Tag and Date Archives Duplicate Content: Settings
- Error Establishing a Database Connection in WordPress: Full Checklist
- WordPress 'Briefly Unavailable for Scheduled Maintenance' Stuck