Hallo
I found the below mentioned code which automatically changes it to a mobile: I have not tried it out. I do not want to design a mobile site, i want
the site to automatically detect and fit on any other device
If it is the case, where will this code go then?
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (OneMobileUserAgent|AnotherMobileUserAgent|...)
RewriteRule (.*) mobile/$1
which would move, for example, requests to http://domain/index.html to http://domain/mobile/index.html
I found another code as well:
meta name="viewport" content="width=device-width, initial-scale=1.0">
that could do the trick I hope, kindly advise
Bookmarks