By angelopc on
I have Drupal up, configured and running nicely on a sub-domain. What's going to be the best, quickest, safest way to move what I currently have to the main doimain?
Current: http://v2.svctx.com
Future: http://www.svctx.com
Thanks for your help.
Comments
If drupal is installed in a
If drupal is installed in a
public_html/v2directory, then:- set your site to off-line
- copy or move all the contents of the
v2directory back topublic_html- set your site back to online.
Probably nothing more will be needed, but here are a few things to check:
- Has Drupal's .htaccess file been copied? (it may be hidden)
- Have your sites/default directory and its contents been copied, and especially the settings.php file? (they are protected by Drupal).
- Are there any lines in .htaccess or in the sites/default/settings.php file which mention the old v2 site? (for example in $base_url)
If your theme seems broken, then browse to the admin/build/modules and admin/build/themes pages just once.
The only other problem which you may encounter is file and image links which you have entered manually in the content and refer explicitly to the subdomain, but normally you shouldn't have done that.
Thank you!
Thanks, Rusty!
I'll give that a shot and report back.
Ed Coyne
http://www.angelopc.com
Yes, and watch out that you
Yes, and watch out that you didn't hard code any URLs in your content because they will break when you move the Drupal instance. (ex: 'http://v2.svctx.com/node' vs. 'http://www.svctx.com/node' vs. just 'node'.)
So Far, So Good!
Seems to be working ok. Having to make a few minor changes. Replacing references to the subdomain with the main domain.
Thank you,
Ed Coyne
http://www.angelopc.com