Let’s say you are shifting world wide web host or you are location up an actual copy of your WordPress website for someone else and you want to clone or duplicate your WordPress blog to a new place. How do you do it if you do not have a plugin?
The solution is use phpMyAdmin to dump your database, download all the data files, upload them back again to the new web site, set up WordPress, setup a database, import the databases, and change your configuration file. Here’s 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 site really consist of? It is composed of files and a database. What you do is go into your cPanel’s phpMyAdmin region. If you go into your web site.com/cpanel, you will be in a position to locate a website link to phpMyAdmin. After you’re there, discover the database exactly where WordPress is saved and there should be a tab that suggests “Export.” What you can do is click on on “Export” and then this will preserve a .sql file that contains your site’s databases.
An simple way to even get to phpMyAdmin is to install a plugin in WordPress called phpMyAdmin. It can run as plugin and you can still get to that entire database just in situation your webhost does not have a cPanel area.
You obtain that .sql file but that consists of just the databases and that’s it. You require the documents as nicely, so connect to your internet site employing FTP and down load all the files in that blogs folder. Of course, the config file, the WP-content material folder, WP-contains – all people documents and folders, you ought to down load them right now making use of FTP. It might consider a even though but wait for it all to complete.
Now you have manually backed up your WordPress website and it really is time to go somewhere new and restore it. FTP up to your new website and what you should do first is setup a new WordPress set up below. What we have to do is go into the cPanel of your new internet host, setup a WordPress database user, and grant that person permissions to that database.
In cPanel, there is a hyperlink for a mySQL setup wizard that will guidebook you by means of this method. Best GPL WordPress Site It will request, “What is actually the new database title?” Just contact it weblog. “What is actually the new username?” Phone it blog. “What is the new password?” Make a password and compose it down. Now you have a new WordPress databases that will keep your data files.
What you want to do with then is then go again to phpMyAdmin in you cPanel and add this .sql file. This will restore just the database but not the documents but. What you will then want to do is FTP up people documents that you had downloaded. Now you are setting up your files as well as your database.
The ultimate action is to edit what’s known as the WP-config.php file. What you will recognize is that in that file, it is pointing to the old WordPress username, password, and database and you will have to edit this to level to the new WordPress, the new website database you set up with the site consumer and the password you wrote down.
Ultimately, you will have to make 1 one location in your WordPress config file and include the following line of code:
Including that one solitary line of code to your WP config file will notify WordPress that we are transferring it to a new spot.
Now all you have to do is log into your WordPress web site making use of the very same username and password that you originally had in your old internet site. If all went nicely you have effectively cloned your WordPress web site without making use of any plugins. You use phpMyAdmin to dump the database, you downloaded all the documents, you setup a new databases, imported the SQL file, uploaded all the data files and made the one modify to the config file to point to the new database and also to relocate to a new place.