How to view and modify WordPress rewrite rules

Sometimes a page load issue in your WordPress website has more to do with some random error rather than a bug in your code. In this case, it was rewrite...

Read Full Post

How to replace Paragraph Break with Line Break in LibreOffice Writer

Replace Paragraph Break with Line Break in LibreOffice Writer with these simple steps.

Read Full Post

Whitelist all sub-sites for wp_safe_redirect in WordPress Multisite

This article shows how to add all the domains/sub-domains of a WordPress multisite network to allow safe redirects through wp_safe_redirect function.

Read Full Post

Make Javascript sequential with "async" and "await"

Javascript code can be easily made sequential with the help of two simple, yet very powerful keywords "async" and "await".

Read Full Post

Javascript: Loop over querySelectorAll without error

Javascript: Loop over querySelectorAll without error

In Javascript, there are a lot of instances when you want to find multiple elements on a page to apply a common operation to all of them. Suppose you wa...

Read Full Post

Where to add custom code in WordPress

Where to add custom code in WordPress

Writing custom code for WordPress may be easy, but you should carefully add your code at the correct place to keep it clean and easily maintainable.

Read Full Post

How to create a WordPress plugin

How to create a WordPress plugin

Easily create a simple WordPress plugin without any complex setup or need of FTP/SSH to your hosting server.

Read Full Post

How to use PHP built-in web server

You can use the PHP built-in webserver to test your PHP code, without the need to set up complex WAMP or LAMP software on your desktop.

Read Full Post

Enable Gzip compression in WordPress with htaccess

Gzip compression speeds up your Wordpress website by compressing the resources at the server level using simple .htaccess configuration in Apache server.

Read Full Post

Correct file permissions for WordPress on Apache

Let us set up correct file permissions (chmod) for your Wordpress website to ensure the flawless functioning of your website and security from attacks.

Read Full Post