Fix WordPress 404 Errors After a Permalink Change
If the homepage loads and most posts return 404 after a WordPress change, start with the permalink format and the server’s request routing. A missing single post, a wrong base address and a stale proxy cache can look similar but need different fixes.
Compare affected pages
Open the homepage, a known published post and the WordPress dashboard. Record their complete URLs. If just one item is missing, check whether it is published, whether the slug changed and whether the old URL has a redirect. If most pretty URLs fail after migration, compare the configured permalink structure with your previous site and the hosting provider’s supported rewrite configuration.
Refresh the existing structure
Back up the relevant configuration and use an account with the proper WordPress permissions. Go to Settings → Permalinks. Note the current selection and save it without choosing a different public format. WordPress may update rewrite rules where it can write them, or tell you to apply them manually. Apache and Nginx use different configurations. Ask the host how routing is managed before replacing a server file or granting extra write permissions.
Retest published and old URLs
Clear only the cache that covers the changed route and open a published post from the menu. Check one formerly shared address, the expected redirect and a truly missing address. If the provider reports normal rewrites, share the first failing URL and the server response with a technician rather than repeatedly resaving the setting.
Related guides
- How to Update WordPress Safely
- How to Change a Website’s PHP Version in Plesk
- Troubleshoot the WordPress Critical Error Screen
- WordPress category
Official references
Ferkesh Hosting. Last reviewed .
Спасибі за відгук!