No CSS Aggregation With Custom WP_CONTENT_URL
-
I’ve found that if I define a custom (relative) value for
WP_CONTENT_URL
then the CSS files are not aggregated.For example if I add this to
wp-config.php
:define('WP_CONTENT_URL', '/wp-content');
I get a whole bunch of CSS files which seem to be bypassing Autoptimize:
But if I remove the
WP_CONTENT_URL
definition completely the files are aggregated as expected:The two files not aggregated in this screenshot are marked as exclusions in Autoptimize so the result shown is what I would expect.
Is there any way to get Auotptimize working with relative content URLs?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘No CSS Aggregation With Custom WP_CONTENT_URL’ is closed to new replies.