You are reading a single comment by @gbj_tester and its replies. Click here to read the full conversation.
  • Anyone aware of a tool that allows you to use one link / URL and then have that link redirect a user based on their platform (desktop / mobile)?

    Any server side script can read the User Agent string and programmatically modify the content which is served to the client. Writing the basic script is easy, it's just a matter of

    if user_agent = [mobile]
    then href = m.bbc.co.uk
    else href = bbc.co.uk

    The hard part is the regular expression in the square brackets, parsing all the User Agent strings to pick the mobile ones reliably.

About

Avatar for gbj_tester @gbj_tester started