- +918320524590
- info@inception-digital.com
- 422, Shivalik Satyamev, Ahmedabad
This is the most usable approach to empower pressure in WordPress utilizing htaccess. Since this is a quickly useful technique subsequent to applying the beneath code into your .htaccess record utilizing filezilla or filemanager in your cPanel account. Be that as it may, we propose you to utilize it with precautionary measures as it is the principle document of WordPress, so in the event that you alter it wrongly, at that point it might makes some issue in your site/blog. So carry out your responsibility cautiously! Alright currently let start…
Significant Note: Please make a reinforcement of your .htaccess record before adding any code to it. For reinforcement this record you can essentially duplicate that document to your neighborhood drive.
iii) Here you cannot see .htaccess file because this file is hidden by default, you can show it by filezilla options, Server >> Force showing hidden files and then click on that option to show .htaccess file
<IfModule mod_deflate.c>
# Insert filters
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
# Drop problematic browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
On the off chance that the above strategy is increasingly perplexing for you, at that point you can utilize along these lines so as to an elective technique. For this you simply need to introduce one of the beneath free modules which are accessible at WordPress.or archive… You simply need to download it and afterward introduce it on your site at that point actuate its settings…
These are Best WordPress Compression module!
You can likewise initiate Gzip Compression utilizing W3 Total Cache, it would be ideal if you see the beneath screen capture.
This is an elective way those referenced previously. for this you need to alter “index.php” document and afterward include the underneath bit of code at the absolute first after “<?php” like we have demonstrated you a screen capture…
NOTE: For better outcomes, you ought to alter your fundamental index.php document, not the index.php of your theme(s). Consequently, remember this necessary document will be overwritten next time you update WordPress, so you have to alter it again after an update.
Last Step for watching that anyway it functions admirably or not?
Presently subsequent to doing any one stage of the over three, you should check it that it has been truly empowered Gzip Compression on WordPress site or not. For appropriately checking it you can visit the underneath sites…
Check and Enable Gzip Compression with the underneath instruments:
Last Words:
This is the nitty gritty article on How to Enable Gzip Compression for your site. On the off chance that you need any assistance for utilizing any above technique, at that point you can ask us openly through remarking. You can likewise give an other least demanding strategy on the off chance that you know… Kindly offer this article with your companions utilizing Social Media Sharing Networks…