Let’s say you are transferring web host or you are environment up an specific copy of your WordPress website for someone else and you want to clone or copy your WordPress website to a new place. How do you do it if you do not have a plugin?
The answer is use phpMyAdmin to dump your database, down load all the documents, upload them back to the new website, set up WordPress, setup a databases, import the database, and adjust your configuration file. Here is what you want to do when you happen to be cloning or copying a WordPress website. Manually back it up and manually restore it.
What does a WordPress site truly consist of? It is made up of files and a database. What you do is go into your cPanel’s phpMyAdmin area. If you go into your internet site.com/cpanel, you will be capable to find a website link to phpMyAdmin. As soon as you happen to be there, uncover the databases where WordPress is saved and there need to be a tab that says “Export.” What you can do is click on “Export” and then this will conserve a .sql file made up of your site’s databases.
An effortless way to even get to phpMyAdmin is to install a plugin in WordPress referred to as phpMyAdmin. It can operate as plugin and you can still get to that whole databases just in scenario your webhost does not have a cPanel spot.
You obtain that .sql file but that contains just the databases and which is it. You need the files as nicely, so hook up to your site utilizing FTP and obtain all the data files in that weblogs folder. Sure, the config file, the WP-content material folder, WP-involves – all those documents and folders, you should download them proper now using FTP. It may possibly get a while but hold out for it all to finish.
Now you have manually backed up your WordPress site and it’s time to go someplace new and restore it. FTP up to your new site and what you must do initial is setup a new WordPress installation listed here. What we have to do is go into the cPanel of your new web host, setup a WordPress databases consumer, and grant that user permissions to that database.
In cPanel, there is a url for a mySQL setup wizard that will guidebook you through this method. It will question, “What’s the new database identify?” Just call it website. “What’s the new username?” Contact it blog. “What’s the new password?” Make a password and compose it down. Now you have a new WordPress databases that will shop your documents.
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 files but. What you will then want to do is FTP up individuals documents that you had downloaded. maxxwp.com/product/wp-rocket Now you are setting up your data files as well as your database.
The ultimate stage is to edit what is actually known as the WP-config.php file. What you may notice is that in that file, it is pointing to the aged WordPress username, password, and databases and you will have to edit this to stage to the new WordPress, the new website database you setup with the weblog user and the password you wrote down.
Ultimately, you will have to make 1 single placing in your WordPress config file and add the following line of code:
define(‘RELOCATE’, real)
Including that one solitary line of code to your WP config file will tell WordPress that we’re relocating it to a new location.
Now all you have to do is log into your WordPress site employing the identical username and password that you at first had in your previous web site. If all went properly you have efficiently cloned your WordPress site without having employing any plugins. You use phpMyAdmin to dump the database, you downloaded all the data files, you set up a new database, imported the SQL file, uploaded all the files and made the a single adjust to the config file to point to the new databases and also to relocate to a new area.
Recent Comments