Good news: all works as expected… almost.
The issue is the custom font family (tech details pls. see secure note).
Two domains: domainA.com and domainA.eu
domainA.com is the main domain, domainA.eu is poitned to a specific page by the means of the multiple domain plugin by gustavo straube.
the first page of the domainA.eu does not load the custom font. The console of the browser (mozilla) gives this error message:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://…domain…de/assets/RotisSansSerifStd.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
If I enter the same page over the main domain - all’s roger.
What did I try yet:
- I added the “font-face” rule to the specific page CSS
- I added the rule over the global CSS
- I added the rule over the style.css.
- I used a custom folder for the fonts and loaded from there: site-url/assets/…
- I uploaded the fonts to the media library and loaded the fonts via editor
- I also linked the fonts with the address from the media library (…/uploads/XYXYX/font…)
Nothing worked. Adding the standard browser fonts e.g. Arial works.
I’d appreciate a hint or a solution very much. Thx a heap!