[wp-trac] [WordPress Trac] #47217: Permalink Setting Post Name Breaks Rest API
WordPress Trac
noreply at wordpress.org
Thu May 16 04:26:09 UTC 2019
#47217: Permalink Setting Post Name Breaks Rest API
--------------------------+------------------------------
Reporter: prinzfranz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by prinzfranz):
* keywords: reporter-feedback =>
Comment:
Hi @earnjam,
thank you for your reply and sorry you can't reproduce the bug as non-
reproducable bugs are bound to cause stomach-ache. What I just did to
reproduce it is:
- downloaded and installed a fresh instance of wordpress
(https://wordpress.org/latest.zip, empty database, empty install
directory)
- after that, "Site Health Status" didn't show the warning concerning the
REST API (just two warnings about unused plugins - Akismet and Hello Dolly
- and unused themes)
- then I set the URL structure in "Permalink Settings" to "Post name" and
that's that, afterwards "Site Health Status" was/is showing the warning
"The REST API encountered an unexpected result" (The requested URL /wp-
json/wp/v2/types/post was not found on this server.)
The site is running on an Ubuntu 18.04.2 LTS server, Apache with PHP
Version 7.3.5-1+ubuntu18.04.1+deb.sury.org+1. I'll try to attach images
showing the Warning and Permalink-Settings. If there's any other
information that could help I'll gladly provide it.
Many thanks and best regards!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47217#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list