Problems with domains translated in different languages

Home Forums Use Any Fonts Problems with domains translated in different languages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7208
    Jose Francisco
    Guest

    Hi, I have a website that is translated into several languages and each one points to a different domain.When I try to open Google Map, an error appears and doesn’t allow viewing. It is only displayed in the .com domain but not in .co.uk, .de, .fr.
    How can I fix it?

    Access to Font at ‘https://ibizarentsummer.com/wp-content/uploads/useanyfont/170109033301open-sans.woff’ from origin ‘https://ibizarentsummer.co.uk’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://ibizarentsummer.co.uk’ is therefore not allowed access.

    #7209
    Dinesh
    Keymaster

    Hi Jose,

    Please keep this in your main site htaccess file and this should fix your issue.

    <FilesMatch "\.(ttf|otf|eot|woff|css)$">
      <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
      </IfModule>
    </FilesMatch>

    Thanks

    #7216
    Jose Francisco
    Guest

    Hi Dinesh,
    it does not work

    #7220
    Dinesh
    Keymaster

    Hi Jose,

    Did you placed this in your main site ? As per the error, i think your main site is ibizarentsummer.co.uk.

    Thanks

    #7222
    Jose Francisco
    Guest

    The main site is ibizarentsummer.com the plugin that does the translation is WPML and points to the domains ibizarentsummer.co.uk, ibizarentsummer.fr, ibizarensummer.de.
    The problem appears in these 3 domains in the .com doesn’t appear

    #7228
    Dinesh
    Keymaster

    Hi Jose,

    In that case, can you please send me your main site wp-admin details at dnesscarkey (AATT) gmail (D00T) com ? I will check other things and see if i can find the solution.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Problems with domains translated in different languages’ is closed to new replies.