Change from Default Directory on Existing Installation
-
Hi all,
Im experiencing issues with the WP Super Cache writing a .htaccess file to the wp-content/cache file
This is over riding the expires headers in wp-content/cache/autoptimize
To change directory for AO I can follow this advice: –
Yes, if you want to serve files from e.g. /wp-content/resources/aggregated_12345.css instead of the default /wp-content/cache/autoptimize/autoptimize_12345.css, then add this to wp-config.php:
define(‘AUTOPTIMIZE_CACHE_CHILD_DIR’,’/resources/’);
define(‘AUTOPTIMIZE_CACHEFILE_PREFIX’,’aggregated_’);I have a question: –
1) Once I edit wp-config.php and save the file is the /resources directory created and all the existing files/folders moved with it?
Best wishes
Rick.
- The topic ‘Change from Default Directory on Existing Installation’ is closed to new replies.