cloned localhost still points to localhost | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
cloned localhost still points to localhost
June 12, 2012
1:30 am
Avatar
Bobby
Member
Members
Forum Posts: 3
Member Since:
June 11, 2012
sp_UserOfflineSmall Offline

Hi, just finished a wordpress site offline and cloned it to a vanilla, base wordpress site online. But the entire site still points to the localhost. Can't even log into admin, since the admin page points to the localhost too. 

My process is:

1. Create site offline and create backup.

2. Create online DB with DB user access

3. Create online Wordpress install linked to the online DB in step 3.

4. Install xcloner

5. FTP the backup from step 1. into the online directory.

6. Clone the website, entering the new online DB details.

7. Wonder where it all went wrong.

 

I'm sure I've used xlconer successfully before, was there a trick to it or some step missing? By the way, I am installing websites into a subdomain. I hope that is not an issue with xcloner.

June 12, 2012
6:05 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Steps 3 and 4 can ve skipped as they are not necessary, so try and clear your restore location and try again. Could you send us some screenshots from your restore process? Did you get any success confirmation message?

 

Ovidiu

June 13, 2012
4:34 am
Avatar
Bobby
Member
Members
Forum Posts: 3
Member Since:
June 11, 2012
sp_UserOfflineSmall Offline

Yes, I received a success confirmation message. In the eyes of the system, everything was cloned well.

However:

 

When I try to log into the online wp-admin, I find that the login page has been redirected to the localhost.

http://localhost/anh.....8;reauth=1

Whereas, it should just be:

http://bkodesigns.co.....b/wp-admin

 

Also:

All the links in the online website, point to the localhost addresses.

June 13, 2012
10:28 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Try and follow the steps indicated here for changing your site url http://codex.wordpre.....e_URL and see if it helps, additionally, you might want to clear your wp-config.php file of any localhost url references...

June 13, 2012
10:00 pm
Avatar
Bobby
Member
Members
Forum Posts: 3
Member Since:
June 11, 2012
sp_UserOfflineSmall Offline

Thanks Ovidiu,

 

Your advice was right on. The culprit was the wp-config file. When I looked at it, some plugin had altered it adding alot of references coded to the original localhost site.

Cleaned it up and XCloner works like magic once more.

 

Case Closed.

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10052
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
piotr K
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0