Domain Mapping & CORS errors
-
Hello
I’m currently testing my multisite locally and stumbled across the following problem;
I have a main site on which the multisite is enabled (multisite.dev) and one sub-site; test.multisite.dev
I added the domain mapping to point to test.dev
No problems so far. Except that stylesheets/fonts (more specifically Font Awesome) aren’t loaded (Font from origin ‘http://test.multisite.dev’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://test.dev’ is therefore not allowed access.)I’ve tried the .htaccess Header set Access-Control-Allow-Origin “*” but to no avail. I know it’s the problem with the redirect because when I disable ‘primary’, and thus get redirected to test.multisite.dev, it works.
Kind regards
The topic ‘Domain Mapping & CORS errors’ is closed to new replies.