ccurtin
3/6/2017 - 11:25 PM

If WP REST API is not working, you MUST update the `AllowOverride All` Directive in hosting config.

If WP REST API is not working, you MUST update the AllowOverride All Directive in hosting config.

  1. Login via SSH as root user
  2. Navigate to "/usr/local/apache/conf/userdata/std/2/USER_NAME"
  3. Create a new file: directory.conf
  4. Edit that file to update "AllowOverride" directive for the site:
  <Directory "/home/USER_NAME/public_html">
          Options Indexes FollowSymLinks
          AllowOverride All
          Require all granted
  </Directory>
  1. Restart the Apache server