gerdami wrote on 21 Dec 2009 16:18
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
[[module Redirect destination="mobile:/%%name%%"]]
Example: www.ft.com would redirect to m.ft.com
Start a new sub-thread
page revision: 1, last edited: 21 Dec 2009 16:21