This showed up in WordPress’s Dashboard : Site Health Status. The actual message was along the lines of “When testing the REST API, an unexpected result was returned”.
I Googled this together with “Ubuntu 20.04”, and found the following useful info: https://stackoverflow.com/questions/49858884/wordpress-rest-api-returning-404
Changing /etc/apache2/apache2.conf from:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
To:
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Fixed the problem in the Site Health Status area.
Leave a Reply