1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Redirect ALL old type browsers

Discussion in 'Apache' started by TheVisitors, Jul 4, 2015.

  1. #1
    There many guides on how to redirect IE, but I cannot find anything on how to redirect old browser copies of Firefox, Chrome, Safari, and Opera
    # Redirect OLD Browsers
    RewriteCond %{HTTP_USER_AGENT} "Chrome/[1-42]\." [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "Firefox/[1-38]\." [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "Safari/[1-7]\." [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "Opera/[1-29]\." [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} "MSIE [1-10]\." [NC]
    RewriteRule . http://browsehappy.com [L]
    Code (ApacheConf):
    ^ This to me makes sense. But sadly it doesn't seem to work and I'm hoping someone will know something I don't.
    SEMrush
     
    TheVisitors, Jul 4, 2015 IP
    SEMrush