Category: Blog

photo of person typing on computer keyboard

How remove caps-lock from WordPress comments (retroactively)

Your name Your email Subject Your message (optional) There are people, sometimes whole departments of companies, who from the day they buy a keyboard to when they throw it away keep the caps-lock on. I don’t understand them and for this reason i made a plugin to convert everything they write to the correct case. […]

How serve automatically .webp images with Nginx

Your name Your email Subject Your message (optional) If your website uses several transparent png images the most convenient and effective optimization is to convert all the media assets to webp format… this will cut heavily the pageload because webp could weigh up to 10% of the original image. There is a way with nginx […]

How to secure the WordPress login panel with fail2bain (and without plugins)

Your name Your email Subject Your message (optional) If you are running your own server, it may be useful to create a jail with fail2ban to block attempts to access your blog. (I assume you already have fail2ban installed) Edit the local jails file: sudo nano /etc/fail2ban/jail.local Find the log path for your server (important) […]

Show a Qr Code on contact form 7 mail submit

Your name Your email Subject Your message (optional) This example show how display a  QR code on mail submit with Contact Form 7 For first go to the 3rd tab and edit the success message (the first) adding at the end %%[_date]-[_serial_number] (so the message will look like “success message sent %%[_date]-[_serial_number]”) ref.