The other day when looking at my ConfigServer Security logs, I saw the following line: I’ve been getting a few of these recently. Attempts to access paths on my server that look like this: /cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/hosts It looks strange, because these are encoded characters. “%2e” stands for dot (.). So the path above is actually trying […]
GenerateBlocks – A Must-Have Plugin
There’s a saying “If you build it, they will come”. While it doesn’t apply to everything, I certainly see the truth when it comes to the WordPress Gutenberg editor. Before, my articles used to be mainly ordinary text with some images. Now with Gutenberg, it’s full of lists, quotes, and other advanced layouts. It’s completely […]
A CDN Won’t Help Your Low Traffic Site
I maintain 3 websites. My main site – WP-Tweaks.com, my personal blog, and my professional site. I don’t focus too much effort on the latter two, and they both get low traffic, which is fine for me. There was a time when I used to work a lot more on my blog, but that was […]
Don’t Assume You Need Caching On Your Website!
This article ties together a series of articles I’ve written on caching for WordPress. Ever since I migrated from shared hosting to a VPS, I’ve found myself obsessing over the necessary caching configurations I need to set up. My site is a WordPress site, and my previous web host automatically installed memcached for me. But […]
Why Using A Reverse Proxy Is Important For WordPress – Or LiteSpeed
For a long time, I didn’t give much thought to caching static content on a server level. After all, I already use a CDN (Cloudflare), so why should I bother about how fast static files are served? A few days back as the previous year rolled over into the other, I understood how important it […]
Can We Block External Access To PHP Files In WordPress?
Sometimes when checking my VPS logs, I’ll see a large number of attempts to access PHP files on my server. These files will be of different names and different paths – all attempting to probe my site for weaknesses, find expired plugins to exploit, and more. And this is after I protect my WordPress site […]
3 Ways To Open A Linux File Without Modifying It
When navigating through the shell, I’m often logged in with dangerous privileges. I try and minimize the potential damage by logging in as a user with sudo privileges, but it can still be a nerve-wracking experience knowing that an accidental click of a key or a moment’s thoughtlessness can bring your entire system crashing down. […]
How To Properly Undo Package Installation On CentOS
If you’re not careful, your Linux system will become full of unused and discarded packages you installed a long time ago, and don’t use anymore. What’s worse, often when you install a particular program, it comes with a list of dependencies that get installed along with it. Ideally, you would want to get rid of […]
How To Install Redis For WordPress On A VPS
Earlier, I’d written a tutorial on how to install memcached on a VPS that integrates with PHP. In this tutorial, I’ll write about how to do the same with Redis. Like memcached, Redis is another caching mechanism that can speed up reads and writes by using your (much faster) RAM instead of accessing the database […]
How To Install Memcached For WordPress On A VPS
If you’re running WordPress on a VPS – managed or unmanaged – your web hosting provider won’t include memcached as part of the installation. A managed VPS takes care of OS updates, setting up the control panel, e-mail, etc., but only goes so far. Unlike shared hosting, where your web host might have a checkmark […]
