I earlier wrote a post on the need and use for moving your website to a new host. I also gave a gist on the process of moving to a new host. In this post i will share a simple tutorial for transferring your wordpress blog from a existing host to a new host.
The main thing that is to be done for a website transfer to a new host is to copy your existing files, database and modifying the wp-config.php file in your main WordPress folder. In the wp-config.php following MySQL settings need to be altered:-
- DB_NAME :- Here you should enter the name of the WordPress database, e.g define(‘DB_NAME’, ‘user_techvorm’);
- DB_USER :- Here the desired username needs to be entered with privileges to access the above mentioned database, e.g define(‘DB_USER’, ‘user_techvorm’);
- DB_PASSWORD :- Select the desired password for your database, e.g define(‘DB_PASSWORD’, ‘password’);
- DB_HOST :- Enter the MYSQL host, most of the times no alteration is required, e.g define(‘DB_HOST’, ‘localhost’);
P.S :- This is a simple and straight forward technique, if you need any more assistance feel free to ask.