I've tried searching for this, but I'm at slight disadvantage because I don't think I'm using the right terminology in my search phrases. I'm very new to Drupal and have been trying to make sense all the different sites/posts/blogs etc.
I'm trying to set up a simple employee portal to help my uncle out with communication between his 3 stores. We setup a hosting account but the installed version was 6.4. I just used Fantastico to blow away the old installation and start fresh w/ 6.9.
Not sure if it's a good idea or not, but i set up to install all the drupal files in a folder called 'home'. In other words (looking through FTP client) I have a structure of ../www/home/(drupal core install).
The problem I'm trying to solve is to automatically redirect into that 'home' folder when someone accesses the domain name by itself (and not have to type www.mysite.com/home).
I understand I could move the core files up a level and probably be done with it, but I'm pretty sure there is a simple way to make it work as is. Is this a web server config file setting? An option in Drupal? Some PHP script?
I'm a washed up ASP 2.0 programmer and trying to relearn some concepts...technical skills fall somewhere between the average grandmother and moderately geeky. This is my first post here, please be nice if it's a dumb question. :)
I'll keep searching, but hope someone can quickly answer this question.
Comments
Go to Administer->Site
Go to Administer->Site Information. Scroll down to default front page. Put "home" . This should solve the problem
Drupal tutorials
hmmm.. maybe i'm missing something
I'm using the front_page module - not sure if that changes things too much. I've listed 'front_page' in the text entry for the default front page. BTW the label automatically put the 'home' for me. In other words the label says:
Default front page: *
http://mysite.com/home/
and then there is the text box where i typed 'front_page'.
To be clear, everything works if i type the full URL www.mysite.com/home but i'm looking for a way to just type www.mysite.com and have it land in the same place.
thanks though.
_
if i understand you correctly, this isn't really a drupal thing. You need to tell your webserver to reroute www.example.com/home to www.example.com. You can try setting 'RewriteBase /' to 'RewriteBase /home' in your .htaccess file but i'm not positive that's the answer -- webserver config is still a bit of a black art to me.
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz