CORS request problem


I'm getting cross origin errors - seee below - on two wordpress sites, blocking the loading of fontawesome fonts. The site root URL is http://daisy/wp1 but the error refers to http://daisy:8888/wp1. The site is a local MAMP test site and was originally on port 8888 but was changed recently. Interestingly, I'm getting similar errors on the live version of the site, which you can see if it helps, at https://www.aldis.co.uk where the error refers to https://aldis.co.uk. I can see and understand the problem but I'm struggling to track down the cause. Any help appreciated.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://daisy:8888/wp1/wp-content/themes/tm-beans/lib/api/uikit/src/fonts/fontawesome-webfont.woff2. (Reason: CORS request did not succeed)

Found it. Appearance->settings, Flush Asset Cache. Also needed to flush the browser cache.

Write a reply

Login or register to write a reply, it's free!