• Resolved adictivedesign

    (@adictivedesign)


    Hello,

    i used the redirection plugin, to redirect users on mobile devices from https://adictivedesignbaustelle.de/aesthetik to https://adictivedesignbaustelle.de/m-aesthetik .
    Now i needed to rebuild the homepage for mobile and added a redirection for the homepage, this one didnt worked when testing so i change position under “group” to 0 instead of 1 and the aesthetik to 1 instead of 0. Then the redirection worked for homepage but not for aesthetik anymore.
    I created a new group and changed the position for aesthetik back to 0 with the changed new group, but this doesnt work also.
    Is it possible to redirect only one page/setting?
    Would be great if there is a simple solution i missed, maybe someone knows how to manage it to get both redirections worked.

    Thanks a lot,

    best wishes,

    Adrian

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter adictivedesign

    (@adictivedesign)

    Please see here the attached screenshot of both setups:
    https://ibb.co/mtCJVzp

    Plugin Author John Godley

    (@johnny5)

    The position will have no impact on this.

    Both of your redirects seem to be working. Note you have an extra a in the user agent for the first one.

    Thread Starter adictivedesign

    (@adictivedesign)

    Hello John,

    thank you for the hint, didnt saw this.

    When i am checking on my phone (and my girlfriend phone) then i am not redirected anymore.. I dont understand the issues with the plugin as sometimes its redirecting, sometimes not.
    Now when checking, its not even redirecting the homepage, which worked before.

    I now put the aesthetik setup back to the same group as the homepage setup and set it to position 1 (homepage is position 0). I will wait now some minutes to check if there is any time lag issue or so, but till now its not working.

    Plugin Author John Godley

    (@johnny5)

    Your phone may cache things. I have checked directly and the redirect is working fine.

    Thread Starter adictivedesign

    (@adictivedesign)

    deleted cache,
    different browser
    different devices
    no redirection..

    Plugin Author John Godley

    (@johnny5)

    Which URL are you testing?

    Thread Starter adictivedesign

    (@adictivedesign)

    Plugin Author John Godley

    (@johnny5)

    Redirecting with a user agent that matches your list:

    curl -I https://adictivedesignbaustelle.de/aesthetik/ -A "iPod"

    
    HTTP/2 301
    x-redirect-by: redirection
    location: https://adictivedesignbaustelle.de/m-aesthetik/
    

    curl -I https://adictivedesignbaustelle.de/ -A "iPod"

    
    HTTP/2 301
    x-redirect-by: redirection
    location: https://adictivedesignbaustelle.de/m-startseite/
    

    Not redirecting because the user agent doesnt match:

    curl -I https://adictivedesignbaustelle.de/
    HTTP/2 200

    Anything else you are seeing is down to either a cache on your device or internet access, or your user agent is just not matching. Based on my testing your redirect is doing what you have configured it to do.

    Thread Starter adictivedesign

    (@adictivedesign)

    Not redirecting because user agent doesnt match – how do you checked this? And is there a option to fix it?

    Plugin Author John Godley

    (@johnny5)

    Not redirecting because user agent doesnt match – how do you checked this

    I’m not sure what you mean. The output I showed was for a non-matching user agent, and it did not redirect as configured in your redirects. Option to fix what?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘redirection works only for one setup’ is closed to new replies.