• On iMac. Running Catalina 10.15.18 (highest I can go). Using Google Chrome 92.0.4515.131. Also tried Firefox 90.0.2 (64-bit)

    ISSUE:
    After update to WP 5.8 I went to a page to edit it. I clicked “view” and received error:

    “Not Found. The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Dashboard > Site Health Status > The REST API encountered an unexpected result:

    “`The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API call gave the following unexpected result: (404) <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html> .`”

    I read instructions about 5.8 to log out, clear cache etc. and log back in, however, it didn’t resolve issue.

    Any help is appreciated. I am a novice here. Thank you.

    • This topic was modified 3 years, 6 months ago by paperwork queen. Reason: Updated website URL

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter paperwork queen

    (@paperwork-queen)

    Was able to resolve 1 of the 2 issues mentioned above. I can now see each page with the “view” button, I do not get the 404 error page. I resolved this by referencing this page: https://www.ads-software.com/support/article/post-status/

    My site is under construction. So I set 6 pages that are completed to “private” and “pending review” and the 6 I am still working on to “draft” and unchecked private.

    I logged out, cleared cache and cookies and logged back in, however, I still get the Site Health Status > “The REST API encountered an unexpected notice” error in the dashboard.

    • This reply was modified 3 years, 6 months ago by paperwork queen. Reason: changed word from review to resolve
    Thread Starter paperwork queen

    (@paperwork-queen)

    I ended up calling my host who normally won’t address WP issues, however, tech support was willing to give it a shot and he resolved my issue by going into the “Permalink Settings” and changing under the “Common Settings” from “Day and Name” to “Post Name.” No clue how this would fix issue, but it did.

    @starapple I wish I knew how to resolve that issue you are having. I will leave this open in hopes someone has advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The REST API encountered an unexpected result = 404 Not Found error’ is closed to new replies.