How To Manually Clone A WordPress Blog Without A Plugin
Let us say you might be relocating web host or you are location up an specific copy of your WordPress blog for someone else and you want to clone or copy your WordPress site to a new area. How do you do it if you don’t have a plugin?
The answer is use phpMyAdmin to dump your databases, obtain all the files, upload them again to the new web site, setup WordPress, setup a database, import the database, and modify your configuration file. This is what you want to do when you are cloning or copying a WordPress website. Manually again it up and manually restore it.
What does a WordPress website really consist of? It is composed of documents and a database. What you do is go into your cPanel’s phpMyAdmin region. If you go into your internet site.com/cpanel, you will be able to find a website link to phpMyAdmin. Once you happen to be there, discover the database exactly where WordPress is stored and there should be a tab that states “Export.” What you can do is click on on “Export” and then this will help save a .sql file made up of your site’s database.
An effortless way to even get to phpMyAdmin is to install a plugin in WordPress named phpMyAdmin. It can operate as plugin and you can nevertheless get to that whole database just in situation your webhost does not have a cPanel area.
You down load that .sql file but that includes just the database and which is it. You want the files as nicely, so hook up to your internet site using FTP and down load all the documents in that blogs folder. Indeed, the config file, the WP-material folder, WP-contains – all people data files and folders, you should obtain them correct now using FTP. It may take a even though but wait around for it all to finish.
Now you have manually backed up your WordPress website and it is time to go somewhere new and restore it. FTP up to your new web site and what you must do first is setup a new WordPress set up listed here. What we have to do is go into the cPanel of your new world wide web host, setup a WordPress database person, and grant that consumer permissions to that database.
In cPanel, there is a website link for a mySQL set up wizard that will guidebook you via this approach. It will inquire, “What’s the new databases name?” Just call it site. “What’s the new username?” Call it site. “What is the new password?” Make a password and compose it down. Now you have a new WordPress database that will store your information.
What you want to do with then is then go again to phpMyAdmin in you cPanel and upload this .sql file. This will restore just the databases but not the data files but. What you will then want to do is FTP up individuals data files that you had downloaded. Now you are setting up your files as nicely as your databases.
https://menaentrepreneur.org/2020/06/having-trouble-with-wordpress-check-out-these-tips/ is to edit what is actually known as the WP-config.php file. What you’ll discover is that in that file, it is pointing to the aged WordPress username, password, and database and you will have to edit this to stage to the new WordPress, the new weblog databases you setup with the website consumer and the password you wrote down.
Last but not least, you will have to make a single solitary setting in your WordPress config file and include the pursuing line of code:
Adding that a single solitary line of code to your WP config file will notify WordPress that we’re shifting it to a new location.
Now all you have to do is log into your WordPress site employing the same username and password that you at first experienced in your previous internet site. If all went nicely you have effectively cloned your WordPress internet site without having using any plugins. You use phpMyAdmin to dump the database, you downloaded all the information, you setup a new databases, imported the SQL file, uploaded all the information and produced the a single modify to the config file to stage to the new database and also to relocate to a new spot.