Questions tagged [cors]

Denotes questions related to Cross-Origin Resource Sharing (CORS)

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

magento 1 domain name change causes COrS errors and site breaks

I have two magento 1 sites on separate servers - this is doubltless the wrong way to have gone about doing this and i'm still on a (steep) learning curve with changin themes in M1 https://www....
0
votes
2answers
136 views

CORS error - HTML and fonts not working properly with CloudFront CDN

I have been trying to get my magento store working with AWS CloudFront for static and media folders. I have one CloudFront distribution for each of the folders. Media files are working fine as well as ...
0
votes
0answers
71 views

CORS fix in .htaccess not working if website URL is without index.php in magento 1.9

Default my magento store is loading without index.php. Site is secured. for both there are rewrite rules in .htaccess file which are working fine. I have implemented following code in .htaccess ...
0
votes
1answer
348 views

CORS error on Magento 2 with cloudfront

We are running magento 2 on below setup Apache > Varnish > NGinx SSL termination On initial setup we were getting the below error for all assets in pub/static Failed to load xxx: Request header ...
0
votes
1answer
44 views

Pub folder html file: serving from nginx + CDN and CORS

In my pub/static folder I can see that most themes are serving HTML files. However, these are not specifically handled in the Nginx configuration file. When serving the full folder from CDN I get ...
1
vote
0answers
248 views

Magento 2.X: HTML files blocked by CORS if using Cloudfront and no Varnish hit

I have Magento 2.3.2 with nginx backend, SSL only, and proxypass to Varnish. I have configured 2 distributions in my cloudfront CDN to serve media and static files. To handle the CORS issues I have ...
1
vote
1answer
265 views

Magento 2 CORS issue

I have multi store as well as multi domain in my magento site. www.domain.nl www.domain.be the issue occurs in back-end (admin grid) when I want to filter products, orders, or customers. the error ...
0
votes
1answer
447 views

NGINX cross control origin header added but font files still blocked by CORS policy

I have added the following headers to all the locations where my static content is mentioned in the Nginx conf file and it removes the CORS issue for all files except for font files such as woff2 or ...
0
votes
1answer
170 views

Magento 2 cdn issue for modal popup - KeyCdn

We uses KeyCdn to use cdn feature for magento 2. We use push zone for one of our website for testing. KeyCdn working fine except modal popup CORS issue. We are facing below error. Access to ...
0
votes
1answer
34 views

Force all links in admin area to use www

Is there a way to force all links in the Magento admin area to use www? We have a site that's been around for a long time and all the frontend URLs are indexed with 'www' at the start. There were ...
0
votes
1answer
214 views

Font awesome error - “blocked by CORS policy”

While loading my website, at some times icons are not displaying. "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
1
vote
0answers
288 views

Magento 2 NO Access-Control-Allow-Origin redirect on other web site

In my Controller I use $this->_response->setRedirect($url); I got this error. Access to XMLHttpRequest at 'URL' (redirected from 'myWebStoreUrl') from origin 'myServerUrl' has been ...
3
votes
1answer
2k views

Magento 2 Access-Control-Allow-Origin

I tried <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" and tried for js cross orign from htaccess <FilesMatch "\.(js)$"> Header set Access-Control-Allow-Origin "*...
1
vote
0answers
211 views

Ajax call getting CORS errors/conflicts

What i'm trying to do is as follows, we have different external content pages that have one or more of our products and need a simple "add to cart" button. To accomplish this i want to use a ajax ...
2
votes
1answer
3k views

SecurityError: Permission denied to access property “tinymce” on cross-origin object

I'm using Magento 1.9.3.4 AND KeyCDN. I configured the js/media/css files to come from CDN. On the CDN I enabled the CORS. The CDN uses HTTP/2, shared SSL and the Origin Shield setting is set to "...
2
votes
1answer
3k views

Magento 2 CORS & CDN

Using cdn77 which does not have the ability to set cross origin on that end so I need to update the htaccess of the store. I have updated the pub/static/.htaccess to include fonts setting Header ...