Font doesn't work on redirection

Home Forums Use Any Fonts Font doesn't work on redirection

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5613
    Vinicius
    Guest

    Hello

    I have enabled the plugin Use Any Font on my WordPress for my client, website http://gofastway.tv

    Status: Active – Server Connectivity Test
    Test Successfull

    When access the site http://gofastway.tv/ Montserrat font (Light, Black, Rugular, Hairline and Bold) works well.

    But if I access http://zerok.pt/ that redirects to the gofastway.tv site – Every font is lost.

    Any recommendations?

    #5642
    Dinesh
    Keymaster

    Hi,

    Any chance you can enable relative path option from additional settings and try ?

    Thanks

    #5644
    Vinicius
    Guest

    Hi there!

    The option was marked and had no changes.

    Look – http://prntscr.com/atvuyi

    #5649
    Dinesh
    Keymaster

    Hi,

    There is cross domain issue as well. So can you please keep this code in your htaccess file ?

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

    This should allow the font loading in another domain.

    Thanks

    #5652
    Vinicius
    Guest

    Hello!

    I had tried before, I changed these lines of your code, but still did not work.

    My .htaccess

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    <FilesMatch "\.(ttf|otf|eot|woff)$">
    	<IfModule mod_headers.c>
    		Header set Access-Control-Allow-Origin "*"
    	</IfModule>
    </FilesMatch>
    
    # END WordPress
    
    #5656
    Dinesh
    Keymaster

    Hi,

    I just checked your both site and the font are working fine in both. Can you please confirm ?

    Thanks

    #5699
    Vinicius
    Guest

    Hi!

    I checked again. It all seems ok .

    Thank you very much!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Font doesn't work on redirection’ is closed to new replies.