• Resolved michaeljacoby

    (@michaeljacoby)


    Hi there,

    I’m hoping you can help me. I’m trying to migrate my site over to a new domain and everything is working well (using All in One WP Migration plugin). My only problem is that Kirki is still loading my google font choices from the old domain after the move. I’ve tried deactivating/activating Kirki, uninstalling/installing Kirki, deactivating and flushing all caches, and deleting all transients but nothing seems to work. I also reset all my font choices to san-serif and that fixes the problem, however, when I choose my google fonts again, it still defaults back to the old domain. The only thing that works is deactivating Kirki. When I do this, my new site retains my google font choices and loads them from the correct domain. However, if I activate Kirki everything defaults back to my old domain again.

    My site URL is the correct domain and everything else is linking to the new domain except the google fonts. Have you ever seen something like this before? Any help would be much appreciated.

    -Mike

Viewing 15 replies - 31 through 45 (of 45 total)
  • IN database
    from wp_options
    edit or remove the content in _transient_kirki_gfonts_*************

    You may also delete the kirki_font_local_filenames option from the options table in your database.

    Was Facing same issue,
    after I migrated my site to new domain.
    It is using OLD domain root url in FONT Files.

    Measures applied :
    -DELETED the fonts and then done {site-url}/?action=kirki-reset-cache

    IT WORKS. THANKYOU ??

    Yep, works – I was grinding my teeth for hours before I stumbled over this thread. THANKS!

    I actually have a bit different issue. My client is using CDN, so the address is:
    https://secureservercdn.net/104.238.71.109/p7s.013.myftpupload.com/wp-content/fonts

    But Kirki trying to load it from the main domain, which is https://hippiegenes.com/

    So I got this error in console – Access to font at ‘https://secureservercdn.net/104.238.71.109/p7s.013.myftpupload.com/wp-content/fonts/raleway/1Ptrg8zYS_SKggPNwPIsWqZPBtqczVs.woff’ from origin ‘https://hippiegenes.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

    How to solve it?

    Hey,

    any news on this? Is there an ETA for v4?

    This is quite annoying if you regularly have to migrate database contents to staging/development systems.

    Deleting the fonts works.
    Calling the action is not even necessary. Seems like it is not doing anything.
    Although it would be nice if it worked and manually deleting would not be needed.
    Using a wordpress install with the content folder in a custom location.

    Cheers
    Philipp

    Thanks @aristath . To fix this issue just go into wp-content/fonts/ and delete the font (or rename it if your more cautious). After this, visit your site and the font files will be downloaded again.

    Hello! Thanks you so much for this awesome plugin. It’s been such great value to us. Unfortunately we are running into this cached font issue. Deleting fonts under wp-content/fonts works but since we run many multi-sites and we migrate often, this has become time consuming.

    Is there a way to turn the font caching off? or is there an easier way to clear the cache via something like WP CLI / Command line? We are trying to automate as much as possible.

    This appears to only be happening with the last few versions. I have an older site running 3.0.39 without any issues.

    Any help our guidance would be greatly appreciated.

    Any news on this issue? Can someone from the kirki team shed any light on this?

    Just login to your database.
    go to wp_options table and do a search for option_name : kirki_downloaded_font_files
    Delete the value for this entry and you are good to go.

    Thanks @webtechsatsan. That makes it a little more comfortable. ??

    Hi all! I’m still experiencing this issue. Has any one been able to resolve?

    * I’ve tried deleting the wp-content/fonts folder
    * I’ve gone into wp_options and deleted the value for kirki_downloaded_font_files
    * Tried {site-url}/?action=kirki-reset-cache
    * Clearing all caches.. etc.

    Various results but nothing 100% accurate and reliable. Still getting the missing font error after a site migration.

    For now, I’ve had to rollback to version 3.0.40 which works great.

    I’ll keep investigating and post any updates here.

    Hi @fguespe!

    Just wanted to thank you for posting this!!!! Seriously I would have never figured it out and have spent hours of troubleshooting and back and forth with the theme developer themselves who had no clue.

    Fonts are located in wp-content > fonts folder.

    All I did was deleted them and they started loading properly.

    Much appreciated.

    Deleting fonts via FTP and cleaning cache helped me also! Great!

    thanks alot I encountered this problem and solve it with this way delet all fonts in wp-content>fonts

Viewing 15 replies - 31 through 45 (of 45 total)
  • The topic ‘Kirki loading Google fonts from old domain after migration’ is closed to new replies.