Wordpress Update Strategy

Out of context: Reply #11

  • Started
  • Last post
  • 19 Responses
  • nocomply0

    Sounds weird that you would update the wp-config file to point to a different database, and then still be able to pull up the new site with the default content without any issues. Maybe something didn't save right in the update process of the config file. My guess is that you're not pulling from the newly-copied DB based on what you're describing.

    If your posts are in the DB, you shouldn't need to import them via and XML file to have them appear.

    But the issue you're going to run into doing that is with site URLs. Your original DB has the site and all of it's assets (images) at one URL, while your new site is being hosted at another URL. You'll need to update the URLs in the copied DB to match the URL where your dev site is at. I use this tool for this process: https://interconnectit.com/produ…

    Also, that original DB you're copying thinks that you have a bunch of plugins installed and activated that aren't going to be there. That may cause some issues too. You can copy over your plugins to avoid that and then deactivate them later.

    • Thanks!mg33
    • the site has plugins not the database - new site will ignore plugin database entries if plugins are not installed.fadein11
    • Fadein11 is right, but if some of your plugins provide critical functionality to the website, it will be gone. That's what I was referring to.nocomply

View thread