W3 Total Cache
How to change cache directory location (5 posts)

  1. jdsanford
    Posted 4 years ago #

    What do I need to change in define.php in order to move the default cache location?


  2. wpsecuritylock
    Posted 4 years ago #

    Great question!! I would like the answer as well.

    How do you change the default cache location for W3 Total Cache?

    I want to move it outside of /wp-content/w3tc/, but unable to find a solution.

  3. jdsanford
    Posted 4 years ago #

    I worked out how to make changes in define.php to make this happen.
    The changes have been submitted to the plugin authors.

    I have made a second set of changes that allow the site config files and site cache to be in two different locations as well.

  4. wpsecuritylock
    Posted 4 years ago #

    Thanks. Hopefully they will read this post and take your recommendations. It would make doing backups a whole lot easier and smaller in size.

  5. Frederick Townes
    Plugin Author

    Posted 4 years ago #

    Sorry, this is not currently possible. It's planned for a future release. You can try a symlink for now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic