Skip to content

Conversation

@aceArt-GmbH
Copy link
Contributor

@aceArt-GmbH aceArt-GmbH commented Sep 18, 2024

The provided example does not work with a fresh WordPress instance, as it does not make use of "pretty permalinks" (which is a very vague description).

On a later page an alert with this information is given. But on this page, this fact is not mentioned.
It is very confusing to land on this page, copy the example and get a 404 without any information.
One would assume the permalink structure does not affect internal routes like /wp-json as it does not change /wp-admin i.e.

See https://stackoverflow.com/questions/34670533/wordpress-rest-api-wp-api-404-error-cannot-access-the-wordpress-rest-api and similar questions

@TimothyBJacobs TimothyBJacobs merged commit 54739da into WP-API:master Sep 18, 2024
@TimothyBJacobs
Copy link
Member

Thanks for the PR @aceArt-GmbH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants