How to Fix Yoast SEO for WordPress DeleteDuplicateIndexables MySQL error
A possible fix for Yoast broken DeleteDuplicateIndexables statement
Count and display number of WordPress users in your Dashboard
Show the number of registered WordPress users in a At-a-Glance widget. This is particular handy as an indicator of compromise (IoC), when a hacker has registered numerous new users in your WordPress database for spam purposes.
Find vulnerable WordPress plugin versions fast using PowerShell
Use PowerShell to find vulnerable WordPress plugins on your Windows webserver fast, because on a daily bases, new vulnerabilities are found in WordPress plugins and you can count on the fact you have customers using that vulnerable version of that particular plugin.
Disallow direct access to PHP files in wp-content/uploads/
It's recommended to disallow access to and execution of PHP files in wp-content/uploads folder. Preferably without the use of a security plugin. Blocking access to PHP files in WordPress wp-content/uploads folder is easily achieved with .htaccess on Linux Apache, or `web.config` accesssPolicy in Windows Server IIS. And here is how.
WMI Filters for Group Policy to manage Windows Server versions
This post contains some example WMI filters for you to use in Group Policy Objects (GPOs) to target and manage specific Windows Server versions like 2012R2, 2016 and Windows Server 2022/2019.
Basic Authentication module for Windows Server IIS 10
Basic Authentication managed HTTP module for IIS 10 with virtual users support. In my pursuit of a basic authentication alternative in IIS, other than the built-in Basic Authentication module or Helicon Ape, I came across Devbridge AzurePowerTools. It's apparently one of few HTTP managed modules for IIS that enables HTTP Basic Authentication with support for virtual users.
IIS 10.0 FTP IP Security allow list
In this post I'll show you how to configure an IP allow list for IIS FTP Server using PowerShell, iisadministration and webadministration modules
Removing phantom application folders from website configuration in IIS
How to remove phantom application folders from websites in IIS using PowerShell
Delete spam comments after three (3) days
Change Akismet interval to three days instead of 15 days for deleting spam comments using the akismet_delete_comment_interval filter
IIS backup and restore
Backup and restore IIS 10 webserver configuration with appcmd.exe and PowerShell
How to fix System.Collections.Generic.KeyNotFoundException "The given key was not present in the dictionary" Exception with MySQL Connector/NET and utf8mb4 character set
MySQL Connector/NET and utf8mb4 character set can cause an exception System.Collections.Generic.KeyNotFoundException "The given key was not present in the dictionary".
Reduce Wordfence CPU usage, disable Wordfence "Live Traffic View"
The Wordfence "Live Traffic Options" ("Traffic logging mode") feature can cause high CPU usage and load issues for WordPress websites.
Use -SearchBase with Get-ADComputer for faster results
Using -SeachBase with PowerShell's Get-ADComputer gives me faster results with AD DS queries.
Install Windows Server Servicing Stack Updates (SSU) using PowerShell
Install Servicing Stack Updates (SSU) for Windows Server 2012R2, 2016 and Windows Server 2019 using PowerShell, without downtime
Automatically flush Redis cache after publishing a WordPress post
Did you know you can automatically flush opcode caches like Redis when you publishing a post or page in WordPress? Doing so ensures you and your visitors see the newly created content immediately.