Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Redirect Internet Browser

Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
SpaceshipSpaceship
Watch

wussadotcom

My MemoriesVIP Member
Impact
58
Hi, currently my site checkpagerank.ws
has a design problem for IE and Chrome users and only works for FF. Are there any way to detect our sites users using what type of Internet browser and hot to redirect them to other page at my site using .htaccess?
Thanks a lot
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Something like this should work ...

(warning: this is B.C. - Before Coffee :) )

RewriteEngine on
RewriteCond %{HTTP_user_agent} ^someuseragentstring [OR]
RewriteCond %{HTTP_user_agent} ^someotheruseragentstring [OR]
(more here as needed, make sure the last one does NOT have "[OR]")
RewriteRule ^.*$ http://www.yoursite.tld/somepage.htm [L]​

Do a search to find the correct user agent strings to use.

Or if you have a custom 403 error page the RewriteRule could be:
RewriteRule .* - [F]​
 
0
Close
How to redirect every browser except FF?
 
0
Close
RewriteCond %{HTTP_USER_AGENT} !^.*Firefox.*

BUT ...

If you do that make rules to allow googlebot, slurp, etc. or you'll block them too!
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back