htaccess | Vevioz Community

htaccess

  1. DevOps

    Tutorial How to redirect your website to its mobile version and vice versa using htaccess

    Use the code 1: RewriteEngine on RewriteCond %{HTTP_USER_AGENT} (iphone|ipad|android|blackberry|windows\ phone) [NC] RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] RewriteRule ^ http://m.example.com And code 2: RewriteEngine on RewriteCond %{HTTP_USER_AGENT}...
Top Bottom