Title: error 404
Last modified: August 30, 2016

---

# error 404

 *  Resolved [bfurlaneto](https://wordpress.org/support/users/bfurlaneto/)
 * (@bfurlaneto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/)
 * Hello
 * I have installed the latest version of this api (2.0-beta 8), and i can’t get
   into working, it always return 404 not found error. the plugin is activated.
   
   For example: [http://<mysite>/wp-json/wp/v2/posts](http://<mysite>/wp-json/wp/v2/posts).
   it’s return 404 not found error..
 * I think i’m missing something, but i don’t know what.
 * Thanks.
 * [https://wordpress.org/plugins/rest-api/](https://wordpress.org/plugins/rest-api/)

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

 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821003)
 * > i can’t get into working, it always return 404 not found error
 * Just to clarify, is your theme returning a 404 not found error, or is the API
   returning a 404 error?
 * If it’s the theme, can you try:
 * * flushing your rewrite rules
    * temporarily switching to a different theme *
   disabling all plugins other than WP-API
 * If it’s the API, can you share the exact request you’re making, and the response
   you’re seeing?
 *  Thread Starter [bfurlaneto](https://wordpress.org/support/users/bfurlaneto/)
 * (@bfurlaneto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821008)
 * it’s the api and the plugin is active.
 * the request:[http://www.portal-homologa.prodesan.com.br/wp-json/wp/v2/posts](http://www.portal-homologa.prodesan.com.br/wp-json/wp/v2/posts)
 * the response is:
 *  <html><head>
    <title>404 Not Found</title> </head><body> <h1>Not Found</h1> 
   <p>The requested URL /wp-json/wp/v2/posts was not found on this server.</p> <
   hr> <address>Apache/2.2.15 (CentOS) Server at [http://www.portal-homologa.prodesan.com.br](http://www.portal-homologa.prodesan.com.br)
   Port 80</address> </body></html>
 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821023)
 * Actually, this message is being produced by your server, and not WP-API. In fact,
   the request isn’t ever making it to WordPress.
 * It seems [pretty permalinks](https://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks)
   are enabled for your site, but not properly configured with your server.
 *  Thread Starter [bfurlaneto](https://wordpress.org/support/users/bfurlaneto/)
 * (@bfurlaneto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821026)
 * ok, thanks, i will take a look.
 *  Thread Starter [bfurlaneto](https://wordpress.org/support/users/bfurlaneto/)
 * (@bfurlaneto)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821027)
 * so i need to see what’s going on which pretty permalinks in my site in order 
   to wp-rest-api to work?
 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821030)
 * > so i need to see what’s going on which pretty permalinks in my site in order
   > to wp-rest-api to work?
 * Yes, or disable pretty permalinks entirely as WP-API will work without them enabled.

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

The topic ‘error 404’ is closed to new replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/error-404-487/#post-6821030)
 * Status: resolved