Support » Plugin: BulletProof Security » Enabling GZIP Compression

  • Resolved pbm160

    (@pbm160)


    Hi
    I am a bit lost with all the different .htaccess files that BPS shows in wp dashboard.
    I have quick cache plugin and to enable GZIP Compression I have to add the following lines to the .htacess but I don’t know which .htaccess (root, wp-admin?):
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
    AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
    AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
    AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
    AddOutputFilterByType DEFLATE font/truetype font/opentype
    </IfModule>

    So my question is: where do I put these lines?
    Is this a custom code? Or do I only need to go to Edit/upload/Download” and add the lines to one the .htaccess file? And which one?
    Thanks

    http://wordpress.org/extend/plugins/bulletproof-security/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AITpro

    (@aitpro)

    php/php.ini handler code and caching code goes in this Custom Code text area/text box:
    CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE: Add php.ini handler and/or plugin cache code here

    1. Copy and paste your custom caching code into the CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE text area/text box.
    2. Click the Save Root Custom Code button.
    3. Go to the Security Modes page, click the Create secure.htaccess File AutoMagic button.
    4. Activate Root Folder BulletProof Mode again.

    Thread Starter pbm160

    (@pbm160)

    Thanks for your help. I followed the direction and everything makes more sense now.
    All done & all OK!
    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Enabling GZIP Compression’ is closed to new replies.