• Resolved adictivedesign

    (@adictivedesign)


    Hello!

    i have some problems with this specific site.
    The concept of this page is already a bit tricky and i manage to handle it on mobile but i dont want to redirect it to tablet, as the desktop/original version works better with tablet in horizontal view.. Better said, i dont know exactly how to manage the tablet problem as vertical view would be better in mobile page look..

    I tried to implement a please rotate js but i didnt managed to get it work.
    I tried a code without redirection tool and it worked but the part, in which the tablet redirection is disabled didnt worked..

    The code was:

    <script>
    if( /Android|webOS|iPhone|iPod|BlackBerry|IEMobile/i.test(navigator.userAgent) ) {
    
    if(window.location.hash == "#desktop"){
        // Stay on desktop website
    } else {
        window.location = "https://adictivedesignbaustelle.de/m-aesthetik/";
    }
    
    }
    </script>

    Would be great if someone can help me here as quick as possible, as i already work way to long on this website.

    Thanks a lot!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author John Godley

    (@johnny5)

    Which part of this question is relating to Redirection itself?

    Thread Starter adictivedesign

    (@adictivedesign)

    Excuse me for the unclear question..

    The question is:
    – how can i redirect the specific page only on mobile -> not on tablet
    or
    – how can i make the portrait orientation fixxed on this specific page, so tablet users only have the portrait view of the mobile version
    or as last option
    – how to place a “please rotate” animation in, when its in landscape orientation, as the JS i found didnt worked..

    thank you.

    Plugin Author John Godley

    (@johnny5)

    This forum is for the Redirection plugin, and your questions don’t seem related to that. You may find it better to ask in another more suitable forum.

    Thread Starter adictivedesign

    (@adictivedesign)

    Excuse me but my first questions is absolutly about the redirection plugin and the other two are solutions if this plugin wont fix the issue

    Plugin Author John Godley

    (@johnny5)

    Ok. It’s not clear from your original message and follow-up message what part is for Redirection.

    If this is the part:

    > how can i redirect the specific page only on mobile -> not on tablet or

    Then you can use the ‘URL and user agent’ match:

    https://redirection.me/support/matching-redirects/

    The other questions are best asked in another forum.

    Thread Starter adictivedesign

    (@adictivedesign)

    Well, thats what i already did and its redirecting Mobile AND Tablet. There is no option to exclude Tablet or i dont recognize a option for this.

    Plugin Author John Godley

    (@johnny5)

    Sure, there is no option for that. You need to enter an expression that matches only the devices you want to match. You may find information for a regular expression that will do this elsewhere on the internet.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirect on mobile but not on tablet’ is closed to new replies.