Taking a site from test dir to live in top dir of domain??

Events happening in the community are now at Drupal community events on www.drupal.org.
Steven_Bradford's picture

Hi all. Hope you're warm!

I've been searching for this problem, but I think I still don't know the right terms for everything in drupal. I realize this is basic stuff, but I don't know the basics.

I've been tinkering with a test site in a directory of the existing domain that it will be installed in. I'm ready to take it live, but having trouble. The only instructions I've been able to find were for creating test directories in sites that already had drupal installed in the top level of the domain.

So I've installed in "www.example.com/newtest", got everything how I want it , and now want to move to the long existing but non drupal domain "www.example.com" .

but when I do this, and change the settings file to reflect it, as instructed on the page about upgrading from a test directory to the top directory, http://drupal.org/upgrade/copying-your-test-site-via-GUI all I get is the text, and no theme, and none of the links or menus work-- just get page not found errors.

here's what I mean (I can only leave this up for about a day, this is a site for a going business)
http://www.3dstereomedia.com here's my drupal site http://www.3dstereomedia.com/newtest/

I'm guessing that the database doesn't know about the top directory. But I can't see how to tell it about it or convert it over.

Has anyone seen instructions on how to develop and create test then install a drupal site on a pre existing domain? Everything I've seen seems to assume a fresh install on a fresh domain, yet it seems obvious to me that lots of people are having to leave their old sites up and running before they can create and switch over to the Drupal site.

I think this has been the most frustrating part of Drupal for me since the beginning. I wanted to know how to do this when I started, so I wouldn't set it up in a way that wouldn't work, but it seems like I failed and I'm just going to have to write a redirect on the current index.htm page to send the viewer to the correct directory.

Thanks in advance!

Comments

If all else fails, you could

sarahdavies's picture

If all else fails, you could try changing example.com itself to point to the subfolder on the server.

Yes, this became my fallback

Steven_Bradford's picture

Yes, this became my fallback position, so at least I could have the new site working, while I figured it out.

But, as it turned out, I ended up commenting the base url line
$base_url = 'http://3dstereomedia.com/newtest'; in the settings.php file, instead of what I had done reading the directions on the Drupal.org site for simply changing it to
$base_url = 'http://3dstereomedia.com/';
which didn't work for me.

And now it works, if anyone wants to take a peak at a not at all clever or innovative use of a roople theme.

Next stop, figuring out how to make small theme tweaks!

Seattle

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: