Sharing is Caring

Optimize WordPress MySQL tables through Cron, behind the scenes

To regularly optimize my WordPress database tables, I created a small plugin that utilizes the WordPress Cron feature. This comes in handy to perform database optimization for WordPress on a regular basis, without forgetting about it. Just activate and enjoy. And here is the plugin code …

Continue reading

10 Tips To Optimize Your WordPress hosting

WordPress.org logo

Isn’t it true that, when you (start to) develop WordPress websites for clients, and you host them yourself, you find yourself in a situation where you need to know a lot about “stuff” other than WordPress development? In this optimize your WordPress hosting post, I give you 10 valuable tips to improve hosting performance, for […]

Continue reading

HackRepair.com’s Bad Bots .htaccess in web.config for IIS

Jim Walker from HackRepair.com posted a 2016 version of his Bad Bots .htaccess on Pastebin. I offered Jim to translate his Bad Bots .htaccess to web.config, to be used with Windows Server IIS. And here it is, learn to protect your website with this web.config file!

Continue reading

IIS URL Rewrite “Rewrite error: Expression contains a repeat expression”

Fix the URL Rewrite error “Rewrite error: Expression contains a repeat expression” on Windows Server IIS.

Continue reading

Cracking PHP rand()

Sjoerd Langkemper writes about Cracking PHP rand(): Webapps occasionaly need to create tokens that are hard to guess. For example for session tokens or CSRF tokens, or in forgot password functionality where you get a token mailed to reset your password. These tokens should be cryptographically secure, but are often made by calling rand() multiple […]

Continue reading

Recursive scp and symlinks

Recursive scp without following symbolic links. TL;DR: when using recursive scp, symbolic links aren’t preserved and are copied as if they are normal directories. So you have to look for another solution to recursively transfer symlinks over ssh. Here is one: Tar over ssh!

Continue reading

Deny vulnerable WordPress plugins using Windows Server File Server Resource Manager’s File Screens

Plugin installation error could not copy file

Using Windows Server File Server Resource Manager’s File Screens you can block vulnerable WordPress plugins from being saved on your IIS web server. In the following example, I’ll show you how to block WP DB Backup plugin system-wide on Windows Server, read on…

Continue reading

Send email with SMTP authentication and TLS using ASP

Send secure email from your website, over an TLS-encrypted connection, using ASP and CDOSYS. ASP/CDOSYS needs to be configured properly to send SMTP authenticated email via TLS encrypted connections. CDO (Collaboration Data Objects) is a Microsoft technology that is designed to simplify the creation of messaging applications. CDOSYS is a built-in component in ASP.

Continue reading

Security Advisory: Stored XSS in Magento

Sucuri reports an stored cross site scripting (XSS) vulnerability in Magento CE <1.9.2.3 and Magento EE <1.14.2.3. This vulnerability affects almost every install of these versions, time to upgrade your Magento webshop!

Continue reading

Send email with SMTP authentication and TLS using ASP.NET

How to send email with SMTP authentication via TLS, with ASP.NET from your website? The following C# and VB.NET code shows you how to send an email with SMTP authentication using ASP.NET and System.Net.Mail MailMessage class.

Continue reading

WhatsApp prepares to share user info with Facebook – Time to switch

Android Authority reports: It was likely only a matter of time before Facebook and WhatsApp became more intertwined after the social media giant purchased the messaging service back in 2014. Now the first clues that closer integration is looming have appeared, as users have managed to find some new options tucked away in the latest […]

Continue reading

Serve gzipped static WP-Super-Cache files on IIS

WP-Super-Cache logo

Who said WordPress is slow on Windows? Gzip compress your WP-Super-Cache supercache HTML files to supercharge your WordPress blog. Serve gzip compressed HTML files through Windows Server IIS. Create smaller static HTML files that are downloaded faster, and here is how …

Continue reading

Install Varnish Cache on CentOS 6.7

In this article I’ll show you how to install Varnish Cache on CentOS, version 6.7 in this case. Varnish is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Because Varnish Cache is really, […]

Continue reading

Install Elasticsearch on CentOS 6.7

How to install Elasticsearch on CentOS 6.7. Elasticsearch is a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time. In this article we’ll go over the steps to install Elasticsearch on CentOS 6.7.

Continue reading

Minify WP-Super-Cache HTML cache files: WPSCMin a WP-Super-Cache plugin

WP-Super-Cache logo

The WordPress WP-Super-Cache cache plugin doesn’t minify HTML cache files, which I find a disadvantage. Knowing minify libraries, I went looking for an existing solution (why reinvent the wheel?), and found one: WPSCMin. Read on …

Continue reading
Accessibility