Solved

setting the base URL in Drupal

Posted on 2009-05-19
5
1,190 Views
Last Modified: 2012-06-21
I have a website, called www.ga1969.com. I installed drupal in a folder called drupal-6.12, so the entire path to it is http://www.ga1969.com/drupal-6.12
I want the users to go to the main page but of course see the drupal installation but I can't get it to work. I have tried setting the $base_url and the htaccess file RewriteBase / but it doesn't work, it can't find the installation.
I have tried
$base_url = http://www.ga1969.com
RewriteBase /drupal-6.12
and other combinations of this.
0
Comment
Question by:nanharbison
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:DJmusic
ID: 24431096
nanharbison,
I have few additional questions:
* I guess that you've set up a database and that the connection occurs, right?
* do you know if your host supports Drupal?
* have you tried renaming your Drupal folder to "drupal"?

thanks.

DJ
0
 
LVL 17

Author Comment

by:nanharbison
ID: 24431819
Yes, I have set up the database
My host supports Drupal
I have not tried renaming the folder. My experience with renaming folders after unzipping them has been very bad., I have had all of the links get wrecked. But do you think that is the answer here?
Thanks
Nan
0
 
LVL 4

Expert Comment

by:DJmusic
ID: 24434314
Nan,
I guess you made it work by dropping Drupal in the root. I was looking at a possible solution (for reference, http://drupal.org/node/51208#comment-156546 which might work even if this was under Drupal 4) but then, I saw that your site is running. Have you found a solution?

DJ
0
 
LVL 17

Author Comment

by:nanharbison
ID: 24435138
My site URL has not been handed out to users yet, so I have continued to play around with it.  I haven't used Drupal for a few years, but I KNOW we used to be able to have the drupal files in a folder but make it look like it was in the root directory!!! Maybe the developers have dropped that requirement.

Meanwhile, someone told me that the Drupal database is designed to be very portable, so I just tried deleting all the files and re-uploading the drupal files in the root directory. This has worked!

0
 
LVL 4

Accepted Solution

by:
DJmusic earned 500 total points
ID: 24435240
I'm glad it worked! I'd be glad to help if you have any other problem.
Drupal's fun!! :)

DJ
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drupal 5.x currently does not have a production-ready patch bundle to allow for split read & writes for a MySQL master/slave replication setup. After reading a open discussion/thread on the Drupal site (http://drupal.org/node/147160 (http://drupal.o…
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another.  It is not an easy task, but can be accomplished rather easily. The first …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question