Fast Secure Contact Form
Site move, all contact form options are lost (5 posts)

  1. XCTrails
    Posted 3 years ago #


    I just found out that it appears as if all configured options are lost if I move my site from one domain to another. I usually do this when I deploy from a development/staging server to a live server by dumping the entire database, global search&replace on the base url in the DB dump and then re-upload the patched DB to the new server. So far, this always worked. There is one site now which uses FSCF and I just saw that all the configurations I mad on the development server get lost with the above process. What am I missing ?



  2. converting2wp
    Posted 3 years ago #

    Do you know if the configuration data for the plugin is stored in a "serialized" format (several options put into one wp_options entry)?

    If so, and if the base url is part of the options, then what may help is


    that handles the search and replace correctly even in serialized data.

    That script is referenced as a recommendation in the codex entry Moving WordPress.

    Best wishes.

  3. Mike Challis
    Plugin Author

    Posted 3 years ago #

    You should have used the form backup tool on the form edit page to back up all your forms, then on the new site, restore them. After that, just edit each form making sure the redirect URLs are correct.

  4. converting2wp
    Posted 3 years ago #

    ?? I'm sure that would work, but if a plugin needs to have its data backed up separately, moving a site from one domain to another quickly becomes quite cumbersome. Yes, actually changing a domain name may be rare, but moving from development to test to production isn't -- and having to repeat a series of manual steps just seems odd and error prone. Is that really the only way to backup the forms?

    Your discussion http://www.fastsecurecontactform.com/backup-restore-forms talks about the dangers of editing the database because some data is serialized. The script above does, however, claim to handle that.

    But maybe there's something specific to this plugin that means its own backup/restore is preferable. Thanks for the tip.

  5. XCTrails
    Posted 3 years ago #

    Thanks Mike, I suspected something like this, but obviously I was blind and didn't see the backup button.

    And also thanks for pointing out the potential dangers of s&r on the DB dump - I wasn't aware of that ! Seems so far I always got lucky.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fast Secure Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic