Log in

View Full Version : help! urgent


psilocybin1
06-12-2009, 02:04 AM
this is my .htaccess (which works perfectly and redirects perfectly

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.diabeteschat.org/forum/$1 [R=301,L]

i tried to add this at the end of it to redirect a page that is out of date and google has indexed
Redirect 301 /forum/viewtopic.php?f=24&p=13 http://www.diabeteschat.org/forum/showthread.php?t=9


so my .htaccess looks like this now
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.diabeteschat.org/forum/$1 [R=301,L]

Redirect 301 /forum/viewtopic.php?f=24&p=13 http://www.diabeteschat.org/forum/showthread.php?t=9

the top redirect works still but the redirect 301 i added later doesnt work...any ideas how to fix this? did i do it wrong?

1Unreal
06-12-2009, 03:25 AM
Try doing it using a rewrite rule instead and adding [R=301,L] to the end of the line.


RewriteCond /forum/viewtopic.php?f=24&p=13 [NC]
RewriteRule http://www.diabeteschat.org/forum/showthread.php?t=9 [R=301,L]


Untested but worth a try

psilocybin1
06-13-2009, 01:18 AM
didnt work sorry.