[support] Removing subdirectory

Ursula Pieper dramamezzo at gmail.com
Mon Sep 12 19:42:05 UTC 2011


Nancy,

The following should do what you want:

Redirect /cc/ http://example.com/

This redirects requests like: http://example.com/cc/whatever.html to
http://example.com/whatever.html

I put these into httpd.conf. Have not tried it in .htaccess.

Ursula

On Mon, Sep 12, 2011 at 7:14 AM, Ms. Nancy Wichmann
<nan_wich at bellsouth.net>wrote:

> I think that's backwards from what I want. I  am moving the current site
> (subdirectory) to an entirely new host (the old host does not have PHP5).
> While there would be no problem recreating the directory, I would rather
> not. This article looks like it's translating INTO a subdirectory, rather
> than OUT.
>
> *Nancy*
>
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L.
> King, Jr.
>
> ------------------------------
> *From:* Vaibhav Jain
>
> You can try this link, it might help -
> https://my.bluehost.com/cgi/help/347?step=347
> Talks of the same thing you are talking about.
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110912/d5a82ba1/attachment.html 


More information about the support mailing list