This article will present a step by step tutorial on how to enable Gzip compression in a WordPress website without any plugins. Even though WordPress plugins are great in extending the functionality of any WordPress website without any coding but it increases the overload on the server which might cause it to crash continuously. Without further chatter let’s dive into the tutorial.
Step One: Login to your root directory on your server using your favorite FTP (Filezilla, etc.), then browse to the .htaccess file.
Step Two: In the .htaccess file add the following lines of code:
Step Three: Save the .htaccess file and exit it.
Now, you’ve successfully enabled Gzip compression without a plugin and your visitor will enjoy your content with a blazing fast speed.