I need to redirect mobile devices to the mobile version of my site. How can I do this in Contao? I have a script which detects mobiles then redirects them using:I have included this script at the top of my template file but this gives me an error when accessed with an iPhone that says "Too many redirects". If I redirect the script to an external URL it works fine, but this is no use to me as my mobile site is under the same domain as my main site.Code:header('Location: ../mobile');
Thanks
Bookmarks