Static cookieless domain path broken when using Autoptimize
-
hello,
This is basically 100% this issue https://www.ads-software.com/support/topic/static-file-domain-does-not-work-with-relative-path-css-fonts/
I have configured my site to use a cookieless domain to serve static files.
define("WP_PLUGIN_URL", "https://static.protestkit.eu/plugins"); define("WP_CONTENT_URL", "https://static.protestkit.eu"); define("COOKIE_DOMAIN", "www.protestkit.eu");
The domain static.protestkit.eu/ points to absolute path
/domains/www.protestkit.eu/wp-content/
It works on 99% of files, except those optimized by Autoptimize (no errors when I disable the plugin).
With Autoptimize error 404:
https://static.protestkit.eu/wp-content/plugins/wp-optin-wheel/public/img/wheel-yellow.png
Without Autoptimize:
https://static.protestkit.eu/plugins/wp-optin-wheel/public/img/wheel-yellow.png
Compare pictures here: https://imgur.com/a/bM2k47x
I really want to keep using Autoptimize, but i don’t want to sacrifice one performence tweak for another. Is there an easy fix?
thank you in advance!
The page I need help with: [log in to see the link]
- The topic ‘Static cookieless domain path broken when using Autoptimize’ is closed to new replies.