If you get any errors when accessing the custom wp-json path of your website, follow these steps:

Clear all cache

If you have a cache plugin or use server caching, clear all the cache, as the change of paths has significantly changed the website’s structure.

Run a Frontend Test

Go to WP Ghost > Change Paths, click the Frontend Test button, and follow the server configuration instructions, if any.

Frontend test fail
Update permalink settings

Go to your WordPress dashboard, navigate to Settings > Permalinks, and click Save Changes to refresh the permalinks. This action can sometimes help resolve issues related to URL structures.

Save settings permalink
Relogin to admin

If you change the core paths of your WordPress website, you need to log out and log in to your website to access the new paths properly.

Revert changes

Some hosting servers allow JSON posting only through the default REST API Path to increase website security. In this case, we encourage you to revert to the original wp-json path and determine if the path change is the cause of the issue.