Wordpress option_tree overwriting
<p>I'm using Wordpress 4.6.1 with the theme Goodlife.</p>

<p>Whenever I change the domain, my theme loses all settings (theme options).</p>

<p>Analyzing database, I realized that he loses the values changed in "option_tree" option.</p>

<p>To change domain, I use these queries:</p>

<pre><code>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');
</code></pre>

<p>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.</p>

<p>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?</p>