• Resolved luckybxl

    (@luckybxl)


    Hello,

    Thank you for your plugin but I have some difficulty setting it up.
    I would like to redirect my users using IE (all versions) to a specific page. This should be working for all pages of the site.
    I am a little lost in the documentation. Can you help me ?

    I’m working local.
    I set the redirection like this at the moment:
    Source URL: /^/.* (?)
    Title: IE-Redirect
    Match: URL and User Agent
    User Agent: Internet Explorer (?)
    When matched: Redirect to URL with HTTP code 301 – Moved Permanently
    Matched Target: /name-of-my-page
    Unmatched Target: (?)

    Thanks for your help

    • This topic was modified 5 years, 10 months ago by luckybxl.

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

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

    (@luckybxl)

    Hello,

    I could find the user agent I needed but it’s still not working.
    Can it be working on my local setup of WordPress ?

    Here is the adress :
    https://localhost/kantine
    Here is the adress I want it to be redirected :
    https://localhost/kantine/internet-explorer/

    My setup :
    Source URL: ^/.*
    Title: IE-Redirect
    Match: URL and User Agent
    User Agent: (?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:)(\d+)
    When matched: Redirect to URL with HTTP code 301 – Moved Permanently
    Matched Target: /kantine/internet-explorer/
    Unmatched Target: (?)

    Could you help me on this ?
    Thanks

    Plugin Author John Godley

    (@johnny5)

    Have you enabled the regex checkboxes? Have you cleared your browser cache?

    Thread Starter luckybxl

    (@luckybxl)

    Hello,

    yes, I did.
    in IE, he tries to load the page during 20 seconds and then displays ‘Can not read this page’. But the URL is finally correct in the address bar.
    I’m live now, same setup, adapted.

    Tks

    Thread Starter luckybxl

    (@luckybxl)

    I know what’s the problem :

    There were too many redirections.
    Error Code: INET_E_REDIRECT_FAILED

    Plugin Author John Godley

    (@johnny5)

    Yes, your redirect is for any URL to /kantine/internet-explorer/. This will then be picked up by your redirect, and keep on redirecting to itself.

    Thread Starter luckybxl

    (@luckybxl)

    Ooooooooookay ! I finally got it ??
    Thank you

    Thread Starter luckybxl

    (@luckybxl)

    Many thanks for your help and your plugin.
    I have a last question:
    If I want the whole website to be redirected to my IE-page, do I have to create one redirection by page ?

    Plugin Author John Godley

    (@johnny5)

    If I want the whole website to be redirected to my IE-page, do I have to create one redirection by page ?

    It really depends what you are trying to do and what your site looks like.

    You can create an IE redirect for individual pages, or for subdirectories. You can also use the ‘do nothing’ action for the target page that has a higher priority than the IE redirect, and this will stop any further actions happening.

    Also, you may want to show a message to IE users rather than redirecting everything they do.

    Thread Starter luckybxl

    (@luckybxl)

    Hello John,

    I finally could make the redirection to work for my homepage but I’d like it to work for every page of my website (7 pages) but I really don’t knwo how to do that.

    Here are the setup WORKING (only for the front-page) :
    ————-
    Source URL: / (no regex)
    Query Parameters : Ignore & pass parameters to the target
    Title: Home-IE-Redirect
    Match: URL and User Agent
    User Agent: (?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:)(\d+)
    When matched: Redirect to URL with HTTP code 301 – Moved Permanently
    Matched Target: /internet-explorer
    Unmatched Target: (?)
    Group : redirections Position : 0
    ————

    I’d just like to do the same for the 6 other pages but this setup (the same as for the front-page) doesn’t work :
    ————-
    Source URL: /a-propos (no regex)
    Query Parameters : Ignore & pass parameters to the target
    Title: Home-IE-Redirect
    Match: URL and User Agent
    User Agent: (?:\b(MS)?IE\s+|\bTrident\/7\.0;.*\s+rv:)(\d+)
    When matched: Redirect to URL with HTTP code 301 – Moved Permanently
    Matched Target: /internet-explorer
    Unmatched Target: (?)
    Group : redirections Position : 0
    ————
    Could you give me some advices ?
    Thanks

    Thread Starter luckybxl

    (@luckybxl)

    NEVERMIND ! It’s now working, sorry to bother !

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Redirect IE users’ is closed to new replies.