Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


setting the base URL in Drupal

Posted on 2009-05-19
Medium Priority
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.
Question by:nanharbison
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 24431096
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"?


LVL 17

Author Comment

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?

Expert Comment

ID: 24434314
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?

LVL 17

Author Comment

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!


Accepted Solution

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


Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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 …
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 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