• Resolved liegeandlief

    (@liegeandlief)


    I have just experienced a strange issue when migrating a WordPress site (which uses OptionTree) to a new address.

    After moving the site files I went through all of my database content to change the old address to the new address. I found the old address in some of my OptionTree settings (in the wp_options table with the key option_tree) and I changed it to the new address.

    This caused a strange thing to happen in that instead of the site address being changed to the new address all of the data for the serialized options was wiped. The names of all of my options remained but their content was gone.

    This is my first migration of a site which uses OptionTree and it was quite difficult! Is there a recommended method to follow when moving a site to a new address which takes into account the fact that the OptionTree data might contain the old address?

    Thanks,
    Michael.

    https://wordpress.org/plugins/option-tree/

Viewing 1 replies (of 1 total)
  • Plugin Author Derek Herman

    (@valendesigns)

    You cannot directly change values in a serialized array. It’s breaks things. The best way is to export the options and manually upload and change the images after you migrate. Currently there is no easy way to migrate the images.

Viewing 1 replies (of 1 total)
  • The topic ‘Migrating a site which uses OptionTree’ is closed to new replies.