The preferred way of doing is different for everyone. Here is how I go about doing it:
1. Backup the database.
2. Backup the wp-content folder.
3. Create new database.
4. Login to the new database. (Assuming you use phpmyadmin here)
5. Import database into it
6. Browse the wp_options table
7. Change siteurl and blogurl to the new domain. Click OK each time.
8. Upload the wp-content folder where the production site will be.
Wala! But say you have images and links that still direct you to the
test site? Search for a Plugin called "Search & Replace". Do a
search on your test domain and replace it with just your production
domain url.
1. Backup the database.
2. Backup the wp-content folder.
3. Create new database.
4. Login to the new database. (Assuming you use phpmyadmin here)
5. Import database into it
6. Browse the wp_options table
7. Change siteurl and blogurl to the new domain. Click OK each time.
8. Upload the wp-content folder where the production site will be.
Wala! But say you have images and links that still direct you to the
test site? Search for a Plugin called "Search & Replace". Do a
search on your test domain and replace it with just your production
domain url.
WordPress › Support » Best way to migrate test site to live site?
No comments:
Post a Comment