Cloudflare phishing popup that downloads malware - ⚠️ Cloudflare phishing popup that downloads malware

⚠️ Cloudflare phishing popup that downloads malware

In this post, I will discuss the most realistic phishing popup that I’ve seen in years. These popups appear only on WordPress websites that use Cloudflare and can easily be mistaken with the original Cloudflare’s “sorry you have been blocked” screen. The post is divided in two sections: Analysis of the malware and malicious code … Read full article →

XML RPC WordPress Tutorial - Introduction to XML-RPC

Introduction to XML-RPC

XML-RPC is a remote procedure call (RPC) protocol that uses XML to encode its calls and HTTP as a transport mechanism. It is often used by WordPress to allow remote access to the WordPress functions from external clients. Here are some examples of how XML-RPC can be used in WordPress: Enabling XML-RPC in WordPress To … Read full article →

wpcli custom php version - Download WP-CLI & set custom PHP Version

Download WP-CLI & set custom PHP Version

Recently I was migrating a website from GoDaddy shared hosting using WP-CLI and noticed the PHP version in cli was outdated. Here is how to install WP-CLI and set custom PHP version for the cli. Setup WP-CLI To download WP cli: To run it use php wp-cli.phar To make it easier to call We’ll rename … Read full article →

WordPress Caching Plugins Compared - WordPress Caching Plugins Comparisons

WordPress Caching Plugins Comparisons

I’ve been a WordPress user for over a decade and back at the beginning of my first WP blog (around 2010), I did a comparison between at the time most popular WordPress Caching plugins, and various caching methods: APC, XCache, and eAccelerator. Most of those plugins are long dead but some of their functions still … Read full article →

Set Email account to send WordPress emails from SMTP - Set Email account to send WordPress emails from (SMTP) 📧

Set Email account to send WordPress emails from (SMTP) 📧

Like many other scripts, WordPress also uses PHPmailer to send transactional emails. If no email is set for sending emails, WordPress will use the default cPanel email account ([email protected]) which isn’t pretty. SMTP (Simple Mail Transfer Protocol) is an industry-standard for sending emails. Proper SMTP configuration helps increase email deliverability by using authentication. To specify … Read full article →

WP MEMORY LIMIT vs WP MAX MEMORY LIMIT - WP_MEMORY_LIMIT vs WP_MAX_MEMORY_LIMIT

WP_MEMORY_LIMIT vs WP_MAX_MEMORY_LIMIT

In short: WP_MEMORY_LIMIT is the default limit set for the front end, but it can be raised up to WP_MAX_MEMORY_LIMIT in wp-admin pages. WP_MEMORY_LIMIT WP_MEMORY_LIMIT allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of X … Read full article →

How to DEBUG in WordPress - How to properly DEBUG in WordPress ✔️

How to properly DEBUG in WordPress ✔️

WordPress has many built-in functions that can help you debug. They can be activated by editing them in the wp-config.php file: 1. Enable debug mode By default Debug mode is disabled in WordPress, so you need to enable it by editing the wp-config.php file and changing the value from define( ‘WP_DEBUG’, false ); to define( … Read full article →