This is a short tutorial on how to force users to HTTPS instead of HTTP when visiting a WordPress site. This tutorial assumes that you have some sort of SSL certificate installed on your site. I personally use Let’s Encrypt, but there are other ways of getting a verified certificate for encryption.
Continue ReadingDisable ClamAV, ClamAV and SpamAssassin in iRedMail
So I set up a server using iRedMail and ran in to an issue: I started out with 768MB of memory and it was GONE!!! If you are going to install iRedMail and want to use all of the functionality, you need to start out with 2GB of memory at a minimum. It will use every bit of your available memory at that level! I could barely log into SSH to maintain my server at 768MB of memory. Continue reading Disable ClamAV, ClamAV and SpamAssassin in iRedMail
Easy Pagination
While writing a model I needed an easy way to set the starting record based only upon the page number that we’re on. This has always vexed me for some reason, but then it just hit me. The page number can be used to mathematically compute the starting record if we know the number of records to be displayed on each page (and we usually do). Continue reading Easy Pagination
