Featured Articles

black and brown industrial machine

WordPress

Gutenberg block for adding AdSense ads

A Gutenberg block for inserting Google AdSense ads into posts. Vibe coding WordPress plugins: I used Google Gemini to create a WordPress Block Editor block which inserts an Adsense ad automatically after the more tag. And wherever you want an advertisement to appear. Sweet! (-:


Latest articles

WordPress

Last updated:

Moving away from WordPress

Yes, I'm moving Sysadmins of the North away from WordPress and migrating to another CMS.

Spider

GNU/Linux, Web applications

Last updated:

Blocking bad bots and search engines using .htaccess

Take control of your server resources by learning how to block aggressive bots and unwanted search engines using .htaccess and mod_rewrite. This guide provides copy-paste ready configurations to prevent bandwidth theft, stop scrapers, and ensure that only relevant search engines crawl your website.

Umbraco

Last updated:

How to optimize Umbraco 8 performance

Out of the box, Umbraco is a well built and pretty fast content management system. However, it is still important you perform some steps to further optimize Umbraco's performance and loading speed.

Piranha CMS login screen

Web applications

Last updated:

How to extend TinyMCE in Piranha CMS?

In Piranha CMS you can easily extend the TinyMCE editor with additional plugins and toolbar buttons through editorconfig.json. Here is how.

Umbraco

Last updated:

How to add a trailing slash in Umbraco 8

Add a trailing slash to URL's in Umbraco 8, using IIS URL Rewrite Module, without breaking the Umbraco backend. Forcing one particular URL avoids duplicate content, which is important for SEO.

Web applications

Last updated:

Hugo development environment in WSL 2

Using WSL 2 it is pretty easy to install Hugo in Windows, setting up your local webdevelopment environment and configure Hugo to listen on your Ubuntu's IP address, here is how.

wpcount registered users at a glance dashboard

WordPress

Last updated:

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.

WordPress

Last updated:

Disallow direct access to PHP files in wp-content/uploads/

Securing the WordPress uploads folder is important. In many hacked WordPress sites, a PHP backdoor is found within the WP_CONTENT_DIR/uploads directory. Often because this is the location where uploads are placed automatically. From the backdoor within wp-content/uploads other backdoors are uploaded to various locations, and scripts are injected with malware.

WordPress

Last updated:

Delete spam comments after three (3) days

How to change Akismet interval to three days instead of 15 days for deleting spam comments using the akismet_delete_comment_interval filter.

Umbraco

Last updated:

11+ Tips to optimize Umbraco 7 CMS

Umbraco 7 is a popular, ASP.NET powered, content management system (CMS). Out of the box Umbraco performs pretty well, but there are still some areas you need to tweak and tune for a more performant Umbraco website. Here are 11+ tips.