Featured Articles

black and brown industrial machine

WordPress

Gutenberg block for adding AdSense ads

Vibe coding WordPress plugins: I used Google Gemini to create a Gutenberg block for inserting Google AdSense ads into posts. One automatically after the more tag and add where you want them to appear


Latest articles
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.

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.

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.

Anime Dude with Retro-futuristic Jetpack Soaring Above Neon-lit Cityscape

WordPress

Last updated:

Remove Jetpack email sharing service

Remove Jetpack email sharing service using WordPress plugin or theme functions.php file. It’s often abused by spammers

WordPress

Last updated:

Check WordPress Core files integrity

Check WordPress integrity and verify WordPress Core files’ md5 checksums against WordPress’ checksums API, using this standalone PHP file.

WordPress

Last updated:

Clear PHP opcode caches before WordPress Updates: ease the updating process

WordPress core-, plugin- and theme updates sometimes fail because of enabled opcode caches in PHP. Popular PHP opcode caches are OPcache, WinCache and APC. This little WordPress Must Use Plugin tries to flush opcode caches. Making your live a bit easier when updating WordPress Core, Plugins and Themes.

silver pocket watch at 10 00

WordPress

Last updated:

Measure WordPress loading time and queries

How to measure WordPress loading time and executed database queries? During an HTTP request, WordPress executes a lot of queries on your MySQL database. Not just the database queries take time, also loading and executing PHP takes time.