Redirect REST API endpoints
-
I’ve tried to redirect a default REST API endpoint such as
wp-json/wp/v2/post_type?filter[taxonomy_slug]=taxonomy_name/
to no avail. I’m guessing that the redirect fires after headers for this endpoint is sent – is there any way around this? End goal is to make sure taxonomy name change is redirected in the REST API as well as on the front end.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Redirect REST API endpoints’ is closed to new replies.