Forum Moderators: phranque

Message Too Old, No Replies

Redirecting Stumbleupon Traffic?

         

sarahtech35

2:54 pm on Nov 24, 2007 (gmt 0)

10+ Year Member



I'm trying to redirect traffic from stumbleupon to a specific page.

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} cool\.com/
RewriteRule ^$ http://example.com/cool.html [R=301,L]
RewriteCond %{HTTP_REFERER} stumbleupon\.com/
RewriteRule ^$ http://example.com/stumble.html [R=301,L]

Cool.com traffic works and is redirected to cool.html, but traffic from stumbleupon.com. isnt redirected to stumble.html

What am I doing wrong?

jdMorgan

4:46 pm on Nov 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Since the formats of the two rules are identical, my suggestion is to be sure you are completely flushing your browser cache (or Temporary Internet files in IE) before testing. Otherwise, your browser will serve a locally-cached previous copy of the page, no request will be sent to your server, and so your server-side code cannot have any effect.

Jim

sarahtech35

11:59 pm on Nov 24, 2007 (gmt 0)

10+ Year Member



Thanks Morgan! Problem solved. :)