Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.
This repository was archived by the owner on May 27, 2024. It is now read-only.

Wordpress /wp-json malfunction #8

@manzu

Description

@manzu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions