Htaccess mod redirect works in ie but not firefox?

software development

#1

Hello all

Recently started learning some stupid htaccess tricks, yay! Fun stuff

Anyway, I’m completely new to this but got some great code off the dreamhost wiki

That works - so now when people follow links to my site from some troublemaker who is talking trash about my site, they are redirected to an amusing page on a completely unrelated site - “You got Rick Rolled” or some such silliness

Problem : I’ve check and tested this every way i can think of and for some reason my redirects only work in IE and Safari - when the user with the Firefox browser seem to follow the offending inbound links as per normal

Obviously not life or death here, but it sure would be satisfying if I could get this to work - anyone have any ideas as to what I need to add (or modify) here, based on the below?

This is from my .htaccess file on the root level of my site, BTW

Many thanks!

Zach

***code

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.annoyingblog.org/userpage/
RewriteRule /* http://www.youtube.com/amusingvideo123456 [R,L]

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.gossips.com/forum/
RewriteRule /* http://www.funnypictures.com/clownswithpies.html [R,L]


#2

[code]RewriteEngine On

RewriteCond %{HTTP_REFERER} ^http://annoyingblog.org/userpage/.$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.annoyingblog.org/userpage/.
$ [NC]
RewriteRule ^(.*)$ http://www.youtube.com/watch?v=NoP6HkxjS38 [R,NC,L]

RewriteCond %{HTTP_REFERER} ^http://gossips.com/forum/.$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.gossips.com/forum/.
$ [NC]
RewriteRule ^(.*)$ http://www.funnypictures.com/clownswithpies.html [R,NC,L]
[/code]

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

Thank you! Will try imediately!

BTW please ignore my username its a joke between me and my ex, LOL