I registered a new domain for the site, but on the new domain the fonts and icons of the site are not loaded, giving the following error:
(index): 1 Access to Font at ' http://f0216875.xsph.ru/wp-content/themes/landingSky/libs/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 ' from origin The ' http://learninglang.ru ' has been blocked by the CORS policy. Origin ' http://learninglang.ru ' is therefore not allowed access.
In .htaccess inserted the following lines of code, but the result is zero:
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> Should I transfer the site completely to a new domain, or did I hear that you need to specify relative paths to folders with icons and fonts?