Make a full WordPress Transfer
A WordPress migration or transfer from your existing provider to a new host, for example PCFH.solutions is quite straightforward if performed correctly.
Basically, to make a WordPress migration from one host to another consists of three parts – moving the files, moving the database and reconfiguration to use your new account.
Transfer WordPress Files
To move your files from one host to another you can use an FTP client such as FileZilla. You need to download the entire contents of your WordPress site (including the subfolders wp-admin, wp-config and wp-includes) and then upload them to your PCFH.solutions FTP area.
Migrate the WordPress Database
The second step is to move your database. You will need to export your WordPress database from your existing provider. This is usually done through PHPMyAdmin by locating the correct database and selecting the Export function. This will create a .SQL file which can be imported into your PCFH.solutions account. Alternatively you could backup the file to your computer.
Once you have obtained the .sql backup of your database, please log in to your Control Panel and click MySQL Database Wizard. Follow the wizard, which will create a new database and associated user. Be sure to make a note of the username and password you create as you will need these later. Many providers use the same name for username and password. Bear this in mind when editing your wp-config.php file in the next stage as they may be the same from your old provider. Also ensure that you give the new user Full Privileges on the database.
Once the database has been created, open PHPMyAdmin in cPanel and select the newly created database from the left-hand list. Click “Import”, then select the .SQL file you exported from your old provider that you saved on your computer. Import the file.
Reconfigure WordPress to work from the new server
Now you have your files and database transferred, you need to reconfigure your WordPress application to work from your hosting account.
To do this, open the File Manager from your cPanel account, edit the wp-config.php file in your WordPress root folder and locate the following lines:
define('DB_NAME', 'xxx'); /** MySQL database username */ define('DB_USER', 'xxx'); /** MySQL database password */ define('DB_PASSWORD', 'xxx');
You need to replace the values signified by xxx with the new database, username and password that you created. Be sure to leave the single quotes around the values.
Save this file and your WordPress site should be up and running from your new hosting account. Type in the site name in your browser to check. If not, go over the instructions above again.
Please note that if you change the URL or domain name of your site, additional reconfiguration is required. You will need to seek assistance from the WordPress community forums for guidance on how to do this. There are a number of free plugins available which can assist with this.
Transfer WordPress from wordpress.com
It is now possible to transfer your blog from WordPress.com to a stand-alone WordPress installation on your hosting account with just few clicks. To move your site, first log in to your WordPress blog. Next, select Export, from the Tools menu. Select All Content and click Download Export File. Then download an .xml file to your computer.
This is all you need to do on your WordPress.com account. Now you need to import your information to your WordPress installation. If you have one installed, login with your admin username and password. If you want to install a new copy of WordPress, please install this from your Softaculous one-click installer within your Control Panel. Once you login to your WordPress installation, select the Toolsmenu from the left column and choose Import.
This page will show you the available sources you can import content from. Scroll down and select WordPress as an import type.
A popup will open asking you to install the WordPress Importer plugin. Click on the orange Install Now link to proceed.
Once the plugin files are downloaded, select the Activate Plugin & Run Importer link.
You will be redirected to the actual plugin page. Now click the Browse button, select the .xml file you have previously saved on your computer and click on the Upload file and import button. If the content which you want to migrate is quite large, the PHP timeout value may be reached before the data is fully copied. In this case you need to re-upload the .xml file. The system keeps a record for the migrated content and will proceed with the remaining data. Repeat the procedure until you receive a confirmation that the process is successfully completed.
Since you will be inserting new posts and pages, WordPress needs to know who will be the author of the content. On this page you can either select an existing user or you can create a new one for the imported data. Please note that you should tick the Download and Import file attachments box if you want your photos and other attachment to be transferred too. Finally, click on the Submit button.
That’s it! Your data is now transferred from your WordPress.com account to your new hosting account.
Migrate your WordPress data only
Sometimes you may want to transfer only the content from your WordPress site from one application to another (between two different WordPress installations). In such cases, WordPress provides you with an easy mechanism to move your posts, comments, users, attachments and other information with just few clicks. To do this, first login as administrator in your existing blog backend and select Tools -> Export from the left menu.
On this page, select whether you want your Posts, Pages and other available content transferred or you want all the content to be exported. For the purpose of this tutorial, we’ve chosen to move all the content. Click the Download Export File button and save the .xml file to your computer.Now, login to your new WordPress installation and chose Tools -> Import from the left menu. On this page select WordPress in order to import content from your previous WordPress installation.
On the next page, you need to select whether you want the new content to be posted with an existing author or under a new username. Make sure you tick the Download and import file attachments box. This will allow WordPress to move correctly your posts including all the photos and other media you’ve inserted into them.
Finally, click Submit and your content will be imported into your new WordPress application. That’s it! Your posts and media are now successfully migrated! PHEW!