I would not do this with .htaccess. Simply create a url alias in drupal (assuming you have the path module enabled) to redirect node/34 to any page you'd like to. You should find this on admin/build/path
Dave
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Joseph Sent: Wednesday, December 10, 2008 8:45 AM To: support@drupal.org Subject: [support] Redirect with .htaccess not working
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/ ]