Archived topic
Moving a site from staging to production - issue with background images created
2 replies · Started by Dan on September 30, 2021
Hi
When moving a site from a staging environment to production, search and replace changes url's in the DB.
But, GB creates a stylesheet for the block with absolute paths to background images.
for example: https://ketofitnesscoaching.biztools.ca/wp-content/uploads/generateblocks/style-28.css?ver=1633017533
What is the best method to generate the correct path when moving a site between environments?
Thanks
Dan
I think I found the answer here:
https://generatepress.com/forums/topic/generateblocks-container-background-image-sets-absolute-urls/#post-1500186
Hi Dan,
Let us know if that solution works :)