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/*$