2

Moving your WordPress site: different domain , same host

This post is the first one in a series of articles about moving your WordPress installation:

If you will use a different domain for your wordpress site , or you are moving your site from a development subdomain to the main domain you still have the 3 basic steps, and I will highlight the differences from Moving your WordPress site: same domain , new host

Adding the domain name to the hosting

Most hosts use CPannel , so you just need to add the domain to the hosting (using addon domains option) and change it’s nameservers from your registrar. A root folder will be created for the domain.

Moving the WordPress database

As you might figure out , you still need to export your database. The database export process is explained in another post of mine, Moving your WordPress site: same domain , new host.
The difference comes now. Many people like to use database querries to modify the domain names , but I like to use a text editor (this method is easier to use and leaves 0 room for error.)
Get your favorite advanced text editor (I highly recommend Notepad++).

Moving your WordPress site: different domain , same host
Open your .sql file with it and open the mass replace option. Replace your subdomain or old domain with your new domain name in all the document. This is a good place to pay attention to typos.
Now you just need to create a new database and import the edited sql file.

Moving the files

Since both domains are on the same host , just copy the files from one folder to another (the folders corresponding to the addon domain root). Now download the wp-config.php file and modify the info to connect to your newly created database.

Filed in: Blog Tags: , , , , ,

2 Responses to "Moving your WordPress site: different domain , same host"

  1. poool says:

    More tutorials pls,- how to make a wordpress template ….CAN YOU?

  2. Subscribe to the rss feed , I will cover that in the next posts.

Leave a Reply

Submit Comment

© Copyright 2012 Eugen Dimboiu. All rights reserved.
Proudly powered by WordPress.