Bluehost is officially recommended hosting company for WordPress platform by WordPress.org. In the recent times, it also raised a lot of question from experts around the globe regarding its contribution to WordPress open source community. Even I had the similar question until, during 2015 State of the Word address, WordPress co-founded shared how Bluehost tackled their 1.6 million outdated WordPress installation.
There are a lot of takeaways here for all the WordPress users & hosting companies. Also, it’s a vote of trust for existing Bluehost users.
Bluehost hosts about 2 million WordPress sites & in a recent audit they realize almost 80% i.e. 1.6 million WordPress installs are outdated. This is a major security risk & one of the major reason for WordPress sites on Bluehost being hacked. Needless to mention, a hacked site requires immediate support from hosting company which increases the running cost for the company & that also creates negative emotions on social media for any hosting company.
How Bluehost handled 1.6 million outdated WordPress installation?
To tackle this issue, Bluehost wrote a Perl script that uses WP-CLI to update all WordPress sites. What interesting here is, it also updated WordPress sites which are using completely outdated version. If you have ever tried updating WordPress from 1.X or 2.x to the latest version, you would know it’s not as simple as regular WordPress update that we do.
Here is what Bluehost Perl script did which is also available to download as an open source tool on Github for other hosting companies.
- The script first checked the status of all the WordPress site.
- Then created a backup for all the site.
- Runs all updates via WP-CLI
- After updating is done, the script checked for any error such as a white screen of death.
- If anything seems to be broken, the script automatically restored the site from the backup.
It took them about 1 month to update all the sites & they successfully updated 99% of the WordPress sites hosted on WordPress. Only 0.006% of updated sites faced the problem which was handled by Bluehost support team.
Another interesting thing which you as a hosting company would like is; The technical support request related to WordPress went down by 18%. This was mainly due to the site become secure with the latest version of WordPress & plugin/theme compatibility issue have gone down. <Source>
Below you can find the slides from the State of the word 2015 presentation:
You can watch the complete presentation in the below video: