Installing W3 Total Cache with BulletProof Security Pro

Home Forums BulletProof Security Pro Installing W3 Total Cache with BulletProof Security Pro

This topic contains 3 replies, has 2 voices, and was last updated by Avatar of John John 5 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #412
    Avatar of AITpro Admin
    AITpro Admin
    Keymaster

    Email Question:

    I am thinking of installing a cache plug-in like W3 Total Cache. But I already have BulletProof Security Pro installed and activated.

    Is it as easy as deactivating and installing W3? Then reactivating BPS?

    W3 Total has so many options and I know it modifies the .htaccess files as well. I just want to make sure I do it right.

    If you have any instructions or tips that would be great. Or if you think I should use a different plug-in because of better compatibility let me know.

    Thanks.
    Mike

    Answer:

    Yes, W3 Total Cache writes .htaccess code to your root .htaccess file and also writes a line of code to your wp-config.php file.  Since these files are locked with F-Lock you will need to unlock them first to allow W3 Total Cache to write its code to these files.  Follow these procedural steps below to install W3 Total Cache on a website with BulletProof Security Pro already installed.

    1. Go to F-Lock and unlock both your Root .htaccess file and your wp-config.php file.
    2. Turn off AutoRestore.
    3. Install W3 Total Cache.
    4. Click the 4 Backup Files buttons on the AutoRestore page.
    5. Turn AutoRestore back on.
    6. Go to F-Lock and lock both your Root .htaccess file and your wp-config.php file. 

    • This topic was modified 5 months, 2 weeks ago by Avatar of AITpro Admin AITpro Admin.
    #592
    Avatar of John
    John
    Member

    Firstly, may I just say what an incredibly thorough and impressive piece of work this Pro plugin is… mind blowing!
    Having just purchased the plugin yesterday I have installed it without any glitches at all. I have just followed your W3 TC instructions in this post and all worked perfectly. My question is that I wasn’t sure whether I needed to re-lock the Root .htaccess file and the wp-config.php file after the above process was completed, as it doesn’t instruct to do so? Maybe they need to remain un-locked for the W3 TC to work but I thought I ought to check.
    Many thanks for this really impressive piece of work.
    John

    #593
    Avatar of AITpro Admin
    AITpro Admin
    Keymaster

    oops I left that step out.  Thank you for letting me know about this.  I will add it right now.  

    These steps are only necessary for this exact scenario where you are installing W3TC for the first time on a website with BPS Pro already installed.  If you make any future caching setting changes in W3TC then W3TC will need to be able to write to your root .htaccess again and you can just use the unlock button on the BPS Edit/Upload/Download page to unlock your root .htaccess file.  Your root .htaccess file will be sent to Quarantine since the root .htaccess file is being modified outside of the BPS .htaccess editor so you will then just need to use the Restore File option in Quarantine to restore your root .htaccess when it is quarantined.  In normal daily website operation if you are not making any changes to W3TC then you will not have to do any additional steps or leave any files unlocked.

    • This reply was modified 5 months, 2 weeks ago by Avatar of AITpro Admin AITpro Admin.
    • This reply was modified 5 months, 2 weeks ago by Avatar of AITpro Admin AITpro Admin.
    #597
    Avatar of John
    John
    Member

    Perfect! Many thanks for your fast response.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.