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...
Have you ever wanted to retrieve a list of values from a table, storing the results in a string? Here is simple yet effective method without having to rely on cursors, while loops, or other complex structures. declare @string varchar(8000) select...
Quick List of the Best Web Hosting Control Panels cPanel – Best Linux-only web hosting control panel for users who want a control panel that’s tried and tested over the yearsPlesk – Perfect Windows/Linux web hosting...
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(...
On a WordPress website that is protected with ModSecurity, when admin edits pages using Elementor or Gutenber in wp-admin dashboard, ModSecurity may falsely detect it as XSS attack. What we usually do is disable specific rules that create this false...
xmlrpc.com is a WordPress file that was intended to be used for API’s but lately it’s more and more used as a way for hackers to brute-force WordPress installations. To block access to xmlrpc.php on a single WordPress installation add...
Here is how to add a custom message to every outgoing email in Roundcube: Edit the config/default.php file: nano /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php and add the following to it: $config['generic_message_footer'] =...