REST API broken and 404 errors after site migration
-
Using the “Duplicator” addon I migrated a working site to another server. There were no errors/warnings during the Duplicator package generation and deployment. WordPress and PHP versions are the same on both hosts. However only the landing page is displayed. Navigating to any other page on the site results in a 404 (not found) error. Yes, I tried the Permalinks fix (setting and resetting the permalink path format), but it had no effect. I noticed the Dashboard’s “site health” shows:
The REST API call gave the following unexpected result: (404)
Not FoundThe requested URL /wp-json/wp/v2/types/post was not found on this server.
REST is perfectly ok on the source host. I’m stumped by these problems.
The topic ‘REST API broken and 404 errors after site migration’ is closed to new replies.