WordPress.org

Ready to get started?Download WordPress

Forums

Custom Sidebars
[resolved] Migrating to a new server (3 posts)

  1. waaalrus
    Member
    Posted 11 months ago #

    I migrated a site from one server to another with a different hostname using this process:

    1. copy files and adjust wp-config.php.
    2. backup database
    3. update the hostname in the database file
    4. restore the database on the new server

    I found that the Custom Sidebars plugin on the new server only had the original set of custom sidebars, not the ones that were created in the original site. I fixed this by recreating the custom sidebars and reassigning them to pages (as well as recreating the settings we had on the "Default Sidebars" tab). I checked and the values in the database seemed to be the same (sidebars_widgets and cs_sidebars in wp_options).

    Is there something I need to do to get the Custom Sidebars settings to migrate to a new site? My production site is fine now but I use this process to update my test server.

    Thanks!

    http://wordpress.org/plugins/custom-sidebars/

  2. Hi there @waaalrus

    I hope your well today and thanks for your question!

    This is most likely as if it's a serialized array or string in the database, the search and replace of a text editor won't work for that.

    Try using this script here https://github.com/interconnectit/Search-Replace-DB

    That should work :)

    Thanks!

    Kind Regards
    Jack.

  3. waaalrus
    Member
    Posted 10 months ago #

    Thanks! This was the perfect solution.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.