Why do my WordPress pages return 404 after a migration when the homepage works?
Was this question useful?Community ranking
Answers
That homepage-works/every-other-page-404 pattern usually points to permalink rewrite handling after the move, not the pages disappearing. First make sure plain URLs work, then go to Settings > Permalinks and click Save Changes to flush the rules. On Apache, the host may need to enable rewrite rules or the site may need a valid WordPress .htaccess file. On Nginx, .htaccess doesn’t apply, so the server config needs the WordPress rewrite rule instead. If resaving permalinks changes nothing, ask the host to check the web-server rewrite configuration rather than randomly changing file permissions.
Sign in to answer.
Keep exploring