Symptoms
- Can’t connect your site to Kintsu
- Visiting
yoursite.com/wp-json/shows “Not Found” - WordPress Site Health shows: “The REST API encountered an unexpected result”
- Your homepage works but other pages may not
Cause
Your server’s Apache configuration is ignoring WordPress’s.htaccess rewrite rules. This is common on unmanaged hosting providers like Hetzner, DigitalOcean, and AWS EC2, where Ubuntu ships with AllowOverride None by default.
Quick check
Visityoursite.com/wp-json/ in your browser. If you see an Apache “Not Found” page instead of JSON data, this guide applies to you.
Fix (if you have SSH access)
Fix (if you don’t have SSH access)
Send this to your hosting provider’s support:“WordPress REST API URLs (
/wp-json/) are returning 404. Please change AllowOverride None to AllowOverride All for the /var/www/ directory in the Apache configuration and restart Apache.”After fixing
Visityoursite.com/wp-json/ again — you should see JSON data instead of a 404. Then reconnect your site in Kintsu.