When migrating a WordPress website database import failed with the error: mysql -u USERNAME -p DB-NAME < /PATH/dump.sql ERROR 1227 (42000) at line 3258: Access denied; you need (at least one of) the SUPER privilege(s) for this operation so I...
The shell contains an interesting feature that records each action performed by the script and sends to the attacker the IP address from which the request originates, as well as the file path. So we can see all the pages that were viewed or modified...
In this guide, I will be setting up CWP on a small VPS, then install WordPress. This process consists of: Installing CWPSetting up CSFChange Default package limitsSet a custom PHP versionCreate a new accountCreate MySQL database and userInstall...
For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly increase the size of Softaculous...
To enable LiteSpeed Crawler option server-wide in cPanel, edit the following file /etc/apache2/conf.d/includes/pre_main_global.conf By the official cPanel docs, only the following is mandatory: <IfModule Litespeed> CacheEngine on crawler...
While troubleshooting a newish WordPress installation running on LSWS and cPanel I’ve noticed a pretty big error_log file with the following lines: [06-Jun-2021 18:33:14 UTC] Connection refused [06-Jun-2021 18:35:15 UTC] Connection...
This one-liner will help to find all WordPress installations running a specific version, where the current latest is 5.6 locate wp-includes/version.php | xargs grep "wp_version = " | grep -v " = '5-6'" A more efficient shell script that will scan...
Is your website loading slowly? Redirects? Popups? Can’t login? Strange folders? Files with weird names? Huge number of failed/deferred emails that you didn’t even send? These are just some of the most common symptoms of a hacked...
If for whatever reason you need to prevent your visitors from seeing a broken version of the site during maintenance, and to give them a heads up on the updates, WordPress has an embedded feature for handling maintenance mode that will automatically...
Another website got hacked and the owner noticed weird chinese characters in search results for his website. weird chinese characters The index.php file contained the following code: Initially, the point of entry for this malicious code was a plugin...
To restrict access to the WordPress admin area (wp-admin) create a new file .htaccess inside your wp-admin folder and put the following code snippet: order deny, allow allow from 123.456.7.8 deny from all Replace 123.456.7.8 with your IP. You can...
WordPress troubleshooting 101: add the following to wp-config.php to enable displaying errors. define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true ); @ini_set( 'display_errors', 1 ); define(...