title: Wordpress REST API (wp-api) 404 Error: Cannot access the WordPress REST API
body: <p>I have been using the Wordpress REST plugin WP-API for months now while developing locally with XAMPP.  I recently migrated my site to an EC2 instance and everything is working fine <strong>except</strong> I now get a 404 with the following message whenever I try to access any endpoint on the API:</p>
  
  <blockquote>
    <p>The requested URL /wordpress/wp-json/ was not found on this server</p>
  </blockquote>
  
  <p><strong>Pretty permalinks are enabled</strong> with the following structure <code>http://.../wordpress/sample-post/</code> which works fine when navigating to a specific post in the browser.</p>
  
  <p>Here are some details about my setup:</p>
  
  <ul>
  <li>Wordpress 4.4.1
  
  <ul>
  <li><strong>Not a Multisite</strong></li>
  </ul></li>
  <li>WP REST API plugin 2.0-beta9</li>
  <li>Apache 2.2.22</li>
  <li>Ubuntu 12.04.5</li>
  </ul>
  
  <p>Any help would be greatly appreciated as I have gone through SO and the WP Support forums for several hours and am out of ideas.  Thank you!</p>