<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>define(‘AUTOPTIMIZE_CACHE_CHILD_DIR’,’/css/’);

[ad_1]

Replies: 7

hello

I have put this code in the last line of my functions.php

define('AUTOPTIMIZE_CACHE_CHILD_DIR','/css/');
define('AUTOPTIMIZE_CACHEFILE_PREFIX','css_');

and although it is saving the cache files in /css/ folder and with “css_” name, Autoptimize is still generating the files on the default folder and name and getting these files anyway

View post on imgur.com

how can I solve this problem?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer