WordPress

WordPress is a free content management system (CMS) written in PHP and paired with a MySQL or MariaDB database. Currently, WordPress is used by more than 60 million websites.

UPDATE: In January 2021 I started another blog wp✘SS that is dedicated to troubleshooting most common WordPress problems, for more WordPress articles about please head over to wpxss.com.

www.wordpress.org

SH4LL AAF_Xploiter

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...

How to Install WordPress in Control Web Panel (CWP)

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...

Exclude ai1wm-backup folder from Softaculous backups

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...

Enable LiteSpeed crawler on WordPress & cPanel

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...

Connection refused PHP error in WordPress

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...

Wordpress background web design image in Backgrounds and Textures category at pixy.org

Find older WordPress versions

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...

Business photo created by senivpetro - www.freepik.com

Put WordPress in maintenance mode without any plugin

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...

Three Column Screen Layout WordPress Plugin 🔴 Exploit

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...

Restrict 🚫 wp-admin to specific IP address

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 debug

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(...