Copying theme from Localhost to Live does not copy all theme settings with it?

This has happened on a number of occasions now where I move my site from Localhost to Live environment and the theme settings such as the logo, and other settings are not copied with it, so I am almost have to rebuild the site twice sometimes.

Responsive is one example where this is happening as well as numerous other themes I move from Localhost to Live environment.

Is there something I am missing when move the DB over? Perhaps another settings file?

Many thanks

3 Answers
3

Since I found this script, I have used it for every single move I make from Localhost to Live or vice versa.

It’s incredibly simple to use and has worked every time.

https://github.com/interconnectit/Search-Replace-DB (Review: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ )

From their site:

You must use a safe search and replace method that preserves the integrity of the serialized string lengths. A simple find and replace of a dump file for http://localhost to, for example, http://examplesite.com is problematic because the length of the string changes but the indexes for the serialized strings does not. Consequently settings are lost and widgets disappear.

Leave a Comment