WordPress site health fixes

WordPress site health fixes

Recently I encountered 2 critical issues and wordpress site health fixes issues I wanted to share with you. These critical issues are caused by the server. You can check your wordpress site health status by going to the Site Health Status on the dashboard or by Tools > Site Health. This will tell you exactly what issues or recommendations are needed.

Critical issues

1. Rest API (Representational State Transfer)

REST is basically a set of rules for communication between a client and server. The error in this instance was reporting cURL error 28 Connection timed out which means the curl could not send a receive an http request back from the server.

Curl is a tool for transferring data to and from a server and for making various types of requests and for testing rest API’s.

In this instance when loading the site, it was scanning around the internet trying to resolve the site rather than looking on the current server to resolve. This was because of a firewall, so the hosts file on the server was then updated with the full non www and www version of the site.

This has now resolved this issue.

2.Recommended PHP Extensions

WordPress requires certain php extensions to be installed, in this instance there were 5 modules not available. Without these all being enabled you may encounter issues with your site within WordPress.

A few of these were:

Resolution

I was able to resolve most of them by logging into my hosting and into apache and adding the extensions that were already not installed on that PHP version. WordPress recommends version 7.3 or above, this is for security reasons to protect your website.

For modules that are not already installed, speak to your host provider, and ask them to install the desired PHP extensions.

Click the link below for a full list of the php extensions used by WordPress.
https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions

hope this helps someone out there. Stay Safe everyone.

Pin0LinkedIn0
Blog SEO Wordpress