I tried using other users' answers to similar questions, but it's no use. How can I redirect from http://ift.tt/2i1izlR to http://ift.tt/2hVttMq if the user is accessing the link in a smarthphone?
I suppose i got the first thing right, and that is detecting the user is in a mobile, but i can't do the redirect correctly.
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|iphone|ipod|#opera mobile|palmos|webos" [NC]
Aucun commentaire:
Enregistrer un commentaire