Through this, we will answer you this question. First, we will show you what the new Site Health website feature is. After that, we will present ten tips you can follow to get 100 Site Health points for the WordPress 5.2 website.
How Site Health score works in WordPress 5.2
The Site Health functions in WordPress 5.2 add tools that help you identify potential problems and make the process of editing your website easy.
The Site Health tool runs a series of tests, then shares the results and recommendations with you based on what it finds.
What's even better is that the tests can be filtered and the plugins and themes can add their own tests or delete existing ones.
When updating your WordPress website, you will find a new website at Tools> Site Health.
The first page displays the status of Site Health on your website with the results categorized as:
These tests are what WordPress uses to calculate Site Health scores for your website.
The health examination results show important information related to both performance and security. Performance tests include:
- WordPress version
- Latest PHP version
- SQL server version
- Install the recommended PHP module
- Support UTF8MB4
- Events scheduled
- HTTP request active
- Availability of the REST API
- Execute the loopback request
Security checks include:
- Active thread
- Updated plugins
- HTTPS connection
- Secure communication
- Debug mode is off
- Communicate with WordPress.org
- Background updating is on
Secondly, the Site Health information web site contains a lot of information related to the Site Health website. There is a nice button that can copy all the information to the temporary table so you can share that information with the developer who supports you currently.
Ten tips to get 100 Site Health points for WordPress 5.2 website
Now that you know the tests that WordPress runs to evaluate your website, this is what you can do to get 100 Site Health points.
See more: How to create a multilingual WordPress website using WPML
Always up to date with WordPress
You may have heard about this frequently but in reality, few people pay attention to the update notification that appears with very high frequency.
And although you can disable background updates, it's really not good to do that.
The test results will tell you if your website has been updated and if it contacts WordPress.org.
Always keep up with themes and plugins
You should not update every WordPress core but you need to update all themes and plugins. You can update these extensions from the regular WordPress update area (Control Panel → Updates), as well as the corresponding theme and plugin areas.
Delete unused themes and plugins
In addition to updating the topics and plugins that you use currently, you also need to delete any themes and plugins that you are not using. Un-updated themes and plugins are a security risk, which is why you need to do this.
However, there are exceptions – install the latest default theme, even if you don't use it (for example, Twenty Nineteen).
Use the latest SQL server
The software of your database server is what powers the database that WordPress uses to store content and settings. There are two common options, depending on your server configuration:
- MariaDB (a branch of MySQL)
To enhance the performance and security of your website, you'll want to make sure you're using the latest version – WordPress recommends running MySQL 5.6+ or MariaDB version 10.1+.
If you're not sure how to do this, the best way to get started is to contact server support.
Upgrade to the latest PHP version
PHP is a programming language that provides many functions of WordPress.
Upgrading to the latest version provides major performance upgrades, as well as better security (because older versions no longer receive security updates).
Currently, WordPress recommends using PHP 7.3+.
Many WordPress servers give you an option to choose the PHP version from your control panel. Or, you can contact the server support for help.
Either way, you should follow the instructions on how to safely upgrade to PHP 7+.
Make sure to turn off debug mode
WordPress has a few built-in debugging tools that generate useful notifications for developers. The most important tool is WP_DEBUG in your WordPress installation.
However, on a certain website, do not foolish to turn on debugging mode because it can reveal a great deal of information about your website to visitors, so this is a security risk. That is why WordPress will score your Site Health if you still enable debug mode.
To configure debug mode, find this line in your wp-config.php file:
define (‘WP_DEBUG’, true);
To turn it off, you can change true to false, or just delete the entire line.
Install SSL certificate and use HTTPS
HTTPS (HTTP security) is an encryption method that ensures communication between your server and the browser of any user who visits your website. That helps you get reliable green locks in the web browser.
In addition, Google Chrome will begin marking all pages that are not HTTPS.
To avoid this and increase Site Health points for your website, you will need to install an SSL certificate, then move your website to HTTPS.
Many servers now offer free SSL certificates through Let Encrypt, which you can install with a few clicks or you can find other free and cheap SSL certificates. Once you have installed the SSL certificate, follow our instructions to safely switch to HTTPS.
Leave the REST API
The WP REST API helps your core WordPress communicate with various websites, desktop computers, and mobile applications on the internet. This helps WordPress work effectively as a content management system, hosting and serving content displayed on the internet.
By default, the WP REST API is enabled, but some plugins (especially security plugins) and developers will disable it.
However, if you want to get the perfect WordPress Health score, you will need to turn on the WP REST API. Most plugins or tools that disable the REST API will also give you a setting to enable it.
See more: Create a free Sales Web
Make sure WP Cron is turned on
Typically, WordPress handles some common tasks like backing up, publishing posts, or checking for updates. This function is handled by periodic work systems, a special technology used by servers to handle scheduled tasks or recurring events. Many plugins also rely on the WordPress cron system to perform tasks, but sometimes they take up most of the resources.
To check if WP Cron is working, you can use the free WP-Cron Status Checker plugin to get a new dashboard utility that tells you its status.
If it doesn't work, you can check if the following line is in your wp-config.php file:
define (‘DISABLE_WP_CRON’, true);
To reactivate WP Cron, simply delete that line. Or, if that is not the case, you can contact the server support for further assistance.
Install all the recommended PHP modules
PHP modules play an important role when performing server-side tasks to help your website run. The WordPress core relies on a list of PHP modules to help it execute tasks. If you do not have a certain module on your server, WordPress will have to use a less efficient method for that task or may just need to remove the functionality.
If you are missing one of the recommended and required modules, WordPress will tell you which module is missing and score Site Health.
To fix this, ask the server support if they can help you install the module.