[support] Redirect with .htaccess not working

Maurice Mengel mauricemengel at gmail.com
Wed Dec 10 17:16:53 UTC 2008


Hi,

don't you wanna solve this with Site Building >> URL aliases from
inside Drupal 6.x?

I am new to apache's rewrite, too, but just experimented with it over
the weekend. I think, if you have a http:// in the beginning the R=302
will not work

best
mau

On Wed, Dec 10, 2008 at 5:45 PM, Joseph <mangg at yahoo.com> wrote:
> Hello,
>
> I have used Drupal for over a year and a half. Sometime around last
> year I moved to "clean urls" and then I deleted a page /?q=node/1 I
> have been trying to set up a .htaccess file to redirect this page and I
> can't seem to do it like this:
>
> RewriteRule ^/?q=node/1$ http://www.example.com/node/34 [R=301,L]
>
>
> Other than the redirect above and a few others my .htaccess is the same as the default.  It doesn't work and I don't quit know enough about .htaccess to solve it.   Any idea of what I am doing wrong?  Should this be done another way?  Links or suggestions are appreciated. =)
>
>
> Thanks,
> J
>
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list