View Single Post
Old 06-11-2013, 08:07 AM  
alex.missyouth
Confirmed User
 
Industry Role:
Join Date: Sep 2012
Posts: 1,870
.htaccess mobile redirection (Help!)

Hello guys,

I really hope someone here could help me with this problem.

I need to add an exception to our mobile redirect rules, more precisely, I need to exclude a URL that contains a certain pattern from mobile redirection.

How can I accomplish this?

Part of my .htaccess file looks like this...

Quote:
RewriteEngine On

RewriteCond %{HTTP_USER_AGENT} (mobile|android|blackberry|brew|htc|j2me|lg|midp|m ot|netfront|nokia|obigo|openweb|opera\ mini|palm|psp|samsung|sanyo|sch|sonyericsson|symbi an|symbos|teleca|up\.browser|wap|webos|windows\ ce) [NC]
I tried a few solutions with no luck, I added the following line before the line quoted but it didn't help. What am I missing here?

RewriteCond %{REQUEST_URI} !^/gallery/*$
__________________
skype: descargasweb
alex.missyouth is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote