You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
The Wordpress REST API under the uri path /wp-json doesn't work under FrankenPHP with the included Caddyfile.
Because of this you can't use the Jetpack plugin and probably other things also.
Another symptom of this is that Tools > Site Health reports problems.
Might be related to PHP 8.2 / Wordpress which is beta support still
Adding
handle_path /wp-json/* {
uri strip_prefix /wp-json
rewrite index.php?rest_route={uri}
}
to the Caddyfile helps in /wp-json/ now working but Site Health and Jetpack still fail
The text was updated successfully, but these errors were encountered:
manzu
changed the title
Wordpress /wp-json
Wordpress /wp-json malfunction
Mar 26, 2023
The Wordpress REST API under the uri path /wp-json doesn't work under FrankenPHP with the included Caddyfile.
Because of this you can't use the Jetpack plugin and probably other things also.
Another symptom of this is that Tools > Site Health reports problems.
Might be related to PHP 8.2 / Wordpress which is beta support still
Adding
to the Caddyfile helps in /wp-json/ now working but Site Health and Jetpack still fail
The text was updated successfully, but these errors were encountered: