Support » Plugin: ZM Ajax Login & Register » font from origin has been blocked by Cross-Origin Resource Sharing

  • Resolved rhxk


    I’m having this issue with Firefox and Chrome (but not with Safari) when I’m trying to “login”. The developer’s tool says:

    Font from origin ‘http://mydomain’ 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://mydomain’ is therefore not allowed access.

    Google search suggests there’s a css that’s trying to load a font from somewhere outside my domain and security on firefox/chrome stops it. – consequently, stops me from logging in (or registering).

    How can this be resolved?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zane Matthew


    This is an issue with your current theme, and/or host. There are no custom fonts loaded by the plugin.

    try this,

    add it in your root .htaccess

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.