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 please head over to wpxss.com.

www.wordpress.org

redis log - Connection refused PHP error in WordPress

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 refused [06...

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 - Three Column Screen Layout WordPress Plugin 🔴 Exploit

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

deny code 1024x141 1 - Restrict 🚫 wp-admin to specific IP address

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

wp config debug - WordPress debug

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

9 - How to 🔄 re-install WordPress

How to 🔄 re-install WordPress

Here is how to re-install WordPress in under 5 minutes! From the current WordPress installation delete everything except the wp-content folder and the wp-config.php file. Download the latest WordPress version from WordPress.org Go to your...