I want to redirect mobile visitors to the mobile homepage of a WordPress-based site. I am using the following code: I have two issues: 1- Should I redirect with a 301, 302, or 307 redirect? 2- Google penalizes my site for a 1.5-second redirection delay in speed tests. How can I avoid this? # BEGIN Mobile redirect RewriteEngine on RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC] RewriteCond %{HTTP_HOST} sitename\.com [NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^(.*)$ https://www.sitename/mobil [L,R=302] # END Mobile redirect