Install + Configure Elasticsearch to Speed up WordPress Search

The default WordPress search uses MySQL which is not search-optimized and can be slow. Elasticsearch is a NoSQL database which uses a lucene structure. The goal of Elasticsearch is to provide search results in real time. ElasticPress is the plugin that integrates WordPress with ElasticSearch to make WordPress searching fast and awesome. It extends WordPress … Learn more…

How to Configure Memcached to Use Unix Socket Speed Boost

Memcached is a high speed caching system for storing objects in RAM. It works well with WordPress and WooCommerce as an object cache for storing transients so they are not stored in the MySQL database. On WooCommerce particularly object caching can help considerably because of the number of transients used by plugins and orders. Unix sockets … Learn more…

Protect + Stop WPScan WordPress User Enumeration with Varnish

WPScan is a WordPress vulnerability scanner written in Ruby. Sucuri sponsored WPScan which hosted on github. With its security vulnerability database for WordPress core, plugins and themes hackers can get a report on your site’s known security problems which can be exploited. You can install WPScan yourself on Debian 8 (guide) or Ubuntu 16.04 (guide). WPScan provides multiple ways … Learn more…

How to Integrate fail2ban with CloudFlare API v4 Guide

CloudFlare is a pretty sweet free security, firewall and acceleration service that I use on all my WordPress sites. The old CloudFlare API is being retired shortly (November 2016, source). Since the CloudFlare v4 API is already live, I wanted to be prepared for the new API switch. I use fail2ban to protect my wp-login … Learn more…

Automatically Downgrade MemberMouse Users with Python

MemberMouse is a premium WordPress plugin for creating your own membership site. Usually you have a free member status and various premium member statuses depending on their subscription level. When a premium user’s membership expires, MemberMouse does not automatically downgrade that user’s membership status to the free tier. They do show you how to do … Learn more…