How Do I Clone a Wordpress site ?

SquirlyNutz

Power Member
Joined
Feb 20, 2009
Messages
721
Reaction score
541
I want to copy my entire wordpress site onto another domain. How do i do this and keep everything in tact?
 
If I understand what your saying its pretty simple. Just back up your site and install it on your new domain. The only things you will need to change is the database details in the wp-config.php file if I'm correct, I'm more of a do'er then a shower as the saying goes :ranger:
 
Last edited:
can a backup plugin for your wordpress site and back eveything up and upload it to you new wordpress ftp
 
This is what I do:

Assume you use cpanel:

1. backup the entire mysql file dump using phpmyadmin.
2. backup the entire directory via file manager by compressing in a .tar.gz file.
3. download those #1 and #2 to your desktop hard drive
4. create your new hosting account
5. upload your compressed .tar.gz and extract exactly to your hosting directory using your file manager
6. create a new database and username and password
7. use phpmyadmin to import your backed up mysql dump file
7. edit your wp-config.php to match your new database and username and password
8. edit your wp-config.php to match your new domain name by adding:

define('WP_HOME','httpnewdomain');
define('WP_SITEURL','httpnewdomain');

to the correct part of the file.

9. Login to your httpnewdomain_com/wp-admin
10. Install the plugin httpwordpress_org/plugins/search-and-replace/
11. Search for all instances of your httpolddomain_com and replace with newdomain_com

If you make a mistake in search and replace, all you need to do is drop the tables in your new database and import your backup again.

I have done this many times.
 
you just have to do a back up to your site, download it and upload it on the new domain.
 
you just have to do a back up to your site, download it and upload it on the new domain.

This seems to be the easiest method although all the links still contain my old domain and not sure how to change this and also i would like to use the searchj and replace plugin but i do not have a wordpress admin login.
 
I also want to know how to do it without admin loggings
 
^ I'm using Duplicator a lot, and it's been great so far.

What's your problem?
 
Waoww...You guys...so complicated...
listen, you have your files in a files called ABC. Just point your your domain to that ABC file.
You can even point hundreds of domain to the same ABC file...You NEVER touch your files...no need for back up, no need to clone or whatever...
 
I am using WP plugin. It works fine for me. Its the easy way to have a backup.
 
Back
Top