• Resolved ljupche

    (@ljupche)


    Hello,

    I am using this plugin to make a redirect to the correct language, depending on the user location.
    I have set up these two redirects: From Germany, when visits: /mk/(.*)/, redirect to /de/(.*)/. And reverse for all users not from Germany.

    My ideal use would be whenever the user opens the site in a new tab, the redirect works. If the user then changes the language using the language selector in the current tab, the redirect does not work.

    I believe this can be achieved if the session is used to store the data that the redirect has happened instead of the cookies. Also this could be another option in the plugin options.

    I am open to possibly contributing to the plugin and trying to set all of that up myself.

    Regards,
    Ljupche

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sajjad Hossain Sagor

    (@sajjad67)

    i am not sure what issue you are facing here… please could you explain a little bit more with some examples please!

    Plugin Author Sajjad Hossain Sagor

    (@sajjad67)

    it’s been many days so closing the topic here…

    Hi, I think Ljupche was try to said is when users visit for the first time, a cookie is activated on their browser and they are redirected according to the rule settings. Redirect won’t work again until the cookie expires. That is what I’m looking for as well.

    Plugin Author Sajjad Hossain Sagor

    (@sajjad67)

    @kaiafan so you want to reset the settings on each browser session?

    Thread Starter ljupche

    (@ljupche)

    Hi,

    Sorry for being AWOL, @kaiafan’s request is exactly what I was looking, but I ended up with some kind of workaround that I cannot remember currently…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Suggestion: Only Redirect If First Time Visit per session’ is closed to new replies.