.

Friday, November 29, 2019

10 Tips to Get a 100% Site Health Score in WordPress 5.2

WordPress 5.2 added a new Site Health score to your WordPress dashboard and, as with any score, that probably has you wondering how to get a perfect, 100% score.In this post, were here to help. First, well introduce you to what the new Site Health feature is. Then, well take you through ten tips you can follow to score 100% on your Site Health in WordPress 5.2. Once you update your WordPress website, youll find two new pages under Tools Site Health.The first page displays your Site Health Status with results categorized as:CriticalRecommendedGoodThese tests are what WordPress uses to calculate your Site Health Score. Needless to say, the critical tests weigh more heavily, and not faring well in them can dampen your chances to get 100% Site Health score.The health check results show critical information pertaining to both performance and security. The performance checks include checking for:WordPress versionLatest PHP versionSQL server versionInstallation of recommended PHP modulesUT F8MB4 supportScheduled eventsWorking HTTP requestsREST API availabilityPerforming loopback requestsThe security checks include:Active themesUp to date pluginsHTTPS connectionSecure communicationDebug mode offCommunication with WordPress.orgBackground updates enabledThe second page is the Site Health Info page that contains a load of information related to your site health. Theres a convenient button here that can copy all the information to your clipboard so that you can share it with a developer whos supporting you. For example, if youre asking a plugin author for help, this gives you a convenient way to provide them with information about your site:Ten tips to get a 100% Site Health score in WordPress 5.2Now that you know the checks that WordPress runs to assess your website, heres what you can do to get a 100% Site Health score.1. Keep WordPress up to dateWeve heard this often enough, but in practice, not many of us pay attention to the update notifications that appear with (anno ying!) frequency on our dashboard for major updates. Fortunately, updating WordPress is now just a one-click affair.  By default, minor changes happen automatically.And while its possible to disable background updates, its really better not to do so.The test results will let you know if your site is up to date and if its communicating with WordPress.org. For the best way to run these updates, check out our guide on how to safely update WordPress.2. Keep themes and plugins up to dateDont stop with updating the WordPress core. Go the whole distance and update all the themes and plugins as well. You can update these extensions from the regular WordPress updates area (Dashboard → Updates), as well as the respective  Themes and  Plugins areas:3. Remove unused themes and pluginsBeyond updating themes and plugins that you  are using, youll also want to remove any themes and plugins that you are not using. Themes and plugins that are not updated are a security risk, which is why its safer to remove them.There is one exception, though leave the latest default theme installed, even if youre not using it (e.g.  Twenty Nineteen).4. Use the latest SQL server versionYour database servers software is what powers the database that WordPress uses to store your content and settings. There are two common options, depending on your hosts configuration:MySQLMariaDB (a fork of MySQL)To improve your sites performance and security (and Site Health score), youll want to make sure youre using the latest version WordPress recommends running MySQL version 5.6+ or MariaDB version 10.1+.If youre not sure how to do this, the best way to get started is to reach out to your hosts support.5. Upgrade to the latest PHP versionPHP is the programming language that powers much of WordPress functionality.Upgrading to the latest version  offers big performance improvements, as well as better security (because older versions no longer receive security updates).Currently, WordPress recommends that you use PHP  7.3+.Many WordPress hosts give you an option to choose your PHP version from your dashboard. Or, you can reach out to your hosts support for help.Either way, wed recommend you follow our guide on how to safely upgrade to PHP 7+.6. Make sure debug mode is turned offWordPress has a few built-in debugging tools that generate helpful messages to developers. The most important tool is WP_DEBUG in your WordPress install.However, on a live site, the debug mode should not be turned on because it can reveal a load of information about your website to visitors and is, therefore, a security risk. Thats why WordPress will ding your Site Health score if you still have debug mode turned on.To configure the debug mode, find this line in your wp-config.php file:define( 'WP_DEBUG', true );To turn it off, you can either change  true to false, or just delete the entire line.7. Install SSL certificate and use HTTPSHTTPS (Secure HTTP) is a method of encryption that secu res the communication between your server and the browser of any user visiting your website, and its what gets you that trust-building green padlock in web browsers.Additionally, Google Chrome will eventually start marking all non-HTTPS pages as Not Secure::To avoid this, and get your Site Health score up, youll need to install an SSL certificate and then migrate your site to HTTPS.Many hosts now offer free SSL certificates via Lets Encrypt that you can install with a few clicks, or you can find other free and cheap SSL certificates. Once youve installed your SSL certificate, follow our guide to safely move to HTTPS.8. Leave the REST API enabledThe WP REST API helps your WordPress core communicate with the various web, desktop, and mobile applications on the internet. This helps WordPress work effectively as a content management system, storing and serving up content to be visible on the internet.By default, the WP REST API is enabled, but some plugins (especially  security plugin s)  and developers will disable it.However, if you want to get a perfect WordPress Site Health score, youll need to leave the WP REST API enabled. Most plugins or tools that disable the REST API will also give you a setting to leave it enabled.9. Make sure WP Cron is enabledNormally, WordPress handles a number of routine tasks such as backing up, publishing posts, or checking for updates. This function is handled by the cron job system, a special technology used by servers to handle scheduled tasks or recurring events. Many plugins also rely on the WordPress cron system to carry out tasks, but sometimes they hog 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 widget that tells you its status:If its not working, you can check if the following line is in your  wp-config.php file:define('DISABLE_WP_CRON', true);To re-enable WP Cron, you just need to remove that line. Or, if thats not the issue, you c an reach out to your hosts support for more help.10. Install all the recommended PHP modulesPHP modules play an important role in executing the tasks on the server that make your site run. The WordPress core relies on a list of PHP modules to help it execute tasks. If you dont have a certain module on your server, WordPress will either have to use a more inefficient method for that task, or it might just remove the functionality.If youre missing one of the  recommended and required modules, WordPress will tell you which module is missing and ding your Site Health Score:To fix this, ask your hosts support if they can help you to install the module.Dont stress about your WordPress Site Health scoreWhile it can be satisfying to see a perfect 100% score in the Site Health area, you dont need to get a perfect score to have a secure, functioning WordPress site, and  some developers have expressed views against this new scoring methodology.Overall, you should definitely fix the critica l issues, and try to implement recommended issues. But dont stress yourself out if you cant eliminate every single recommended issue. Here's how to get a perfect Site Health score in #WordPress 5.2 💉 Click To Tweet Do you have any questions about the new Site Health score feature in WordPress 5.2? Ask away in the comments!Free guide5 Essential Tips to Speed Up Your WordPress SiteReduce your loading time by even 50-80% just by following simple tips.

No comments:

Post a Comment