WordPress.org

Ready to get started?Download WordPress

Forums

Copying theme from Localhost to Live does not copy all theme settings with it? (5 posts)

  1. sixfootjames
    Member
    Posted 11 months ago #

    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

  2. graphical_force
    Member
    Posted 11 months ago #

    Here is some instruction on migrating http://codex.wordpress.org/Moving_WordPress

  3. Paul Barthmaier
    Contributor Day Volunteer
    Posted 11 months ago #

    When you move the database over, do you change the URLs in the database too?

  4. sixfootjames
    Member
    Posted 11 months ago #

    I also managed to find some great articles on doing Search And Replace which is what I have done in the past to my SQL dump file.

    Turns out there is a problem with serialized strings when you do a regular search and replace in something like Notepad or Sublime.

    I am going to try these methods next and report back.

    http://wp.smashingmagazine.com/2013/04/08/moving-wordpress-website/
    http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thanks for responding everyone. I've done these moves hundreds of times in the past and it is only recently that I have started experiencing the problems.

  5. sixfootjames
    Member
    Posted 11 months ago #

    That script works BRILLIANTLY!
    So, if you ever do find that you're losing settings when you move a DB from Localhost to Live environment, then run that script from interconnectit...

    Follow the Smashing Magazine instructions and you should be good. ;)

Reply

You must log in to post.

About this Topic