WP_CONTENT_DIR/cache/cache-enabler dir not being created
-
I installed Cache Enabler using Composer on my local development environment which is Bedrock WordPress on Laravel Valet on a Mac OSX High Sierra (https://roots.io/bedrock/).
All looks OK (I enable WP_CACHE=true etc), and there are no error messages displayed. However caching is not working according to the test described here:
https://www.keycdn.com/support/wordpress-cache-enabler-plugin/#check-cache-enabler-works
The advanced-cache.php file is copied correctly to my Bedrock content dir which is <PUBLIC_HTML>/web/app in Bedrock.
However, there is no directory in WP_CONTENT_DIR/cache/cache-enabler as defined in this line in cache-enabler.php:
define('CE_CACHE_DIR', WP_CONTENT_DIR. '/cache/cache-enabler');
Bedrock has a non-standard WordPress directory structure, but it sets WP_CONTENT_DIR correctly – here is the Bedrock directory structure:
https://roots.io/bedrock/docs/folder-structure/
There were no directory creation error messages displayed on installation of Cache Enabler.
Could it be a file permissions problem, should I change the location of the cache-enabler directory, or how can I investigate further?
- The topic ‘WP_CONTENT_DIR/cache/cache-enabler dir not being created’ is closed to new replies.