I'm using Wordpress 4.6.1 with the theme Goodlife.
Whenever I change the domain, my theme loses all settings (theme options).
Analyzing database, I realized that he loses the values changed in "option_tree" option.
To change domain, I use these queries:
UPDATE wp_posts SET guid = REPLACE(guid,'old_url','new_url');
UPDATE wp_posts SET post_content = REPLACE(post_content,'old_url','new_url');
UPDATE wp_options SET option_value = REPLACE(option_value,'old_url','new_url');
I made a simple test to confirm, and copied the value of this option and enter directly into the database. Just that I load the wordpress that the value is lost again.
Now I have the "option_tree" value in a txt file, but the wrong value in the database, how can I use the real value in my website without it being overwritten?