Title: Using cachify plugin with BPS together
Last modified: March 13, 2017

---

# Using cachify plugin with BPS together

 *  Resolved [gameslopedy](https://wordpress.org/support/users/yiggory/)
 * (@yiggory)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/using-cachify-plugin-with-bps-together/)
 * Hi again
    I would like to use cachify plugin for hdd cache together with BPS .
   The cachify requires some additional code for htaccess: [https://github.com/pluginkollektiv/cachify/wiki/en-Cache-Methods#hard-disk-hdd-cache](https://github.com/pluginkollektiv/cachify/wiki/en-Cache-Methods#hard-disk-hdd-cache)
 *     ```
       # BEGINN CACHIFY
       <IfModule mod_rewrite.c>
           # ENGINE ON
           RewriteEngine On
   
           # GZIP FILE
           <IfModule mod_mime.c>
               RewriteCond %{REQUEST_URI} /$
               RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-content/cache)/.*
               RewriteCond %{REQUEST_METHOD} !=POST
               RewriteCond %{QUERY_STRING} =""
               RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
               RewriteCond %{HTTP:Accept-Encoding} gzip
               RewriteCond %{DOCUMENT_ROOT}/path to/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz -f
               RewriteRule ^(.*) /path to/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz [L]
   
               AddType text/html .gz
               AddEncoding gzip .gz
           </IfModule>
   
           # HTML FILE
           RewriteCond %{REQUEST_URI} /$
           RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-content/cache)/.*
           RewriteCond %{REQUEST_METHOD} !=POST
           RewriteCond %{QUERY_STRING} =""
           RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
           RewriteCond %{DOCUMENT_ROOT}/path to/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html -f
           RewriteRule ^(.*) /path to/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html [L]
       </IfModule>
       # END CACHIFY
       ```
   
 * when I add this code into htaccess using bps/custom code or manual method the
   site goes 500 internal server error. How can I add this code while using BPS?
   
   I also have custom speed boost cache code and some additional codes in my bps.

Viewing 1 replies (of 1 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/using-cachify-plugin-with-bps-together/#post-8909298)
 * Duplicate post – See this forum topic: [https://forum.ait-pro.com/forums/topic/cachify-plugin-with-bps/](https://forum.ait-pro.com/forums/topic/cachify-plugin-with-bps/)
 * @ gameslopedy – Please only post BPS questions either in the WP forum or on the
   BPS plugin forum. Please don’t post the same questions in both places. Thanks.
   😉
    -  This reply was modified 9 years, 2 months ago by [AITpro](https://wordpress.org/support/users/aitpro/).

Viewing 1 replies (of 1 total)

The topic ‘Using cachify plugin with BPS together’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/using-cachify-plugin-with-bps-together/#post-8909298)
 * Status: resolved