MainWP Blog

Tips & Tricks
Sebastian Moran

How to Cleanly Remove the Really Simple SSL Plugin

Really Simple SSL is a plugin that is used and installed on a number of sites that have a valid SSL cert to make the site load over HTTPS. But the plugin does not need to be used if the site database already has had a search-replace run from HTTP to HTTPS. If you have used WP-CLI then you can very easily run a search and replace in the sites database before baking a site database backup. wp db export wp search-replace ‘http://sitedomain.com’ ‘https:/sitedomain.com’ –recurse-objects –skip-columns=user_email,guid –all-tables wp option update home ‘https://sitedomain.com’ wp option update siteurl ‘https://sitedomain.com’ wp rewrite flush

Tips & Tricks
Sebastian Moran

How to Remove the W3 Total Cache Plugin Cleanly

W3 Total Cache is a plugin which is used for page caching, minification and Redis integration, but it does come at a price. The codebase is old, and if not configured correctly, it can cause issues on the site it is being used on. Using a different plugin or plugins for page caching, minification, and Redis object caching is possible, but means you need to remove all traces of the W3 Total Cache plugin. W3 Total Cache plugin on deactivation and deletion will not remove any of the files or changes it adds to a site. Steps to clean all

How to Safely Remove the Hummingbird Plugin from your Child Site
Tips & Tricks
Sebastian Moran

How to Safely Remove the Hummingbird Plugin from your Child Site

Hummingbird is a caching and performance plugin with over 70k active installs, but the plugin can cause issues and does not work well as a page caching plugins. The plugin deactivation in Hummingbird will not delete the advanced-cache.php drop in it adds, nor will it remove the constant added into your site wp-config.php. The file to remove if you no longer want to use Hummingbird and use another lightweight solution is; wp-cache.php in the wp-content/wphb-cache folder. You can delete the wphb-cache folder from the wp-content folder on the site server. The other file that Hummingbird will create is; The constant

Tips & Tricks
Sebastian Moran

Removing the Cerber Security Plugin Data from your Child Site

Security plugins on your child site can help find security issues and help block specific users, but one thing to be aware of is security plugins which end up causing serious performance issues. One such security plugin is Cerber Security, which has been known to cause performance issues on sites. Ceber Security plugin will end up making a number of request to plugin files, as well as causing high CPU usage, due to the amount of PHP resources that it ends up using. When deactivated and uninstalled, the plugin will still leave behind a number of options and database tables.

Looking for something?