I am looking for a way to do the following
- If they are on a mobile device, it goes to -> m.domainname.com/
- I want this expandable so that in the future, i can do -> m.domainname.com/iphone or /ipad etc.
- I want there to be a bypass feature that will allow the user to bypass the mobile version of the website and go directly to the full version (even if they are on a smart phone).
I've seen this code in the past, but haven't been able to find it lately and want to make sure I'm doing this the best way possible.
Please give an example of the code or a place I can find the code/a tutorial on the code if possible.
If you see any other tags I didn't include this in that I should have, please add them.
Thanks