Title: strange DB  issue
Last modified: August 19, 2016

---

# strange DB issue

 *  [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/)
 * I was asked to move a WP site to a new server. Like a dummy, I moved over the
   files to the new domain including the config. I had to change the function file
   in the theme to point to the new directory. Here’s whats strange – is the old
   WPsite started reading the new one, even though the hosts are completely different.
   Now that I’m trying to backtrack and remove the files to try a different approach,
   the old site is disappearing. Any ideas? I don’t want to gack the old WP site–
   my client will be quite upset!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [rezag](https://wordpress.org/support/users/rezag/)
 * (@rezag)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807176)
 * Did you change the DB details in the config at any point?
 *  Thread Starter [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807177)
 * Thanks for replying. Only on the new site. I didn’t touch a thing on the old 
   site. I still have the files on my computer and can re-FTP them to the new site,
   but now im worried.
 *  [rezag](https://wordpress.org/support/users/rezag/)
 * (@rezag)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807181)
 * Please describe what you mean by backtrack and disappearing.
    If the old site
   files are the same as previously working ones then your host might have issues
   for example
 *  Thread Starter [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807187)
 * Sorry, I’ll try to put this in detail.
 * My client asked me to moved his WP to a new host. Currently it was a subdomain.
   I moved the files over and was surprised to see it working on the new host after
   I put that code in the theme function files to point to the root directory (update_option(‘
   siteurl’,’[http://etc&#8217](http://etc&#8217););). After I did that though, 
   I noticed that the old site was mimicking what I was doing on the new site. Even
   though the hosts and servers are completely different. That’s when I started 
   undoing what I did on the new site, including removing the files, but the old
   site is still displaying as the new site is, and I don’t want to lose any of 
   the DB pages or admin panel.
 * I guess my question is, on the old site, the files are completely untouched. 
   How do I get that to stop reading the new site? I would like to start the transfer
   from scratch, but removing files on the new site removes them from the old site–
   really weird.
 *  [rezag](https://wordpress.org/support/users/rezag/)
 * (@rezag)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807193)
 * Moving sites doesn’t involve changing theme function files. If you follow the‘
   usual’ route you can move, test new location and then delete old stuff.
 * [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 *  Thread Starter [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807199)
 * I know, I screwed that up and want to start over. However, how do I get the old
   site to stop reading the new one? When I remove files via FTP on the new site,
   the old site displays the changes as well. I *so* do not want to screw up the
   DB.
 *  [rezag](https://wordpress.org/support/users/rezag/)
 * (@rezag)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807202)
 * DB details and nameservers (provided by the domain registrar) are the two possible
   connections between old and new sites. If those two are correctly changed the
   old one should be gone.
 *  Thread Starter [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807207)
 * DB details and nameserver are completely different. The thing is, I never touched
   a single file on the old server. Feck.
 *  [rezag](https://wordpress.org/support/users/rezag/)
 * (@rezag)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807212)
 * Odd one and shouldn’t be happening, can’t see how
 *  Thread Starter [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * (@wparchiecture)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807264)
 * OK, fixed, thanks for the replies. Somehow, the old DB wrote the new url in the
   rows that have it. Even the people at GoDaddy have no explanation how that could
   happen – like I said, I touched nothing on the old site, via FTP or on the admin
   panel. I’m gonna take some deep breaths now 😛
 * thanks again.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘strange DB issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [WPArchiecture](https://wordpress.org/support/users/wparchiecture/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/strange-db-issue/#post-1807264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
