Solved

setting the base URL in Drupal

Posted on 2009-05-19
5
1,198 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
[X]
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
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

DotNetNuke (DNN) (http://www.dotnetnuke.com) is a leading open source web content management system (CMS) and application development framework for Microsoft .NET. Localization is an essential part of building websites, especially in countries that …
Knowledge base software has turned out to be a quite reliable method for storing information, promoting collaborative work and for sharing valuable input and solutions.However, some organizations are trying to develop a knowledge base that works wit…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

726 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