{"id":8580,"date":"2019-09-11T11:02:51","date_gmt":"2019-09-11T11:02:51","guid":{"rendered":"https:\/\/wpvivid.com\/?p=8580"},"modified":"2020-02-02T05:09:28","modified_gmt":"2020-02-02T05:09:28","slug":"enable-gzip-compression-in-wordpress","status":"publish","type":"post","link":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html","title":{"rendered":"How to Enable GZIP Compression in WordPress to Improve Website Loading Time"},"content":{"rendered":"<p>As website visitors, we obsessed with <a href=\"https:\/\/wpvivid.com\/accelerate-the-post-loading-speed-of-your-wordpress.html\">fast loading websites<\/a>. As a website owner, you must <a href=\"https:\/\/wpvivid.com\/start-a-blog-with-wordpress.html\">build a website<\/a> that loads fast. One way you can do that is by compressing the files, and that is why I will show you <a href=\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\">how to enable GZIP compression in WordPress<\/a>, the easy way.<\/p>\n<p>GZIP is a file compression and decompression utility, with which you can reduce the size of website files a browser has to download.<\/p>\n<p>When a visitor makes is <a href=\"https:\/\/wpvivid.com\/free-search-plugins-for-wordpress.html\">looking for information on your website<\/a>, the browser sends a request to <a href=\"https:\/\/wpvivid.com\/choosing-a-wordpress-hosting.html\">the server hosting<\/a> of the website, the server retrieves the data requested, compresses it and sends it back to the browser which then decompresses it. By doing this, a single and smaller file is sent to the browser, tremendously improving on the load time.<\/p>\n<p>It is not only your website visitors who are interested in sites that load fast. Search engines like Google place much weight on page speeds in their <a href=\"https:\/\/wpvivid.com\/seo-a-new-wordpress-site.html\">search ranking criteria<\/a>.<\/p>\n<p>Page speeds are so important to Google that they even have a tool in the same name to <a href=\"https:\/\/wpvivid.com\/check-websites-speed-performance-free.html\">help website owners learn what affects the speeds of the websites<\/a>, <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\">Google PageSpeed Insights<\/a>.<\/p>\n<p>I hope this article will help you improve the speed of your website, but first, you need to know &#8211;<\/p>\n<blockquote>\n<h2>How to check if GZIP is enabled on a WordPress website?<\/h2>\n<\/blockquote>\n<p>A free tool I love to use in any<a href=\"https:\/\/wpvivid.com\/best-free-wordpress-caching-plugins.html\"> website performance optimization<\/a> job is <a href=\"https:\/\/gtmetrix.com\/\">GTMetrix<\/a>.<\/p>\n<p>Compression is one of the several benchmarks they test on a webpage.<\/p>\n<p>You can head to <a href=\"https:\/\/gtmetrix.com\/\">https:\/\/gtmetrix.com\/<\/a>\u00a0and test your website. The test results will tell you if you need or don\u2019t need to enable GZIP compression.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-8587 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix.png\" alt=\"Gtmetrix\" width=\"1109\" height=\"575\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix.png 1109w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix-300x156.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix-768x398.png 768w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix-1024x531.png 1024w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/gtmetrix-1080x560.png 1080w\" sizes=\"(max-width: 1109px) 100vw, 1109px\" \/><\/p>\n<p>If you want to be on top of the SERPs, if you wish to your website to load fast, then one thing you can do now is enable GZIP compression in WordPress.<\/p>\n<p>Here is the easy way to go about it.<\/p>\n<blockquote>\n<h2>How to Enable GZIP compression in WordPress?<\/h2>\n<\/blockquote>\n<h4><strong>Enable GZIP compression in WordPress using a plugin<\/strong><\/h4>\n<p>GZIP is a software utility that runs on a server.<\/p>\n<p>Luckily, most web servers come with GZIP installed, but, for a website to make use of it, one needs to enable compression for her website manually.<\/p>\n<p>Usually, this requires<a href=\"https:\/\/wpvivid.com\/insert-php-code-snippets.html\"> adding some code your configuration files<\/a> \u2013 for instance on Apache servers you need to <a href=\"https:\/\/wpvivid.com\/how-to-edit-htaccess-file-and-insert-301-redirects.html\">modify the .htaccess file<\/a>. \u00a0The easy way, though, is using a plugin.<\/p>\n<p>Since we are talking of WordPress here, you are spoiled for choice for <a href=\"https:\/\/wpvivid.com\/must-have-plugins-for-wordpress.html\">what plugin to use<\/a>.<\/p>\n<p>Here are some of the plugins I have worked with that you can explore.<\/p>\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\">WP Super Cache<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\">W3 Total Cache<\/a><\/li>\n<li>and more in our top picks for the<a href=\"https:\/\/wpvivid.com\/best-free-wordpress-caching-plugins.html\"> best free caching plugins for WordPress<\/a>.<\/li>\n<\/ul>\n<h4><strong><b>Enable GZIP compression in WordPress with Hummingbird<\/b><\/strong><\/h4>\n<p>I have used most caching and performance plugins, but, one that consistently works is Hummingbird. The free version has more than enough features, including the ability to enable GZIP compression in WordPress.<\/p>\n<h6><strong><b>Install Hummingbird. <\/b><\/strong><\/h6>\n<p>The easiest way is through the Add Plugin area on your website. Click the Install Now button, after it installs Activate the plugin.<\/p>\n<p>The first time you run the plugin or if there are any changes to your site, you will need to <a href=\"https:\/\/wpvivid.com\/check-websites-speed-performance-free.html\">run the Performance test<\/a>.<\/p>\n<h6><strong><b>Enable Gzip Compression.<\/b><\/strong><\/h6>\n<p>Once it is installed, on the left menu under Hummingbird, go to Gzip Compression.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-8588 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress.png\" alt=\"Hummingbird Gzip Compression\" width=\"801\" height=\"358\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress.png 801w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-300x134.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-768x343.png 768w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/p>\n<p>On the GZIP compression page, you will see the file types that need compression.<\/p>\n<p>I used the automatic compression setting. It automatically modifies the .htaccess file with the compression rules.<\/p>\n<p>The Manual setting generates code that you need to paste to your .htaccess file. You can use this if the automatic setting is not working.<\/p>\n<p>Scroll down and choose your server type, then click Apply rules.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-8589 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf.png\" alt=\"Hummingbird Gzip Compression Configuration\" width=\"1173\" height=\"1103\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf.png 1173w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf-300x282.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf-768x722.png 768w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf-1024x963.png 1024w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/hum-compress-conf-1080x1016.png 1080w\" sizes=\"(max-width: 1173px) 100vw, 1173px\" \/><\/p>\n<p>Now go back to <a href=\"http:\/\/www.gtmetrix.com\">www.gtmetrix.com<\/a>\u00a0and retest your website.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-8591\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix.png\" alt=\"Reset website Gtmetrix\" width=\"1114\" height=\"592\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix.png 1114w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix-300x159.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix-768x408.png 768w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix-1024x544.png 1024w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/09\/reset-website-gtmetrix-1080x574.png 1080w\" sizes=\"(max-width: 1114px) 100vw, 1114px\" \/><\/p>\n<p>GZIP compression is now enabled. Do you notice the leap in the performance scores?<\/p>\n<p>Just in case this plugin or any other fails to compress your files, then you will need to <a href=\"https:\/\/wpvivid.com\/create-contact-form-in-wordpress.html\">contact your host<\/a>.<\/p>\n<blockquote>\n<h2>Conclusion<\/h2>\n<\/blockquote>\n<p>Enabling GZIP is as easy as installing a plugin.<\/p>\n<p>There are several other technical methods for tech buffs, but, for a regular DIY website owner, using a plugin is the safest and fastest way to achieve the results you need. Hummingbird, for instance, modifies the .htaccess file automatically without you having to edit it manually.<\/p>\n<p>I hope this guide helps. You may also want to learn <a href=\"https:\/\/wpvivid.com\/setup-cloudflare-cdn-in-wordpress.html\">how to setup CloudFlare CDN in WordPress<\/a> to speed up your WordPress website. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.<\/p>\n","protected":false},"author":3,"featured_media":8586,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","iawp_total_views":12},"categories":[80],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid<\/title>\n<meta name=\"description\" content=\"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid\" \/>\n<meta property=\"og:description\" content=\"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\" \/>\n<meta property=\"og:site_name\" content=\"WPvivid\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-11T11:02:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-02T05:09:28+00:00\" \/>\n<meta name=\"author\" content=\"TonyRobins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TonyRobins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\",\"url\":\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\",\"name\":\"How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid\",\"isPartOf\":{\"@id\":\"https:\/\/wpvivid.com\/#website\"},\"datePublished\":\"2019-09-11T11:02:51+00:00\",\"dateModified\":\"2020-02-02T05:09:28+00:00\",\"author\":{\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\"},\"description\":\"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpvivid.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable GZIP Compression in WordPress to Improve Website Loading Time\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpvivid.com\/#website\",\"url\":\"https:\/\/wpvivid.com\/\",\"name\":\"WPvivid\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpvivid.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\",\"name\":\"TonyRobins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"contentUrl\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"caption\":\"TonyRobins\"},\"url\":\"https:\/\/wpvivid.com\/author\/tonyrobins\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid","description":"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html","og_locale":"en_US","og_type":"article","og_title":"How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid","og_description":"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.","og_url":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html","og_site_name":"WPvivid","article_published_time":"2019-09-11T11:02:51+00:00","article_modified_time":"2020-02-02T05:09:28+00:00","author":"TonyRobins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TonyRobins","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html","url":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html","name":"How to Enable GZIP Compression in WordPress to Improve Website Loading Time - WPvivid","isPartOf":{"@id":"https:\/\/wpvivid.com\/#website"},"datePublished":"2019-09-11T11:02:51+00:00","dateModified":"2020-02-02T05:09:28+00:00","author":{"@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0"},"description":"Compressing website files can help improve the speed of your website. In this guide, we will see how to enable GZIP compression in WordPress, for free.","breadcrumb":{"@id":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpvivid.com\/enable-gzip-compression-in-wordpress.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpvivid.com\/"},{"@type":"ListItem","position":2,"name":"How to Enable GZIP Compression in WordPress to Improve Website Loading Time"}]},{"@type":"WebSite","@id":"https:\/\/wpvivid.com\/#website","url":"https:\/\/wpvivid.com\/","name":"WPvivid","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpvivid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0","name":"TonyRobins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/image\/","url":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","contentUrl":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","caption":"TonyRobins"},"url":"https:\/\/wpvivid.com\/author\/tonyrobins"}]}},"_links":{"self":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/8580"}],"collection":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/comments?post=8580"}],"version-history":[{"count":0,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/8580\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/media?parent=8580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/categories?post=8580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/tags?post=8580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}