MainWP & Jetpack by Automattic partnered 🤝 to help you secure sites with two new Extensions

MainWP Blog

Performance Settings in cPanel
Tips & Tricks
Sebastian Moran

Performance Improvements to Enable in cPanel

Some unmanaged hosts provide cPanel on their hosting plans, or you might have some client sites hosted on a VPS with cPanel. cPanel includes many performance options built-in and supported that you may not be aware of. Make sure that server-side compression of assets is enabled in cPanel this will use the mod_deflate module in Apache. You can select to have all content compressed or specify which MIME type should be compressed. Smaller site assets being server-side compressed will improve your site’s front-end performance. The compression settings will be saved into the site’s .htaccess file. Also, relating to .htaccess settings,

Useful Code Snippets WordPress 6.1
Tips & Tricks
Sebastian Moran

Useful Code Snippets for WordPress 6.1

WordPress 6.1 is scheduled to be released on the 1st of November and contains many feature improvements. Database queries made using WP_Query will now be cached by default in WordPress 6.1. To disable caching globally on query improvements (extreme case), use this code snippet; function disable_caching( $wp_query ) {    $wp_query->query_vars[‘cache_results’] = false; } add_action( ‘parse_query’, ‘disable_caching’ ); Also, in the WordPress 6.1 release, new cache checks are being added to the site health, and a new filter was added so that you can suggest persistent object caching and change the link in the check for caching in site health. In

GridPane WordPress Hosting
Tips & Tricks
Sebastian Moran

Using GridPane for Self-Managed WordPress Hosting

GridPane is an easy-to-use and reasonably priced service to self-manage servers. GridPane supports Digital Ocean, Vultr, Linode, Amazon Lightsail, UpCloud, and a custom VPS. GridPane makes it simple to create WordPress sites that are highly performant and optimized for solid WordPress performance. In this example, we use a free core account on GridPane to create and manage a server to host a WordPress site. The free core account will use an NGNIX server stack with server-side caching and Redis object caching. In this example, we used Vultr as a cloud provider and GridPane to manage our server using GridPane. To

How to Optimize the Cart Fragments Request in WooCommerce
Tips & Tricks
Sebastian Moran

How to Optimize the Cart Fragments Request in WooCommerce

In WooCommerce, the “get refreshed fragments request” is used for updating the mini cart in the header of the site, and the request from WooCommerce can be slow. The request in WooCommerce will show as being; ?wc-ajax=get_refreshed_fragments Some caching plugins have built-in solutions for optimizing the “get refreshed fragments request” from WooCommerce, such as WP Rocket and Swift Performance. The WP Rocket plugin will optimize the AJAX get_refreshed_fragments request, improving your WooCommerce store’s performance. While the Swift Performance plugin has an advanced view option to cache the empty mini cart. If you run into issues using the WP Rocket plugin

Fix Smart Optimization Compression Issue - Imagify WordPress Plugin
Tips & Tricks
Sebastian Moran

How to Fix the Smart Optimization Compression Issue in Imagify on Your Site

If you use the Imagify plugin for image optimization on your WordPress website. You may have noticed a change to compression levels being offered in the recent 2.0 update Version 2.0 of the Imagify plugin has new default settings for image compression and smart compression. This new default is similar to the ultra mode, and then if the AI detects enough image quality loss, it would be optimized at the aggressive level. The change was meant to make the Imagify plugin setup easier, would result in removing compression level options, and can result in pixelated images since the default is

Remove FluentCRM Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove FluentCRM Plugin Data on Your Site

Suppose you were using the FluentCRM plugin on your WordPress website and have already migrated any collected data into a CRM solution or a different CRM plugin. In that case, you may want to clean up the leftover data. To reset all FluentCRM plugin data from wp-admin, go to; FluentCRM > Settings > Tools To reset the FluentCRM plugin data on your site, you must add the following constant to your site’s wp-config.php file. define(‘FLUENTCRM_IS_DEV_FEATURES’, true);  The FluentCRM plugin uses the following custom database tables for storage; wp_fc_contact_relations wp_fc_contact_relation_items wp_fc_campaign_emails wp_fc_campaign_url_metrics wp_fc_campaigns wp_fc_funnel_metrics wp_fc_funnel_sequences wp_fc_funnel_subscribers wp_fc_lists wp_fc_meta wp_fc_subscriber_meta wp_fc_subscriber_notes wp_fc_subscriber_pivot

Learn How to Reduce WP Activity Log Plugin Database Size
Tips & Tricks
Sebastian Moran

How to Keep Your WP Activity Log Plugin Database Storage Down

If you are using the WP Activity Log plugin on your WordPress website for tracking site activity and changes, then it is worth keeping an eye on the site’s database tables that the plugin uses. The WP Activity Log plugin uses the following custom database tables for storage; wp_wsal_metadata wp_wsal_occurrences wp_wsal_sessions If you are already using the WP-Optimize plugin, then you can quickly check the size of the WP Activity Log from wp-admin; WP-Optimize > Database > Tables Then go search for wsal and the tables will show in the WP-Optimize UI. Many hosts provide phpMyAdmin, which can easily be

Remove WPCode WordPress Plugin Data
Tips & Tricks
Sebastian Moran

How to Remove the WPCode Plugin Data on Your Site

The WPCode plugin is a commonly used plugin for adding code snippets into the header and footer of your WordPress site but for some reason, you may want to move to a different code snippets plugin. In that case, you need to export the existing code snippets, add the existing code snippets into site-specific, or import them into the different code snippets plugin. To export existing code snippets, navigate to; Code Snippets > Tools > Export To delete the stored code snippets in the WPCode plugin, you will need to delete those in wp-admin; Code Snippets > Code Snippets Additionally,

Set up Biometric Logins and Passkeys on WordPress
Tips & Tricks
Sebastian Moran

How to Use the Biometric Logins and Passkeys on WordPress

The iThemes Security Pro plugin added new beta biometric logins and passkey support. This now means that it is much easier for passwordless login to your WordPress site. Passkeys work on Apple and iOS devices and are also supported by Microsoft and Windows. Android support for Passkeys should be coming by the end of 2022. As part of the FIDO alliance, Google, Apple, and Microsoft are all committed to expanding the FIDO standard for passwordless sign-in. The WebAuthn standard is supported in Apple and Google devices. To check if your browser supports this, then use this site. The Face ID,

Tips & Tricks
Sebastian Moran

How to Reduce CPU Usage from the WP Rocket Plugin

The WP Rocket plugin is a commonly used solution for full-page caching, minification, and CDN integration. The plugin has two features that can contribute to higher CPU usage on the site’s server if used without changes to the default settings. 1. Preloading Resources The first feature is preload, this is when the cache is created based on a sitemap of the site. First, make sure to adjust the cache lifetime to a more extended period, such as 24 hours this will mean that the cache does not have to be regenerated so frequently. The preload feature has parameters that can

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.