Access-Control-Allow-Origin
-
Hi. Please help I have two domains. ( fersen.ru and fersen.ee) One of them is alias ( fersen.ee . I can’t use fonts from the main fersen.ru. Tried WP-CORS plugin. And try to put the code <IfModule mod_rewrite.c>
Header set Access-Control-Allow-Origin “*”
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !- f
RewriteCond %{REQUEST_FILENAME} !- d
RewriteRule . /index.php [L]
< / IfModule> in htaccess-nothing helps. The error is Access to font at ‘https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff?4.1.0’ from origin ‘https://fersen.ee’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
eicons.woff:1 Failed to load resource: net::ERR_FAILED
(index):1 Access to font at ‘https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0’ from origin ‘https://fersen.ee’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0:1 GET https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0 net::ERR_FAILEDAccess to font at ‘https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff?4.1.0’ from origin ‘https://fersen.ee’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
eicons.woff:1 Failed to load resource: net::ERR_FAILED
(index):1 Access to font at ‘https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0’ from origin ‘https://fersen.ee’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0:1 GET https://fersen.ru/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?4.1.0 net::ERR_FAILEDThe page I need help with: [log in to see the link]
- The topic ‘Access-Control-Allow-Origin’ is closed to new replies.