Redirect old URL to new URL or send 404 page with PHP
Conditionally start Application Pools on remote IIS web servers
In my routine, I occasionally have to start multiple website application pools when they are in a stopped state. On more than one web server. Being a lazy system administrator, I find it too much work to log on every server. Therefore I start those application pools in a loop. A condition for me to start application pools is that the application pool AutoStart property is set to true. This is because I set autostart to false when I disable hacked websites, and those application pools may not be started until all problems are resolved of course. To start application pools, I use the AppCmd command.
Check website availability with PHP and cURL
Here you'll find a PHP script to check if your website is up and online available. It uses PHP and cURL. This script comes in handy because website uptime and availability is important, and you want your website to be always online available. If your website is down, it'll send you an email to notify you about downtime.
Send authenticated SMTP email over TLS from WordPress
8 Tips to improve Joomla performance
How to hide the .php file extension with IIS URL Rewrite Module
Minify JavaScript, CSS and compress images
Optimizing, minify and compressing JavaScript and CSS files, the easy and fast way? With YUI Compressor on the Windows-, Linux- and macOS command line of course! Compacting HTML, CSS, and JavaScript can speeds up your website because of smaller and faster downloads, parsing, and execution time.