404's when changing min/cache paths
-
I’m using the plugin to only minify js, however i’m having a hell of a time getting it working after changing the cache and min paths (i’m working with a multisite install and want to keep caches within theme folders).
I keep getting 404’s on the scripts, and no caches are being created.:
https://wordpress.test.local/wp-content/themes/powerful/static/min/
/ebs1/www/wp-content/themes/powerful/static/cache/Both are correct, and i’ve even defined them again using filter hooks:
function hs_minify_cache_dir(){ return get_template_directory() . '/static/cache/'; } add_filter('bwp_minify_cache_dir', 'hs_minify_cache_dir', 1); function hs_minify_min_dir(){ return get_template_directory_uri() . '/static/min/'; } add_filter('bwp_minify_min_dir', 'hs_minify_min_dir', 1);
Things work fine using the default min/cache paths.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘404's when changing min/cache paths’ is closed to new replies.