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…

Install Suhosin php5-fpm Security for WordPress

Suhosin hosted on github is a PHP security extension. Suhosin can protect you from insecure code and possible buffer overflows. Install Suhosin on your VPS or dedicated server only takes a few minutes and could protect you from poorly coded WordPress plugins. This tutorial was tested on Debian 7 (Wheezy), 8 (Jessie) and Ubuntu 14.04 … Learn more…

Cache WooCommerce Currency from GeoIP with Varnish 4 vmod

Aelia Currency Switcher allows WooCommerce and Easy Digital Downloads online business owners to display their products in different currencies depending on the visitor’s geolocation. It works by probing each visitor’s IP address and setting the currency based on their country, city or other parameters the business owner has chosen to decide the currency. I had a long … Learn more…

Protect WordPress wp-login with nginx HTTP Auth + fail2ban

Protecting wp-login.php for WordPress is essential for brute force protection from hackers. Most WordPress administrators will use a plugin like All-in-One Security (recommended) or Wordfence to block users who are making excessive login attempts. The problem with the plugin technique is that these brute force protection methods are still expensive for your web server. When a user … Learn more…