Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #316391

    hello guys. After while using your awesome theme, my site doesn’t recognizes your default icons anymore and shows instead some Chinese hieroglyphs. You can see that on my start page http://www.byggpartner.eu. Even if i go to wp-admin and open icon setting page, all of them are like Chinese hieroglyphs. Please help me to find a reason and reset it back again.Thanks

    #317077

    Hi!

    Try adding this to your .htaccess file:

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

    Regards,
    Josue

    • This reply was modified 10 years, 2 months ago by Josue.
    #317196

    Hi Josue, i think it doesnt helps, nevertheless i made some syntax mistake :

    # 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>
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>
    </FilesMatch>

    # END WordPress

    #317204

    Hi!

    Try putting it at the beginning.

    Regards,
    Josue

    #317208

    Just did. Page wasnt loaded at all:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    #317276

    Hi!

    Please reset the .htaccess file then refer to this link for a possible fix: http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems

    It is better if you contact your host regarding this matter to avoid errors.

    Regards,
    Ismael

    #317353

    Hi, according to your link, it should be something with .htaccess file:

    Fonts not showing in any browser

    This sounds like you need to work on the plumbing. You either did not upload the fonts to the correct directory, or you did not link the fonts properly in the CSS. If you’ve confirmed that all this is correct and you still have a problem, take a look at your .htaccess file and see if requests are getting intercepted.

    Not sure what can my host provider help in this case.

    Anyway thank you guys, anyway i have to try to find a fix somehow.

    #317606

    Hi!

    I think i made a typo in first reply, try with this code instead:

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

    Cheers!
    Josue

    #317697

    HI Guys,

    Fixed this for someone only just this morning – check out dev tools in chrome – look at the console – you will see:

    "Font from origin 'http://www.byggpartner.eu' 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://byggpartner.eu' is therefore not allowed access.

    FIX :-)

    Log in to your wp admin dashboard and got to your ‘settings’

    You will see a mismatch between the “wordpress address” and the “site address” – make sure they are both either “http://www&#8221; or “http://&#8221; – hit save – good as gold!

    Best to go with your preferred domain settings in webmaster tools + go back and clean out the code in your htaccess file.

    Cheers AL

    #317704

    Your help is appreciated @ChunkStudio.

    Cheers,
    Josue

    #318427

    Josue,

    I just tried your code. At the beginning end at the end of existing htaccess file.

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

    Sorry, no effect

    #318428

    Hi ChunkStudio and thank you for your help.

    I just checked wp-admin settings, and there is no mismatch between the “wordpress address” and the “site address”. both of them starts “http://”. but i will try to follow your recomendation: “Best to go with your preferred domain settings in webmaster tools + go back and clean out the code in your htaccess file.”
    will post later if i succeeded

    #318556

    Hi @xeminis,

    Can you please create me a temporary FTP account? post it here as a private reply.

    Regards,
    Josue

    #318799

    Josue, i can give you my WP-admin and server directadmin logins if it would be helpful for you in order to help me :)

    #318808

    Hey!

    We’d need to edit the .htaccess file and we require FTP for that, normally putting the following code does the trick:

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

    Here’s the issue you are having:

    Font from origin ‘http://www.byggpartner.eu&#8217; 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://byggpartner.eu&#8217; is therefore not allowed access.

    Cheers!
    Josue

    #318898
    This reply has been marked as private.
    #318944

    Hi!

    It works but i’m just getting an empty directory (/) with nothing in it.

    Regards,
    Josue

    #318953

    OK – try this,

    Log in to your wp admin dashboard and got to your ‘settings’

    change the “site address” to http://www.byggpartner.eu

    (note the ‘www’ bit :-)

    hit ‘save changes’

    #319021
    This reply has been marked as private.
    #319029

    Hey!

    Check your site now, it’s fixed.

    Best regards,
    Josue

    #319037

    thank you very much!!!

    Not only awesome template – the team too!

    #319039

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Icons doesnt recognized anymore’ is closed to new replies.