Posted 1261219229|%O ago by gerdami
The current technique for mobile sites is a redirection because page weights should be less than 20K. The [[Ifdevice …]] would help redirecting to the mobile version.
If I use a category "mobile" for the mobile version, I would like gerdami.wikidot.com/anypage be redirected to gerdami.wikidot.com/mobile:anypage with a custom CSS for category mobile:.
But how can I test that the device is a mobile and redirect to the mobile page thanks to something like
[[ifdevice mobile]] [[module Redirect destination="mobile:/%%name%%"]] [[/ifdevice]]
Example: www.ft.com would redirect to m.ft.com