How to make different master pages using .htaccess?

You need to do so that would be coming to the website from a mobile device redirected to a static mobile.html page (is), but had the opportunity to go further on the main website which is under WordPress ohms.

I tried to implement this using htaccess like this:
RewriteEngine on 
RewriteCond %{HTTP_USER_AGENT} iphone|ipad|android|blackberry [NC] 
RewriteRule ^index\.php$ /mobile.html

but then all requests to other pages from your mobile phone view ?the primary objective of BCC=49 also refer to mobile.html and, accordingly, no other page does not open. Need to be treated exactly index.php

Need something to do so that would be mobile.html to be forwarded only queries without parameters, and all parameters were as before index.php
September 19th 19 at 12:51
0 answer

Find more questions by tags Processing URLhtaccessWordPress