Title: REST API Problem
Last modified: November 1, 2019

---

# REST API Problem

 *  Resolved [Julinho](https://wordpress.org/support/users/razione/)
 * (@razione)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-problem-4/)
 * The Yoast Plugin has a problem with my site.
 * I opened a support on the Yoast forum and they told me it’s a REST issue.
 * They gave me this answer:
 * >  The configuration wizard relies on a built-in WordPress tool called the REST
   > API. Per the screenshot, this tool is returning to 404 Not Found which means
   > that either the core files are missing or your site / server has disabled the
   > REST API.
   > The REST API in it’s most basic state should return information about your 
   > site like it does for this site: [https://wordpress.org/wp-json/](https://wordpress.org/wp-json/)
   > Your site returns The requested URL was not found on this server.
 * Log: I did it and the plugin keeps showing error.See the error log: [https://www.dropbox.com/s/p0kuv48atf1zpsu/log.png?dl=0](https://www.dropbox.com/s/p0kuv48atf1zpsu/log.png?dl=0)
 * Can you help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-problem-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12088369)
 * This is a problem of cache (your server, load balancing, reverse proxy and/or
   your plugin have copy of page with pretty Permalink, but your htaccess is missing
   now).
    If you are using non-pretty permalinks, you should pass the REST API route
   as a query string parameter. The route [http://oursite.com/wp-json/](http://oursite.com/wp-json/)
   in the example above would hence be [http://oursite.com/?rest_route=/](http://oursite.com/?rest_route=/)
   Set your **missing** .htaccess and it work 😉 [Pretty Permalink](https://wordpress.org/support/article/using-permalinks/#using-pretty-permalinks)
 * > The configuration wizard relies on a built-in WordPress tool called the REST
   > API. Per the screenshot, this tool is returning to 404 Not Found which means
   > that either the core files are missing or your site / server has disabled the
   > REST API.
 * There are several reasons when a status code other than http 200 comes out, the
   404 code often indicates incorrect request in this case forward this technical
   advice, yoast if it meets a 404 with all methods and indicates if it is a
    problem
   of [http://oursite.com/index.php/wp-json/](http://oursite.com/index.php/wp-json/)
   PATHINFO (Almost Pretty), [http://oursite.com/index.php/wp-json/](http://oursite.com/index.php/wp-json/).
   htaccess (Pretty Permalink) or [http://oursite.com/?rest_ruote=/](http://oursite.com/?rest_ruote=/)
   query string (Ugly).
    -  This reply was modified 6 years, 7 months ago by [autotutorial](https://wordpress.org/support/users/autotutorial/).
      Reason: Edit for missing content
 *  Thread Starter [Julinho](https://wordpress.org/support/users/razione/)
 * (@razione)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12088438)
 * Great [@autotutorial](https://wordpress.org/support/users/autotutorial/) !
 * Works!
 * Tks!
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12088465)
 * Read please, send this fix on page plugin Yoast.
 *  [vemman](https://wordpress.org/support/users/vemman/)
 * (@vemman)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12486540)
 * Had similar issue noticed when gutenberg threw error.
 * Solution:
    rewrite was off in my docker container (php:7.3-apache-buster) `a2enmod
   rewrite` & `service reload apache2` resolved it for me. Should work on normal
   systems too
 *  [mauwiks](https://wordpress.org/support/users/its7376/)
 * (@its7376)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12494204)
 * Works for me just by hitting my permalinks section “saved”. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘REST API Problem’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [mauwiks](https://wordpress.org/support/users/its7376/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/rest-api-problem-4/#post-12494204)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
