Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@rachelbaker
Copy link
Member

HAL links and embedding are broken on sites with pretty permalinks as a result of #1426

@rachelbaker
Copy link
Member Author

@rmccue This fixes the _embed issue if pretty permalinks are enabled.
BUT if permalinks are set to the default structure, query parameters don't work. As an example: http://example.com/wp-json/wp/v2/posts?posts_per_page=4 returns a 301 with a Location Header of http://example.com/wp-json/wp/v2/posts/?posts_per_page=4

Any suggestions?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants