Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] Customizer data is lost when website url changes

Home Forums Support Customizer data is lost when website url changes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #499202
    Re

    Whenever I deploy my site from staging to live, or live to staging, key parts of my site are wiped out, like which menu is the primary menu, my site logo and site icon are gone, and the copyright text in the footer reverts to saying GeneratePress.

    Literally the only thing I’m changing during this process is an IP address in the database… everything else is the same, yet the data is lost when the URL changes. How do I prevent this from happening?

    GeneratePress 2.0.2
    #499288
    Tom
    Lead Developer
    Lead Developer

    Those specific options use something in WP called “theme_mods”. If the theme changes at all (theme name, switch to child theme), they will revert to their default.

    Is anything about the theme info changing when you do this switch?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.