Thank you for your feed-back. I disabled Autoptimize and Cache enabler and the issue in the code is still there. However, it seems it is related with additional /div et /body which are generated by the code generator...
It’s could be because of CORS library which hasn’t been installed on your server.
More details about the CORS you can read on http://enable-cors.org/server.html but we recommend to contact with your server administrator this case because he will be able to help you for sure.
Ok thank you. But this is strange as this is impacting icons needed by the theme... I don't see why we need CORS for icons, considering the potential risk of having external scripts corrupt the website...
I talked to my hosting provider and our website developer.
They do not quite understand why you need a '*' in
Header set Access-Control-Allow-Origin "*"
Would it be possible just to restrict to the resources Betheme needs? I am saying Betheme because the icon issue only happened when updating the theme from 20.9.8.1.
Actually the issue did not come from CORS, but from the BeTheme update itself.
I investigated the theme update problems, when looking at the exchanges between the browser and the website, we see that the font mfn-icons.aot is not found (http 404 error).
The theme I am using is BeTheme child. I don't know why as I thought I was using BeTheme, which is also installed on my website.
Before the update, the font file in question was searched in the parent theme BeTheme, but with the new update, the font is searched in the directory of the child theme itself, and is not found there, either because the update package is not complete or for any other reason.
I can see two solutions: improve the update package of child theme or move my website to parent theme.
Which one is the best? Why using child theme instead of parent theme? How to move the website to parent theme?
Comments
Please open your website in Firefox html mode (CTRL+U) and check html errors you got. Please fix them first and all should be fine.
More details about the CORS you can read on
http://enable-cors.org/server.html but we recommend to contact with your
server administrator this case because he will be able to help you for
sure.
P.S. For .htaccess solution, please visit
http://forum.muffingroup.com/betheme/discussion/4902/icons-are-gone-cors-solved-within-htaccess
thanks
The theme I am using is BeTheme child. I don't know why as I thought I was using BeTheme,
which is also installed on my website.
Before the update, the font file in question was searched in the parent theme BeTheme, but with the new update, the font is searched in the directory of the child theme itself, and is not found there, either because the update package is not complete or for any other reason.
www.iconyl.ch
https://wordpress.org/plugins/duplicator/