I've been putting off asking this, because, if I get an answer, then I'll actually have to do it. No need to say what level of user I am. You'll be able to see that easily enough :-) .

(If I am looking at the following all wrong, then please feel free to point that out and make any alternative suggestions you feel appropriate.)

I have a Drupal 6 site, in a multi-site installation, that I want to upgrade to D7. It seems that it would be a major pain to upgrade the site plus all modules, especially since many do not have D7 versions yet, so I was thinking that it might be better to just do a clean install and find a way to do without whatever modules have no D7 versions. What I was thinking of doing was:

Install D7 in a separate (multi-) site under the D7 directory (see below)
Get it up and running properly, with all necessary modules
Transfer the articles over - less than 100
Then, rename the D7 test site to tapatriot.com and do whatever is necessary to make the change work

Here's how it is set up now:
Main domain is avenue411.com
Drupal 6 is installed in:
---avenue411.com/public_html/drupal
tapatriot.com is an add-on domain to avenue411.com
tapatriot.com is set up as a multi-site installation under avenue411.com, like:
---avenue411.com/public_html/drupal/sites/tapatriot.com

I have installed Drupal 7 in:
---avenue411.com/public_html/drupal7

For articles, I'm using ckeditor + IMCE

Questions:
1. Is it possible to run a parallel D7 site and then rename the site(s) as suggested above? If so, then what would be the step-by-step process?

2. Many articles have images, so just copying the text of articles would require re-importing of all images. What would be the best way to get the articles + plus images from the D6 site to the D7 site?

Comments

WorldFallz’s picture

1. yep, you can do it... and with only 100 pieces of content, it's what I would do (start fresh rather than upgrade). I usually just use a subdomain (ie d7.avenue411.com) and then just change the main domain to point to the new site when it's ready. How to do that depends on your host, but usually it's just a matter of specifying the new directory in the domain configuration settings of your control panel.

2. If you only use IMCE and not fields of any kind, it might just be as simple as copying over the directory where your files are stored (ie avenue411.com/public_html/drupal/sites/default/files). One of the benefits of using a subdomain, is the URLs of links and images should still work (if you use relative urls instead of full urls). You should be able to use the feeds module to migrate the content.

jfmoore’s picture

Thanks for the reply, but I'm not sure what this means:

" You should be able to use the feeds module to migrate the content."

WorldFallz’s picture

I was referring to the http://drupal.org/project/feeds module which can create nodes and other content from feeds. Core provides a default feed at http://example.com/rss.xml, but you can setup your own with the views module. Then you can use feeds to consume that content and create content on the new site. There's also the node_export module (which exports and imports), but I'm not sure if it works across different major versions-- probably worth a try though.

jfmoore’s picture

Okay, so let's say that I install a new D7 site as follows:
public_html/drupal7/sites/tapatriot.avenue411.com

This would be a parallel version of:
public_html/drupal/sites/tapatriot.com

To later change the former over to:
public_html/drupal7/tapatriot.com (from public_html/drupal7/tapatriot.avenue411.com)

...what would have to be done, other than renaming the directory?