Hey guys,
It's my first time trying OpenLiteSpeed and while I'm loving it, I stumbled into a little problem. By default, my Wordpress instance was using "www" in the URL. I removed it from Wordpress settings, and now I'm getting "Access to font at 'https://www.domain.com/dir/ithemes-icons.woff' from origin 'https://domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Weirdly enough, if I changed the URL in the settings, isn't it supposed to update all URLs accordingly? Even when I install new plugins, it's using www as the domain base url.
Hope someone can shed some light. I have read the following:
https://openlitespeed.org/kb/how-to-set-up-custom-headers/
https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
https://openlitespeed.org/mediawiki/index.php/Help:CORS_Setup
But I'm still confused and since it might lead to security issues, I hope someone can guide me on how to solve this.
Thank you.
It's my first time trying OpenLiteSpeed and while I'm loving it, I stumbled into a little problem. By default, my Wordpress instance was using "www" in the URL. I removed it from Wordpress settings, and now I'm getting "Access to font at 'https://www.domain.com/dir/ithemes-icons.woff' from origin 'https://domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Weirdly enough, if I changed the URL in the settings, isn't it supposed to update all URLs accordingly? Even when I install new plugins, it's using www as the domain base url.
Hope someone can shed some light. I have read the following:
https://openlitespeed.org/kb/how-to-set-up-custom-headers/
https://openlitespeed.org/kb/setting-up-cors-on-openlitespeed/
https://openlitespeed.org/mediawiki/index.php/Help:CORS_Setup
But I'm still confused and since it might lead to security issues, I hope someone can guide me on how to solve this.
Thank you.