[wp-trac] [WordPress Trac] #42877: Rest routes 404ing when setting permalink to default
WordPress Trac
noreply at wordpress.org
Wed Dec 20 07:06:41 UTC 2017
#42877: Rest routes 404ing when setting permalink to default
--------------------------+----------------------
Reporter: neesu | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: REST API | Version: 4.9.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by dd32):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Hi @neesu
as you've discovered, permalinks need to be enabled for `/wp-json/` to be
used, clients cannot simply assume that the rest api is available at
`example.com/wp-json/`.
For details of how clients should discover the URI to the rest api, see
this handbook page:
https://developer.wordpress.org/rest-api/using-the-rest-api/discovery/
I'm closing this as `invalid` as it's currently working as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42877#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list