MainWP Blog

Tips & Tricks
Sebastian Moran

How to Delete Inactive Users on Your Child Sites

Over time, users on a site can easily mount up on your child site. As part of a regular cleanup, you can delete inactive users on your child sites, using a couple of plugin options. The first plugin that can be used is the Inactive User Deleter. After the plugin has been installed and activated, it will add a new admin menu item under users in wp-admin; Users > Inactive users You can use different flags (e.g., if a user has approved comments/ if that user has spam comments). You can then filter out if the user was created longer

Clean Your Child Site of Spam Comments
MainWP Extensions
Sebastian Moran

How to Clean Your Child Site of Spam Comments

If you have a child site which has post content and comments enabled, it is a fact of life that you will inevitably deal with spam comments. Luckily, there are a number of ways to deal with spam. Some of the plugin options include Akismet and  Antispam Bee. Antispam Bee Antispam Bee will add a setting section under Settings > Antispam Bee You can find more information about Antispam Bee on their docs. There is a bulk setting key for Antispam Bee, which also means the number of days until existing spam is deleted can be easily set, using the

Which WordPress Core Files are Safe to Delete
Tips & Tricks
Sebastian Moran

Which WordPress Core Files are Safe to Delete

When installed, WordPress will add a number of files which can be safely deleted on any of your child sites. The first of those files is readme.html, which is an information HTML file as part of the famous 5-minute install of WordPress manually. The second of those files is wp-config-sample.php, which is an example of the wp-config.php file, which contains all the site’s database credentials and its salts, along with any constants being used. Remember not to delete the wp-config.php file in the html folder of your site server. This will cause the site not to load, as the database

Move to MainWP
Conversion
Sebastian Moran

How to Convert from InfiniteWP to MainWP for your Sites

InfiniteWP is a self-hosted solution for managing multiple sites, but the UI and UX have a number of issues. The initial setup takes a lot longer than setting up a MainWP dashboard site. It is very easy to change over from InfiniteWP to MainWP to manage all your clients’ sites. First, you will need to install MainWP Dashboard to create a Dashboard site to manage all of the connected sites. It is always recommended to use a fresh WordPress install for the MainWP dashboard site. First, install the MainWP dashboard plugin, then activate and walk through the steps of the

Delete Expired Transients
MainWP Customization
Sebastian Moran

Delete expired transients automatically on all of your MainWP connected child sites

What are transients are and why WordPress uses them WordPress uses transients to store data, that can be retrieved short-term from the options database table. But the problem ends up being when different plugins are using transients, but then not deleting that data when it has expired. It can cause performance issues over-time and cause the options database table to group. So ideally you would want to delete expired transients on any of the MainWP Child Sites you manage to improve performance. Delete Expired Transients Log into your MainWP Dashboard site Go to the MainWP > Plugins > Install page Search for Delete

Looking for something?