Useful WordPress mu-plugins

You can find few useful tiny mu-plugins in my example Nginx configuration for WP.

Must-use plugins (a.k.a. mu-plugins) are plugins installed in a special directory inside the content folder and which are automatically enabled on all sites in the installation. Must-use plugins do not show in the default list of plugins on the Plugins page of wp-admin – although they do appear in a special Must-Use section – and cannot be disabled except by removing the plugin file from the must-use directory, which is found in wp-content/mu-plugins by default.

source: https://codex.wordpress.org/Must_Use_Plugins

Enhancer

It enhances your security settings:

  • set password hashing to Bcrypt
  • return 401 HTTP status code after unsuccessful login attempt – so you are able to filter them with fail2ban on server side
  • remove sensitive data from REST API (users and comments endpoins)

Mail Fixer

Allows you to tune your WP mail settings (phpmailer):

  • unify Sender and From address (missconfiguration causes marking your mails as a spam)
  • customize from name and address
  • allows you to set your own SMTP server

Custom Login

Blocks direct access to wp-login.php – user have to visit custom URL before

Team Cookie

When user visits the administration it sets a cookie – it allows you to exclude them from the analytics for example.

 

You can find these plugin in the extras dir inside my repository.


Discover more from Vladimir Smitka

Subscribe to get the latest posts sent to your email.

Leave a comment

About Me

My name is Vladimir Smitka and I’m a security researcher/hobbyist from the Czech Republic. I’m also the owner of Lynt, a PPC Agency. I’m also an active member of the Czech WordPress community and one of the WordCamp Prague organizers.

OPEN .GIT GLOBAL SCAN

  • 230 000 000 sites scanned 🔍
  • 390 000 sites affected 😥
  • 100 000 mail send to the developers 📧
  • 150 000+ sites fixed 
  • 100+ possitive comments 🗨️
  • 3500+ thankyou mails ❤️
  • Thousands and thousands sites with another serious issue found 😑

For my research I use affordable Virtual Private Servers from Digital Ocean (they have a great infrascruture), Linode (they have a great understanding for my work) and dedicted servers from Hetzner.

If you like my research, you can make a small donation for coffee and VPS – two basic ingredients for my future security scans.

Follow me

Our Projects

Latest Articles