I am using the WP Staging Pro plugin to work on a pre-production environment before pushing website changes to production.
Also, I am using a custom font in my website for titles and buttons text.
When pushing to production, the website "loses" the custom fonts.
After digging into the issue, we could understand that it comes from the Cesis theme, that saves the custom fonts into a .CSS file with an absolute URL (then beginning with "staging.mywebsite.com").
When pushing to production, the absolute URL is obviously broken and needs to be manually changed each time, which is undesirable.
The .CSS file we're talking about is: /var/www/html/wp-content/uploads/redux/custom-fonts/fonts.css.
I'm having the same issue. I developed the site in one domain, and when I finished it, I moved to the new domain: http://www.millscapitalgroup.com/
I already updated the parachuse code (and deactivated the code in the dev domain), I changed the URL in the WordPress settings and I configured a plugin to change the old URL in the database. So the site is working but without some css.
Maybe a PHP issue? The hosting in this new domain is using PHP 5.6, which is kinda old now
Okay, so I fixed the issue in the front-end, so to all of you who have this issue please don't forget about this.
First to all, don't forget about the parachuse code, you have to deactivate the code in the old nomain and use the same code in the new one.
Changing the URL in the setting tabs in WordPress (or in wp_options in phpMyAdmin) is not enough. Try with a plugin that search and replace in the whole database your absolute URL.
And if you have the issue "stylesheet couldn't be loaded", check the PHP version on the server. That was my problem, the server was configurated with an old version, use any version 7.
And as I said at the beginnig, I only fix the issue on the front-end, but when I try to edit a page, the backend of Backery is a mess.
I am using the WP Staging Pro plugin to work on a pre-production environment before pushing website changes to production.
Also, I am using a custom font in my website for titles and buttons text.
When pushing to production, the website "loses" the custom fonts.
After digging into the issue, we could understand that it comes from the Cesis theme, that saves the custom fonts into a .CSS file with an absolute URL (then beginning with "staging.mywebsite.com").
When pushing to production, the absolute URL is obviously broken and needs to be manually changed each time, which is undesirable.
The .CSS file we're talking about is: /var/www/html/wp-content/uploads/redux/custom-fonts/fonts.css.
Hello Francesco,
I think the problem is that the link is created from the database and if you do the migration you need to change those value.
if the site url is not updated you will have this kind of problem.
Do not hesitate to contact us if you have more questions.
Have a nice day!
Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
I'm having the same issue. I developed the site in one domain, and when I finished it, I moved to the new domain: http://www.millscapitalgroup.com/
I already updated the parachuse code (and deactivated the code in the dev domain), I changed the URL in the WordPress settings and I configured a plugin to change the old URL in the database. So the site is working but without some css.
Maybe a PHP issue? The hosting in this new domain is using PHP 5.6, which is kinda old now
Okay, so I fixed the issue in the front-end, so to all of you who have this issue please don't forget about this.
First to all, don't forget about the parachuse code, you have to deactivate the code in the old nomain and use the same code in the new one.
Changing the URL in the setting tabs in WordPress (or in wp_options in phpMyAdmin) is not enough. Try with a plugin that search and replace in the whole database your absolute URL.
And if you have the issue "stylesheet couldn't be loaded", check the PHP version on the server. That was my problem, the server was configurated with an old version, use any version 7.
And as I said at the beginnig, I only fix the issue on the front-end, but when I try to edit a page, the backend of Backery is a mess.
Any ideas?
Hello Dario, first thanks for the information!
Can you please make a new ticket and give us access to your dashboard so we can check if you have any errors or if we can figure what is going wrong.
Best regards
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
I solved it!
The issue was the Backery plugin, so I just reinstaled the plugin, that's it :)
Thanks!
Strange!
But glad to hear that you have been able to fix the issue
Do not hesitate to contact us if you have more questions.
Have a nice day!
Best Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme