Custom settings disappear during database migration?

Mostly a dupe: Why is my database import losing text widget data?

Doing a search and replace on an sql dump breaks URLs in the serialized data of widgets and theme options. See the link above for better ways to change URLs when moving WP sites.

Use Database Search and Replace Script in PHP | interconnect/it to find/replace in the database via correctly serializing data.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)