Suggestion: Only Redirect If First Time Visit per session
-
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
- The topic ‘Suggestion: Only Redirect If First Time Visit per session’ is closed to new replies.