• Hi,

    I am a WordPress developer for last 2 years. I have customized and hosted couple of WordPress site. In this time period I have came across some strange issue. Usally after I have done all customizations like theme settings, widget settings and menus in local environment, I move code to server. Then I took DB dump from local DB and replace all locahost occurence in sql dump(find and replace http://localhost with domain name say http://www.abc.com) and then export the dump to server DB. At this time, the the values in theme settings, widgests etc.. get revert to default one and I lost all the customization I have done in this sections. So I have to manullay again add contents in widgets and theme settings from local environment throught admin interface(lastly I used petrichor wordpress theme). Then I debug this issue and find that ‘theme_option’ field in wp_options table have all the correct values but it is still displaying default values in front-end. I have researched alot in this issue and not able to find a proper solution.

    If anybody faced this issue and have found any solutions, please hekp me.

  • The topic ‘Importing Database cause themes options and widgets to get reset’ is closed to new replies.