Redirecting to mobile site on a responsive website ?

12 replies
If one has a responsive website, where the user experience is great for desktop down to tablet, but wants to redirect users from a smartphone and mobile phone to the mobile website (different content),...

is it possible ?

how does it work ?

thxs
#mobile #redirecting #responsive #site #website
  • Profile picture of the author Jay Moreno
    Originally Posted by ClearWater404 View Post

    If one has a responsive website, where the user experience is great for desktop down to tablet, but wants to redirect users from a smartphone and mobile phone to the mobile website (different content),...

    is it possible ?

    how does it work ?

    thxs
    Yes it can be done - the best way to do this is to do it with PHP user agent detection if possible.

    Alternatively if you are using something like WordPress for example you can use a plugin to simply switch themes based also on the user agent so that mobile phone viewers see a more mobile optimized theme instead of the desktop theme.

    This is exactly the way our WordPress mobile theme works - but also goes on to deliver different HTML based on the type of phone too to make sure its the most compatible.

    If you need any pointers feel free to PM me.

    HTH

    Jay
    Signature
    Sorry, I am too busy helping people to think of a cool signature!
    {{ DiscussionBoard.errors[8673506].message }}
    • Profile picture of the author ClearWater404
      Thanks Jay

      do the scripts you get from other mobile website builders include this as standard, or is my request unusual ?
      {{ DiscussionBoard.errors[8673533].message }}
      • Profile picture of the author Jay Moreno
        Originally Posted by ClearWater404 View Post

        Thanks Jay

        do the scripts you get from other mobile website builders include this as standard, or is my request unusual ?
        i would say for the most part the redirect should still trigger - however just FYI if you are using something like Wordpress, certain plugins can interfere with the redirection process.

        HTH

        Jay
        Signature
        Sorry, I am too busy helping people to think of a cool signature!
        {{ DiscussionBoard.errors[8673764].message }}
  • Profile picture of the author Adrian John
    You should try an place the redirection scripts into header files and see if it's triggered or install a mobile redirection plugin and see if it's working.
    I've encounter situations when the actual responsive theme was blocking/bypassing any redirection script I used, but usually doing a little research to see how the theme works, going through the theme's files and coding, can reveal a way to make it work.
    If you need any help, just let me know.I might be able to help you.
    Signature
    ARE YOU A CONSULTANT? Do you have clients who could use MORE LEADS?
    Get them a MOBILE WEBSITE PLATFORM built to stay up with their clients habits.
    More than 50% of their customers buys from their mobile devices now!

    CLICK HERE FOR MORE INFO
    {{ DiscussionBoard.errors[8678332].message }}
    • Profile picture of the author Jay Moreno
      Originally Posted by Adrian John View Post

      You should try an place the redirection scripts into header files and see if it's triggered or install a mobile redirection plugin and see if it's working.
      I've encounter situations when the actual responsive theme was blocking/bypassing any redirection script I used, but usually doing a little research to see how the theme works, going through the theme's files and coding, can reveal a way to make it work.
      If you need any help, just let me know.I might be able to help you.
      The biggest culprit of preventing redirect scripts from triggering properly we find is typically when cache plugins are used.

      Typically if a php user agent script is managing the redirect - since the cached files that are rendered are HTML the PHP function doesn't obviously get triggered.

      That's why it is good to have a plugin that offers a JavaScript alternative. So at least the JavaScript snippet itself can be cached also. Again the only downside to this though is JavaScript redirects function much slower than PHP based ones since the PHP version triggers before even a single line of code is rendered whereas the same is not true for JavaScript redirects. Sometimes you can't have your cake and eat it! LOL

      HTH

      Jay
      Signature
      Sorry, I am too busy helping people to think of a cool signature!
      {{ DiscussionBoard.errors[8678445].message }}
      • Profile picture of the author ClearWater404
        Thanks Adrian and Jay - I will keep these points in mind.

        Florian
        {{ DiscussionBoard.errors[8678842].message }}
  • Profile picture of the author RaymondB
    ClearWater404 yes it is very possible. All you need to have is a 'mobile' version of your desktop responsive website. You just need to install a redirect link to your head tag (depending on the platform you use).
    Signature

    Friendly advice, useful tips...
    Raymond B.

    {{ DiscussionBoard.errors[9210532].message }}
  • Profile picture of the author Joe Ray
    Responsive site means that your site works on all devices and all screen sizes. If it's really a responsive site then you shouldn't have to redirect it.
    {{ DiscussionBoard.errors[9236482].message }}
    • Profile picture of the author Celltactics
      Originally Posted by Joe Ray View Post

      Responsive site means that your site works on all devices and all screen sizes. If it's really a responsive site then you shouldn't have to redirect it.
      True to a degree. Not all responsive sites translate perfectly. A true mobile site will almost always be a better experience if its done right.
      {{ DiscussionBoard.errors[9237622].message }}
      • Profile picture of the author Joe Ray
        Originally Posted by Celltactics View Post

        True to a degree. Not all responsive sites translate perfectly. A true mobile site will almost always be a better experience if its done right.
        Whether or not a true mobile site is better than a responsive site is matter of opinion and I am not taking sides in that debate. However, what I said was that a truly responsive site must work on all devices and all screen sizes.

        If a site doesn't adapt to all screen sizes it's not really a responsive site. There is actually a way to create a responsive site that works perfectly on all devices.
        {{ DiscussionBoard.errors[9238020].message }}

Trending Topics