How To Manually Clone A WordPress Website With out A Plugin
Let us say you happen to be shifting net host or you are location up an specific copy of your WordPress site for a person else and you want to clone or copy your WordPress weblog to a new spot. How do you do it if you will not have a plugin?
The response is use phpMyAdmin to dump your database, download all the files, upload them again to the new web site, set up WordPress, setup a database, import the database, and modify your configuration file. Here is what you want to do when you’re cloning or copying a WordPress blog. Manually back it up and manually restore it.
What does a WordPress weblog truly consist of? It is composed of files and a databases. What you do is go into your cPanel’s phpMyAdmin spot. If you go into your internet site.com/cpanel, you will be able to discover a hyperlink to phpMyAdmin. As soon as you are there, find the databases the place WordPress is saved and there should be a tab that claims “Export.” What you can do is click on “Export” and then this will help save a .sql file made up of your site’s database.
An easy 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 nonetheless get to that entire database just in circumstance your webhost does not have a cPanel region.
You down load that .sql file but that includes just the database and that is it. You need to have the data files as properly, so link to your website utilizing FTP and down load all the documents in that weblogs folder. Sure, the config file, the WP-content folder, WP-involves – all those data files and folders, you ought to obtain them appropriate now employing FTP. It may possibly get a although but wait for it all to end.
Now you have manually backed up your WordPress site and it’s time to go somewhere new and restore it. FTP up to your new web site and what you ought to do very first is setup a new WordPress set up right here. What we have to do is go into the cPanel of your new net host, setup a WordPress databases user, and grant that person permissions to that database.
In cPanel, there is a website link for a mySQL set up wizard that will guidebook you through this procedure. It will ask, “What’s the new databases title?” Just get in touch with it site. “What is the new username?” Call it blog. “What is the new password?” Make Patreon download landing page for wordpress and create it down. Now you have a new WordPress databases that will retailer your information.
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 databases but not the documents but. What you will then want to do is FTP up people data files that you had downloaded. Now you are location up your information as nicely as your database.
The closing step is to edit what is called the WP-config.php file. What you will discover is that in that file, it is pointing to the outdated WordPress username, password, and databases and you will have to edit this to level to the new WordPress, the new site database you setup with the blog user and the password you wrote down.
Ultimately, you will have to make one single setting in your WordPress config file and insert the subsequent line of code:
outline(‘RELOCATE’, accurate)
Incorporating that 1 single line of code to your WP config file will explain to WordPress that we’re relocating it to a new place.
Now all you have to do is log into your WordPress internet site using the identical username and password that you originally had in your previous website. If all went nicely you have effectively cloned your WordPress web site with out utilizing any plugins. You use phpMyAdmin to dump the databases, you downloaded all the documents, you setup a new databases, imported the SQL file, uploaded all the information and produced the one adjust to the config file to position to the new databases and also to relocate to a new location.