WordPress Plugin: Zysys Hosting Optimizations
The Zysys Hosting Optimizations plugin is a plugin developed by Z. Bornheimer for use on client sites. It requires that the client has a Zysys Hosting package and the site is hosted on the Zysys Infrastructure.
Installing
Download the latest plugin and install it on your system. Your files should be going through the CDN within 5 minutes.
Latest Plugin:
https://zysys.org/latest-zysyshosting-plugin
If you will not be checking on your site frequently, go into Settings -> ZysysHosting and enable all of the automatic updates. A site that stops working due to update incompatibility is bad, but it's better than malware. In the small chance your site stops working due to update incompatibilities, contact us and we'll get you going again.
Developer:
This info is for the developer. Feel free to read this if it interests you and you are not a developer.
Mass Installation:
find /var/www/vhosts -type f -name "wp-config.php" -execdir wp --allow-root plugin activate ZysysHostingOptimizations \;
Emergency Reinstall
Is a site down because, for some reason, the updater was deleted? Go to the ABSPATH and run the follwing:
if [ 0 == $(find . -name "plugin-updater.php" -print | grep -v upgrade | wc -l) ]; then find . -name "ZysysHostingOptimizations" -exec rm -rv {} \;; fi; wp --allow-root plugin install https://zysys.org/latest-zysyshosting-plugin;wp --allow-root plugin activate ZysysHostingOptimizations;
Command Line Installation
To install this through the command line, run the following:
wp --allow-root plugin install https://zysys.org/latest-zysyshosting-plugin;
wp --allow-root plugin activate ZysysHostingOptimizations;
Recommended (also run):
wp --allow-root option set zysyshosting_keep_images_compressed compress1;
Recommended if your not going to log into your site frequently:
wp --allow-root option set zysyshosting_update_core_automatically update1;
wp --allow-root option set zysyshosting_update_plugins_automatically update1;
wp --allow-root option set zysyshosting_update_themes_automatically update1;
Enhancing the software
If you update the software, you must update the tarball URL in the following locations:
- Zysys Plugin Repo
- Zysys .htaccess Redirect
- Github Repo (DONT FORGET THE VERSION FILE!)
You must also update the following puppeted areas:
- ZysysHosting.php - in the header and in the constants
Update the following sources in order:
- Github
- Zysys Plugin Repo
- Puppet
Old versions are available using:
https://zysys.org/zycms/uploads/2016/06/ZysysHostingOptimizations-[version].zip
;