6 Replies Latest reply on May 25, 2016 11:44 AM by daggar1959

    what script do I use to redirect to new muse mobile site uploaded to an existing site?

    ofthebridge Level 1

      I'm creating a mobile site that I will upload to an existing site outside BC. What script should I use to detect the mobile device and redirect to the new mobile site?


      <script type="text/javascript">

      if ('desktop' == 'phone') {

              window.location = 'http://www.site.com/phone/index.html';





      <link media="only screen and (max-device-width: 370px)" rel="alternate" href=".../phone/index.html" />


      or something different.