Replies: 0
Hi,
I found 2 Topics, regarding this topic, but they did’t help me unfortunately. I have set up a subdomain “static.mydomain.com” that is linkig via CNAME to “mydomain.com” and on my server at my main directory for wordpress and so on.
I am now serving my static content through wp-config this way
define(“WP_CONTENT_URL”, “http://static.mydomain.com/wp-content”);
define(“COOKIE_DOMAIN”, “www.mydomain.com”);
So my static content is linking to my files. My pictures appear from my subdomain and are cookieless (jipeee xD). Both urls with sub www or static are working and serving my files. So far, so good – I thought.
AO is not optimizing my css anymore. I have put my static.mydomain.com in the CDN line. It is not combining my css files. I have put it in like that: //static.mydomain.com.
Where am I wrong? Can you please point me in the right direction? As I was hoping that AO would still comine and optimize my css and js when I am serving them from another cookieless subdomain from my server 🙂 Thanks in advance, and thank you for your awesome plugin.