Issue display icon backend and frontend

donato 12 Dec, 2019
Hi,
in this website the defaul icons don't diplay into backend and frontend
Issue display icon backend and frontend image 1

And for example https://www.infinitymotion.com/calcolo-prestazione

Issue display icon backend and frontend image 2

Below the error message:

Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/outline-icons.woff2' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
outline-icons.woff2:1 Failed to load resource: net::ERR_FAILED
index.php:1 Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/icons.woff2' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
icons.woff2:1 Failed to load resource: net::ERR_FAILED
index.php:1 Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/outline-icons.woff' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
outline-icons.woff:1 Failed to load resource: net::ERR_FAILED
index.php:1 Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/icons.woff' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
icons.woff:1 Failed to load resource: net::ERR_FAILED
index.php:1 Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/outline-icons.ttf' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
outline-icons.ttf:1 Failed to load resource: net::ERR_FAILED
index.php:1 Access to font at 'https://infinitymotion.com/libraries/cegcore2/assets/semantic-ui/themes/default/assets/fonts/icons.ttf' from origin 'https://www.infinitymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
icons.ttf:1 Failed to load resource: net::ERR_FAILED

the issue seems The problem seems to be due from the htaccess setting where we redirect all url to www domain.

Could you to help resolve this issue?
Regards
GreyHead 13 Dec, 2019
Hi donato,

It looks like this is due to your using multiple domains with CORS - please see this Medium article for some suggestions.

Bob
gnasho 09 Sep, 2021
Thanks but I only have one domain and the problem is intermittent.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger