How to change Acorn's default path?


I need to move Acorn’s default path from /wp-content/cache/acorn to /wp-content/uploads/cache/acorn, since on the hosting we use (Pantheon), only the “uploads” file is writable by php files.

How can I do this? I’ve found this doc:

But I’m not clear on how to use the filters method. I tried defining the ACORN_BASEPATH constant, but it causes no effect, Acorn keeps trying to create its folders under wp-content.

I was able to fix this problem by creating a symlink, from /wp-content/cache/ to /wp-content/uploads/cache/.

1 Like