How To Manually Clone A WordPress Weblog With out A Plugin
Let’s say you are moving web host or you are setting up an exact duplicate of your WordPress blog for a person else and you want to clone or duplicate your WordPress weblog to a new place. How do you do it if you never have a plugin?
The answer is use phpMyAdmin to dump your databases, obtain all the documents, upload them back again to the new internet site, setup WordPress, setup a database, import the database, and change your configuration file. Here is what you want to do when you happen to be cloning or copying a WordPress weblog. Manually back it up and manually restore it.
What does a WordPress weblog actually consist of? It consists of data files and a database. What you do is go into your cPanel’s phpMyAdmin spot. If you go into your web site.com/cpanel, you will be ready to discover a website link to phpMyAdmin. After you happen to be there, find the databases exactly where WordPress is stored and there should be a tab that states “Export.” What you can do is simply click on “Export” and then this will conserve a .sql file containing your site’s database.
An straightforward way to even get to phpMyAdmin is to put in a plugin in WordPress known as phpMyAdmin. It can run as plugin and you can even now get to that complete database just in case your webhost does not have a cPanel region.
You download that .sql file but that is made up of just the databases and that’s it. You want the documents as well, so connect to your web site using FTP and download all the files in that weblogs folder. Sure, the config file, the WP-content folder, WP-involves – all people information and folders, you ought to down load them appropriate now employing FTP. It may well just take a while but hold out for it all to finish.
Now you have manually backed up your WordPress website and it’s time to go someplace new and restore it. FTP up to your new website and what you must do initial is setup a new WordPress set up right here. What we have to do is go into the cPanel of your new world wide web host, setup a WordPress databases person, and grant that person permissions to that databases.
In cPanel, there is a link for a mySQL set up wizard that will information you by means of this procedure. It will question, “What’s the new databases name?” Just call it website. “What is actually the new username?” Phone it blog. “What is actually the new password?” Make a password and compose it down. Now you have a new WordPress database that will retailer your data files.
Sketch to WordPress What you want to do with then is then go back to phpMyAdmin in you cPanel and upload this .sql file. This will restore just the databases but not the documents however. What you will then want to do is FTP up people data files that you had downloaded. Now you are environment up your information as nicely as your databases.
The final action is to edit what’s named the WP-config.php file. What you may recognize is that in that file, it is pointing to the previous WordPress username, password, and database and you will have to edit this to point to the new WordPress, the new weblog database you set up with the website person and the password you wrote down.
Ultimately, you will have to make a single solitary location in your WordPress config file and incorporate the following line of code:
Including that one particular one line of code to your WP config file will notify WordPress that we’re moving it to a new area.
Now all you have to do is log into your WordPress website utilizing the exact same username and password that you initially had in your previous site. If all went properly you have efficiently cloned your WordPress internet site with no utilizing any plugins. You use phpMyAdmin to dump the databases, you downloaded all the documents, you set up a new databases, imported the SQL file, uploaded all the documents and made the a single adjust to the config file to level to the new database and also to relocate to a new spot.