Hello,
I am trying to setup Cookies Less domain to increase the pingdom score. I have created a subdomain and set the directory to /wp-content folder. And added some code in wp-config.php files. Its working fine but I have noticed a weired problem lots of icons are not working and in browser console, there is around 30 error regarding “No ‘Access-Control-Allow-Origin’ header present on the requested resources. And most of them are fonts.
(index):1 Access to font at 'https://static.adikkt.com/themes/claue/assets/vendors/font-stroke/fonts/Pe-icon-7-stroke.ttf?d7yf1v' from origin 'https://www.adikkt.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
(index):59 GET https://static.adikkt.com/themes/claue/assets/vendors/font-stroke/fonts/Pe-icon-7-stroke.ttf?d7yf1v net::ERR_FAILED
(index):1 Access to font at 'https://static.adikkt.com/themes/claue/assets/vendors/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0' from origin 'https://www.adikkt.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.