Migrating a Wordpress site from sub domain or any other domain is actually not well documented anywhere. I hence have to decided to right a brief overview on how it's done which I will update with pictures at a later stage.

Firstly move all the files from the folder or subdomain to the root folder of where they should be.
Then export the database using PHPmyAdmin.
Open the database file with a Text Editor and search and replace the old URL with the new URL. Usuaully done pressing CTRL + F or CTRL + R
Then drop all tables in existing database on phpmyadmin. Be sure to make a backup before and then import the new updated sql file into PHPmyadmin.
Now go to your Wordpress admin section and disable permalinks if it was used before.
Re-enable it again and all should be working.

Hope this helps.

Was this answer helpful? 0 Users Found This Useful (2 Votes)