[support] Change to home page location

Halter, Shari SHalter at ThorntonTomasetti.com
Mon Nov 13 15:31:46 UTC 2006


Larry,

Thanks for your advice, and especially for feeling my pain. 

Shari


Shari L. Halter
Web Programmer, Corporate Services
Thornton Tomasetti
51 Madison Avenue
New York, NY  10010
T 917.661.7800  F 917.661.7801  
D 917.661.7970  
SHalter at ThorntonTomasetti.com



-----Original Message-----
From: Larry Garfield [mailto:larry at garfieldtech.com] 
Sent: Saturday, November 11, 2006 2:22 AM
To: support at drupal.org
Subject: Re: [support] Change to home page location

Let me make sure I understand.  Your sysadmin insists that
http://mysite.com/ be nothing, and that http://mysite.com/home be what
everything thinks is the home page?  

Step one, get a new sysadmin because this one is dumb. :-)

When that fails, alias your front page (whatever it is) to the path "home".

Yes, all <front> links (such as breadcrumbs) will still point to an empty
path, because that's the way it's supposed to work.  You could probably
write a module to auto-forward path '' to path "home" fairly easily
(hook_init(), probably?).  I don't know of an existing way to do that, but
that's probably how I'd go about it given silly constraints like that
(unless  it's because you have some sort of flash ad at your web root, in
which case the sysadmin should be shot for wanting a flash ad as a front
page for a site in the first place).

On Friday 10 November 2006 21:56, Greg SBC wrote:
> I thought of this too, but wouldn't all the home links in breadcrumb 
> and such still point to www.mysite.com, which is not what is wanted. 
> Want home link to link to /home. Without mod_rewrite to change 
> www.mysite.com requests into www.mysite.com/home requests (presumably 
> because something else resides there), this is a tough situation to
handle.
>
> Greg
>
>   _____
>
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] 
> On Behalf Of Benjamin Melançon
> Sent: Friday, November 10, 2006 4:23 PM
> To: support at drupal.org
> Subject: Re: [support] Change to home page location
>
>
> unfortunately, no the rest of the site should only appear under 
> mysite.com <http://mysite.com/> , not mysite.com/home.
>
>
> In that case roll everything back, if you can, to before you started 
> copying things (if the original is working, maybe you can just delete 
> the home directory).
>
> Then enable the path module and edit the page you use as your home 
> page, and give it the URL alias "home"
>
> If you have a blog-style front page, a URL alias home for <front> 
> might be possible...
>
> - ben
>
> member, Agaric Design Collective
> http://AgaricDesign.com - "Open Source Web Development"
>
> person, People Who Give a Damn
> http://pwgd.org - "building the infrastructure for a network of everyone"
>
> On 11/10/06, Halter, Shari <SHalter at thorntontomasetti.com 
> <mailto:SHalter at thorntontomasetti.com> > wrote:
>
> unfortunately, no the rest of the site should only appear under 
> mysite.com, not mysite.com/home.
>
> crazy, I know.

-- 
Larry Garfield			AIM: LOLG42
larry at garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it."  -- Thomas
Jefferson
--
[ Drupal support list | http://lists.drupal.org/ ]

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
The information in this email and any attachments may contain
confidential information that is intended solely for the
attention and use of the named addressee(s).  This message or
any part thereof must not be disclosed, copied, distributed or
retained by any person without authorization from the addressee.
If you are not the intended addressee, please notify the sender
immediately, and delete this message. 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


More information about the support mailing list