Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 27th Nov 2014, 07:31 AM   #1
Senior Warrior Member
War Room Member
 
Join Date: 2009
Posts: 1,057
Thanks: 124
Thanked 198 Times in 147 Posts
Default
Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

I copied a wordpress site to another domain on the same shared hosting. Eventually will delete the old one but I had to copy the site in pieces due to a slow server and the script for replacing things in the database didn't clear all the old references out. I manually fixed all the issues I saw. Here is the problem. When I make a change on either site it also changes the other site. Any thoughts in where to start looking to correct that? I don't want to delete the old one until I'm absolutely sure no resources are being called from it.

rhinocl is offline  
Unread 27th Nov 2014, 08:37 AM   #2
Pulp Entrepreneur
War Room Member
 
Jack Gordon's Avatar
 
Join Date: 2007
Location: Jack Rabbit Slims
Posts: 1,199
Thanks: 1,216
Thanked 1,518 Times in 753 Posts
Default
Re: Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

Sounds like there is still just one database between the two sites.

Did you install WP on the new domain, or just copy it over?

Jack Gordon is offline  
Unread 27th Nov 2014, 12:17 PM   #3
Never fear the unknown
War Room Member
 
Vin Venture's Avatar
 
Join Date: 2009
Location: Vancouver, BC
Posts: 225
Thanks: 39
Thanked 33 Times in 30 Posts
Default
Re: Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

As Jack said, it sounds like some both instances of the site are sharing the same database. Or you haven't set things up correctly and when you login to your new instance of your site, you are actually being redirected and logged into your old one ( had this happen to me in the past ).

I would recommend looking into a plugin called something like "Find and replace" - it basically lets you search through the entire code of your site, find something like a domain reference database info, and replace it all.
Vin Venture is offline  
Unread 27th Nov 2014, 03:02 PM   #4
Banned
War Room Member
 
Join Date: 2013
Location: In a van, down by the river.
Posts: 2,069
Thanks: 1,852
Thanked 5,147 Times in 2,909 Posts
Default
Re: Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

Use WPClone. Free from WordPress.org and foolproof. Two clicks of the mouse and your site is cloned to your new server, all URL's are cleaned-up and you are back up-and-running in less that 5 minutes.

I clone of all my sites after any major changes and in case of any emergency I can be back up in minutes flat, exactly how things were before the incident.

I have never slept so well. :-)

Cheers. - Frank
BigFrank is offline  
Unread 28th Nov 2014, 10:32 AM   #5
Warrior Member
War Room Member
 
Join Date: 2012
Posts: 15
Thanks: 5
Thanked 3 Times in 2 Posts
Default
Re: Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

I am using UpdraftPlus premium and it works awesome.

If you can't figure out, just send me a PM and I would help you with it.

Thanks
WPGuru is offline  
Unread 28th Nov 2014, 03:04 PM   #6
Banned
War Room Member
 
Join Date: 2007
Location: Virginia, USA.
Posts: 16,863
Thanks: 5,852
Thanked 13,083 Times in 6,963 Posts
Blog Entries: 1
Default
Re: Issue with site copied to new domain
Share on: 
fb share twitter share gplus share more share

In your wp-config.php file you will probably notice that you are using the same database for both sites, so when you change one, you will change both.

I use Duplicator to copy a site over ... it's free and it changes the url for you and creates the database for the new site. All done for you.
sbucciarel is offline  
Closed Thread


Bookmarks

Tags
copied, domain, issue, site


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:15 AM.