Title: REST API error 404
Last modified: January 15, 2020

---

# REST API error 404

 *  [startechsheffield](https://wordpress.org/support/users/startechsheffield/)
 * (@startechsheffield)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/rest-api-error-404/)
 * Hi all;
 * I’ve seen around a few posts that say there’s an issue with .htaccess that causes
   the REST API to return error 404, but I’ve reset my permalinks several times 
   to no avail.
 * My current set-up is a low-cost debian-based server located in our office (port
   forward of 80 and 443 only, FTP, SSH and others are LAN only). I’ve set up the
   server and WordPress but I’m unable to edit any of the pages because the REST
   API is returning E404. I’m not sure to repair this. The usual “reset your .htaccess”
   hasn’t worked and I couldn’t find many other solutions, and those I did were 
   based on Windows so not applicable.
 * Any help would be appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-error-404%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [startechsheffield](https://wordpress.org/support/users/startechsheffield/)
 * (@startechsheffield)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/rest-api-error-404/#post-12328042)
 * ADDITIONAL INFO:
 * I followed a few guides on installing WordPress on Debian, some PHP module packages
   and a few other bits were missing after the installation. Is it possible there’s
   a Debian package for the API which I was previously unaware of? Thanks.
 *  Thread Starter [startechsheffield](https://wordpress.org/support/users/startechsheffield/)
 * (@startechsheffield)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/rest-api-error-404/#post-12328146)
 * UPDATE:
 * I’ve reset the Permalinks to “plain” and this has alleviated the issue. It’s 
   not the ideal solution, but our website works now and that’s something at least.

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

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

## Tags

 * [building](https://wordpress.org/support/topic-tag/building/)
 * [debian](https://wordpress.org/support/topic-tag/debian/)
 * [editing](https://wordpress.org/support/topic-tag/editing/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [startechsheffield](https://wordpress.org/support/users/startechsheffield/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/rest-api-error-404/#post-12328146)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
