MainWP Blog

Tips & Tricks
Sebastian Moran

How to Disable Emails and Log Emails on Staging Sites

Needing to use a staging site for testing client site updates is an essential practice. You do not want to send customers any site emails by accident since the site that has a staging site for testing had a membership or affiliate plugin active. To make sure emails are disabled on a staging site, use the Disable Emails plugin. The plugin has no settings and should disable site email on the staging site in most cases. One extra step to remember is if you have any SMTP or transactional email plugins active on the site. Remember to deactivate those on

Migrate from the Stream Plugin to the WP Security Audit Log Plugin
Tips & Tricks
Sebastian Moran

How to Migrate from the Stream Plugin to the WP Security Audit Log Plugin

Stream is a plugin from XWP which works, but compared to newer security audit plugins such as WP Security Audit Log, it is quite limited. Stream can also bloat the site database, depending on how long logs are being stored by. To  reset the database of entries that Stream has created, you can do so from wp-admin; Stream > Settings > Reset Stream Database When you deactivate and delete the Stream plugin, the two custom database tables that the plugin creates will not be removed, unless you click on the uninstall next to the plugin in the plugin list. An

Using Gumlet to Speed Up Your Child Site Images
Tips & Tricks
Sebastian Moran

Using Gumlet to Speed Up Your Child Site Images

Site image will be one of the heaviest assets on your child site. The easiest way to speed up a site is to have a CDN compress images when uploaded, and then have the CDN serve those site images for users of the site. One solid Image CDN which has an easy-to-use WordPress plugin is Gumlet. First, you will need to sign up for a Gumlet account. After you have signed and verified your account, you will need to setup your web folder source. The source for the web folder will be the site URL, without the trailing/at the end

Losing Information by Activating Jetpack
Tips & Tricks
Sebastian Moran

Losing Information by Activating Jetpack

Jetpack provides a number of modules which can benefit the site it is connected to. But for Jetpack to be used, Jetpack needs to use a WordPress.com account to connect to your site. What does it mean for your site to be connected to WordPress.com to be able to use Jetpack? What is being copied over? Well, more than you’d think of the site database is being copied over to create a clone of your site on WordPress.com server. If you wanted to use the search module, or the related post module, that data is being queried after the full

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

Using the Stop Spammers Plugin to Fight Comment Spam

If you have comments enabled in the form of comments on posts on a site, or if you have reviews enabled in WooCommerce, spam can be a major issue. There is a solid and easy-to-use plugin to stop spam on your child site, called Stop Spammers. After you have installed and activated the plugin on your child site, it will add an admin menu called Stop Spammers. The sections that will show under that admin menu are broken down as follows: Summary: This checks to see if there may be problems from your current incoming IP address and displays a

Set a Homepage Logout Redirect on Your Sites
Tips & Tricks
Sebastian Moran

How to Easily Set a Homepage Logout Redirect on Your Child Sites

If you want to create a setup so when a user logs out of a child site, they are redirected to the homepage of the site, one easy-to-use plugin solution is the WP Logout Redirect plugin. After the plugin has been installed and activated on the child site, it has no settings to be changed. An example would be if you used a membership plugin or WooCommerce, then you needed to have a customer or user redirect on logout back to the homepage, and not stay on the existing page. If you need a plugin which has more options for

Email Log Plugin Database Cleanup on Your Sites
Tips & Tricks
Sebastian Moran

Email Log Plugin Database Cleanup on your Child Site

A well-known plugin for logging all emails sent from a site is Email Log. The plugin creates a custom database table for storing the log entries of email set in the database table called; wp_email_log If the email log plugin is used on a site which has a decent amount of activity, where a normal to high number of emails are being sent, then the site database can easily be bloated. Also, when the plugin is deactivated and deleted, the custom database table will not be deleted. Email Log does have an option in the setting where you can remove

Tips & Tricks
Sebastian Moran

Using WP Optimize Plugin for Site Caching on Your Child Site

WP Optimize was originally a plugin that could easily optimize your child site database and site images. In the most recent 3.0.0 release, WP Optimize now includes support for page caching. To access the site caching feature in WP Optimize, make sure you have updated the most current version. From the admin menu, go to; WP Optimize > Cache Which will show tabs for the following; Page cache Preload In preload, you can set how often the site will have site pages requested, so that those site pages will be cached. The preload in WP Optimize will create a cron

Tips & Tricks
Sebastian Moran

How to Easily Find When the Last Time a Plugin was Updated

It can be a pain to find out when the last time any of the installed plugins on your child site were last updated, but you may find yourself needing to. You would normally need to go to the plugin’s page on WordPress.org, then check the last updated section to see when the last time the plugin was updated on WordPress.org. Another way to search your installed plugins is to click on the developer tab of the plugin page on WordPress.org, to find previous updates and view the changelog. To assist, there is now a lightweight and easy-to-use plugin called

Looking for something?