Stay updated

Hajhu Blog

Latest posts

How to install openlitespeed on GCP console
How to install openlitespeed on GCP console

I wanted to test with an Openlitespeed web server with WordPress. I have tried it out and decided to keep the web server. I'll briefly explain why and how you can install one too. I regularly play with web servers and every now and then I come across something good....

Add a Divi header section to the top of your Single Post Pages
Add a Divi header section to the top of your Single Post Pages

Introduction Lets keep it simple and short, visitors reading this article already are familiar with the Divi Theme Builder & WordPress. How do I add a Divi section to the single.php file? Copy the Divi single.php to the root of your child theme.Add a new test page...

Cloudflare firewall rules for WordPress
Cloudflare firewall rules for WordPress

On the free plan, Cloudflare grants five firewall rules. By adding WordPress-specific Cloudflare firewall rules, you can secure your site and block attacks before they even reach your server. Cloudflare firewall rules wordpress There are many tips, guides and...

How to change WordPress admin password
How to change WordPress admin password

There are many ways to reset your admin password in Wordpress. Let's assume all methods like "Lost Password" are exhausted. Change your password through phpMyAdmin Time needed: 5 minutes. Change your password through phpMyAdmin Login to phpMyAdmin Login to phpMyAdmin...

Get a list of all enqueued scripts or styles

Introduction We have been working on Wordpress website optimization and want to replace or combine style sheets and do some other fancy stuff. In order to do this we need handle names of scripts and styles, we have two functions that works to retrieve the handle of a...

Increase WordPress Page Speed using functions.php

Introduction Increase Wordpress Speed just by adding some functions to functions.php. You can easily speed up your Wordpress Theme by adding some custom functions. We are working on a speed optimized Theme and we wanted to share some of our code snippets. We used...

Enable gzip compression using the .htaccess file for Apache

Introduction Speed up your website and use gzip compression using the .htaccess file in the root of your website's directory if you are using Apache or NGINX (Linux). You can actually use two different Apache mods to enable HTTP gzip compression: mod_gzip and...