My WordPress web.config
Do you host your WordPress website on Windows Server IIS? And are you having trouble with your web.config? Here is mine :)
Deploying and maintaining Web Applications requires a delicate balance of performance, security, and scalability. This category dives into the middle layer of the stack, focusing on how applications interact with the web server, the database, and the end-user. From configuring specialized headers and SSL / TLS certificates to troubleshooting application-specific bottlenecks, these guides help you move beyond default installations.
Whether you are managing self-hosted tools, SaaS integrations, or custom-built platforms, you will find technical advice on environment hardening and performance optimization. The goal is to provide the architectural insights necessary to ensure your web services remain fast, secure, and resilient under load.
Do you host your WordPress website on Windows Server IIS? And are you having trouble with your web.config? Here is mine :)
A change in PHP's default_charset php.ini setting causes HTML output to break if you try to set a different charset in your HTML head. It also might break functions like htmlentities() and htmlspecialchars().
With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.
How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigtalOcean. DIY High-Availability for your website!
Learn how to optimize PHP performance by checking and setting PHP realpath_cache_size. The realpath_cache_size size represents the total number of bytes in the path strings stored, plus the size of the data associated with the cache entry
How to display commas in WordPress tags? And why have commas in WP taxonomies?
Exploit PHP's mail() function for remote code execution. Apparently, if you are able to control the 5th parameter of the mail() function ($options), you have the opportunity to execute arbitrary commands.
Outdated but fun: PHP 7 with OPcache in IIS Express for Microsoft WebMatrix 3: create your DevOps with Microsoft WebMatrix and IIS Express
Learn how to override wp-mail() and send secure email using authenticated SMTP and StartTLS from WordPress.
How to identify, block, mitigate and leverage xmlrpc.php scans, brute-force, and user enumeration attacks on WordPress sites... Secure WordPress xmlprc.php interface and reduce service disruption.
Learn how to speed-up Joomla performance on Windows Server IIS using these 8 simple, but important, tips. Add caching, gzip compression, set your sessions & optimize MySQL database functions.
Configure Umbraco for SQLServer sessionState storage and prepare Umbraco for high performance web garden or web farm, and load balancing environments. This post explains it all.
The less spammers hit your WordPress blog, the better your blog performs, is one of my opinions. A second is, the less unnecessary plugins you use on your WordPress blog, the better. So, a little while ago I decided to remove plugins like Stop Spammer Registration Plugin and do its work myself.
Here is how to install the Microsoft.SQLSERVER.CE.OLEDB.4.0 Provider and use classic ASP to connect to an SqlCe (SQL Server Compact) database sdf file, as a Microsoft Access database replacement.
How to let MySQL Connector/NET and Entity Framework play nicely. This blog post is a quicky and an oldy… Since we still receive a reasonable amount of questions about this topic at the customer service of my employer I’m posting this here, with some commonly made mistakes and points of attention.
The advantage of having your website content hosted on a Content Delivery Network (CDN) is having your content distributed and stored across the Globe. Utilizing the network of the Content Delivery Network provider.
Block and filter unwanted web HTTP traffic with blocklists, on both IIS and Apache. Protect your website easily with this PHP blocklist class. Create your own HTTP web blocklist filter.
Clean up WordPress post revisions easily with one (1) simple SQL statement. Delete WordPress post revisions, turn them off and speed up your WordPress blog.
It's possible to restrict System.Net.SocketPermission, for example, for an external MySQL connection. Here is your "Granting limited SocketPermission in ASP.NET 2.0 medium trust" how-to.