This forum is no longer active. Please post your questions to our new community site

Forums WordPress

Duplicating an online site offline

Subscribe to Duplicating an online site offline 4 post(s), 3 voice(s)

 
Avatar alanpmcd 1 post

Apologies if this is answered elsewhere, I’m new to bitnami and indeed to mysql.

I’ve successfully installed WordPress offline but am having difficulty. I want to duplicate my existing online site, offline.

I tried emptying the offline database, and copying all the data from my online database into it. But then the installation constantly seeks to go online instead of working locally.

Is the problem in a WordPress setting or something to do with my database? Any help appreciated.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Wordpress saves the URL in the database. Modifying this value in the database to 127.0.0.1 should fix this error. Take a look at the MySQL command to modify the URL in the following post: http://wiki.bitnami.com/Applications/BitNami_Wordpress_Stack#How_to_change_the_default_URL.3f

 
Avatar manon8 1 post

Hi, I am also trying to duplicate a WordPress site I succesfully installed on a server. I would like a copy of that online blog on my computer so I can use it to test changes to my online blog on my computer. I installed Bitnami-WordPress in Native mode on my Mac, then I synchronized my database on my computer with that of the online blog. But after doing this I can no longer access my Native WordPress. When I paste “http://localhost/wordpress/” into by Safari browser, I get this error message: "Safari can’t open the page “http://localhost/wordpress/” because Safari can’t connect to the server “localhost”."

Any help would be appreciated!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Take look to the Wiki link that I posted. You should modify the hostname in the database and you can find the exact command to do that.

Forums WordPress