WordPress: subpages have 404 after migration, and homepage works
After the service is moved, the main page opens, but articles and subpages do not work. The rules for rewriting addresses or setting permalinks may not match the new server.
How to determine the source of the error
Check if the requested page exists in the panel and what service and current URL database it has.
Compare rewrite configuration for Apache/Nginx and site operation on the main domain.
What to do step by step
1. In the WordPress panel, save the settings for direct links again to refresh the rules where appropriate.
2 . Configure correct server rules and keep redirecting old addresses to new ones if their structure has changed.
How to check the score
Subpages and entries return 200, and old valid URLs lead to new pages without loops.
What to do
Do not fix the problem by creating a separate page 404 for each existing article.