Massive issues after migration

Hi, I’ve migrated my website to cfte.education but after the migration, the website went totally crazy

First all the fonts got messed up upon migration.

I managed to sort them out, however what happens now which is really weird is sometimes I’m able to load just cfte.education (without www or https, this is mainly accessed from the admin dashboard when I click “Visit Site”) and there the fonts, after being uploaded once again work fine.

However when I load https://cfte.education the fonts are super bad, and even after trying to upload them once again, they still remain generic.

What can be the reason of the website showing two different versions and why the fonts would work sometimes and sometimes no. It’s quite urgent matter, any help will be appreciated. Thanks.

I think I found the issue: https://www.amixa.com/blog/2012/06/06/how-to-use-google-fonts-under-both-ssl-and-non-ssl-without-ssl-insecure-messages/

Can you assist me with identifying how to fix it? Thank you.

Hello @vlntnt,

Thanks for writing in!

I checked the website and I don’t see any issues related with font. I also checked the dev tools and over there also I don’t see any error message for Google fonts. Please see the screencast. Please try clearing the cache and see how it goes.

Thanks.

Yes, I installed a plugin called “HTTP / HTTPS Remover” which is okay solution, however when I now try to edit the header I get this message, and I have to manually switch off the plugin every time so that I can edit it:

So it’s not the optimal solution, it will be nice if I manage to identify how to remove the http thingy just for the fonts and not use the plugin

Hello There,

I tried to check and saw these errors:

The plugin might only changes some URL but not all internal URLs. It’s either turning that off, or contact the plugin author. Our builder uses ember and other javascript libraries which their plugin couldn’t reach and replace while the hook based removal is just based on PHP and probably just replacing the enqueue and content URLs.

The issue with the fonts comes because I was doing it on an unsecure site and the SSL blocks them, do you know how to change it to something like this:

link href=‘http://fonts.googleapis.com/css?family=Dosis:400,700’ rel=‘stylesheet’ type=‘text/css’

and change it to this:

link href=’//fonts.googleapis.com/css?family=Dosis:400,700’ rel=‘stylesheet’ type=‘text/css’

so I don’t need to use the plugin at all?

Hi, I have encountered another issue, when trying to install any of the add-on plugins, in the theme, first I get “Installation successful” but then upon clicking Activate I get Error and this message:

Hello @vlntnt ,

Thanks for updating the thread.

I am seeing Failed to load resource: the server responded with a status of 500 () https://cfte.education/wp-admin/admin-ajax.php message when trying to activate plugin. Please take a look at following resource for some solution related with the error message, you can also have a word with the hosting company.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.