We are considering BackupBuddy both for migration and backup (and perhaps cloning the site for further development down the road).
What I am unsure of is how to migrate an existing WP installation from a subdomain to a subdirectory. e.g. from blog.domain.com to domain.com/blog on the same server, and what to do about the already existing database (for blog.domain.com )on the site.
I looked at the Wiki, and it doesn't look like this subdomain to subdirectory migration requires any special effort--is that correct?
I assume that the safest option would be to have our hosting company create a new database rather than wiping the existing one during the migration. Then we can have them delete the old database once the site is up and running in its new subdirectory.
Migrate Wordpress From Subdomain To Subdirectory
Started by
Guest_Dave Trowbridge_*
, Apr 11 2012 10:36 PM
subdomain subdirectory
2 replies to this topic
#2
Posted 12 April 2012 - 10:21 AM
Hi Dave,
That can work fine and would be a normal migration, nothing too special. Would make the subdirectory folder if it doesn't already exist, though if it does already exist then make sure there isn't a WordPress installation already there (which would need to be removed if so). Then create a database for the new folder with associated user that has all privileges (remember the settings you have for this database as will need to know them later such as database name, user, etc). After that is just uploading the full backup made from the source site and an importbuddy.php file then starting the importbuddy by navigating to it in your web browser. For example: www.domain.com/blog/importbuddy.php
Also could be a good idea after the migration to regenerate a new .htaccess file for the new site by going to Settings -> Permalinks -> and clicking to save changes. Is more of a good practice overall.
Sounds like you've already looked around at some information available but here are some more in case you haven't seen these ones:
Sample migration video
BackupBuddy Getting Started codex page
Importbuddy's Codex page
Thanks,
-Akers
That can work fine and would be a normal migration, nothing too special. Would make the subdirectory folder if it doesn't already exist, though if it does already exist then make sure there isn't a WordPress installation already there (which would need to be removed if so). Then create a database for the new folder with associated user that has all privileges (remember the settings you have for this database as will need to know them later such as database name, user, etc). After that is just uploading the full backup made from the source site and an importbuddy.php file then starting the importbuddy by navigating to it in your web browser. For example: www.domain.com/blog/importbuddy.php
Also could be a good idea after the migration to regenerate a new .htaccess file for the new site by going to Settings -> Permalinks -> and clicking to save changes. Is more of a good practice overall.
Sounds like you've already looked around at some information available but here are some more in case you haven't seen these ones:
Sample migration video
BackupBuddy Getting Started codex page
Importbuddy's Codex page
Thanks,
-Akers
Welcome to the forums. Be sure to post your questions in the correct forum and don't forget about the new and improved search function located in the top right of the forum pages. The gear/wheel symbol next to the search box will give you more options for advanced searching. Thank you and have a nice day.
Reply to this Topic
ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.
For BackupBuddy related issues, be sure to include the status log from your most recent backup.
CLICK HERE to start a new topic in the Pre-sales and other inquiries forum.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




