Settings To Be Altered In Wp-Config.php File While Transferring Your Host

October 29th, 2009 @ Rahul (76)

9


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.

ist2_7618660-network
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:-

  1. DB_NAME :- Here you should enter the name of the Wordpress database, e.g  define(‘DB_NAME’, ‘user_techvorm’);
  2. 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’);
  3. DB_PASSWORD :- Select the desired password for your database, e.g  define(‘DB_PASSWORD’, ‘password’);
  4. 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.

Enter Your Email Address For Free Updates:

I am Rahul Garg, pursuing B.com from Delhi university. I am not a regular at my college because I have a business (electronics) of my own. At 20 I don’t say that I have accomplished something but I can definitely say I have experienced a lot which is very helpful for one’s growth. You Can Follow me on Twitter @Rahulgarg1989