WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jdsanford
    Member
    Posted 2 years ago #

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

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. wpsecuritylock
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Plugin Author

    Posted 2 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

About this Topic