WPML with subdomains, LiteSpeed not aggregating resources




Wordpress LScache Plugin: WPML with subdomains, LiteSpeed not aggregating resources

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I have set up WPML to show different languages on different subdomains (www.domain.tld, en.domain.tld). On the root domain everything (css/js aggregation, js deferred, html minification) is ok, but on the en.domain.tld subdomain the aggregation is not working. Could you make a check on this, please? Thank you, Nicola. PS: I have tried to send to you a report. LiteSpeed Report Number Report number: QHZWRUGG Report date: 01/23/2019 11:28:13) ?but I see these errors too: Failed to post via WordPress: hash does not match: ClientCB[ 405 Not Allowed< /title>< /head> 405 Not Allowed< /h1>< /center> nginx< /center> < /body> < /html> ] Server[EQ0OFahNXU9qWYor] Failed to post via WordPress: hash does not match: ClientCB[ 405 Not Allowed< /title>< /head> 405 Not Allowed< /h1>< /center> nginx< /center> < /body> < /html> ] Server[NoLngBGh7wk5uyDC] Expand Hi @shark986, did your website still turned on the js minify and combine option? If not, can you turn it on for use to investigate? Hello @stanleylitespeed, I have just published the site and all options are enabled. Got it, may I know which method do you link different URL to different languages? Just set the DNS to same IP and setup on WPML? On cPanel I have added subdomains that points to the public_html dir. Then, I have configured WPML to use different domains for each language. Ok, were checking on it now, will get you back when soon. Hi @shark986, As our optimization function just minify/combine the internal domains, you can add those URLs by following steps: 1) Go to LiteSpeed Cache > Settings > CDN 2) Turn [ON] Enable CDN, add your original URL to CDN Mapping and turn off Include Images, Include CSS, Include JS if you are not using the CDN function. 3) Put all of your domain to Original URLs 4) Save Changes and Purge all cache, then you can see those minify/combine js/css. Hi, WPML multi domains compatibility issue is fixed in https://github.com/litespeedtech/lscache_wp/commit/3d9aa5738445b1fff996740dba706e80979709a1 Will be in v2.9.4. No more CDN trick needed.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference