How to change domains smoothly.

Cheers for moving into my new domain sucessfully! I’ve some experience to share:

1. (I’m using Cpanel) back up all your files in case anything goes wrong.

2. download the database from MyPhpadmin or backup guide.

3. change the main domain of your server.

4. login into your new domain and set the A-zone record or DNS servers. This may take a few hours to take effect.

5. find wp-config.php in home/wordpress/ and edit it, add this two lines:

define(‘WP_SITEURL’, ‘http://yourdomain/wordpress’);
define(‘WP_HOME’, ‘http://yourdomain.com’);

now u should be able to visit the index page and login into your dashboard, but the rest of the urls are still misled.

6. now edit the database (*.sql) replace all olddomain with newdomain. I reccommend a small but professional soft SCR. You can download it here at: jeaneo.com/public/scr.rar

7. Enter Myphpadmin and import new database *.sql.

8. make some update for your plungins and themes.

9. Done!

It’s quite easy but maybe u’ll meet some small problems; keep patient and u’ll get it done :)

Maybe Ralated post

  • No Related Post
  1. No comments yet.

  1. No trackbacks yet.

Recent Post