Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should Geomate read and redirect based on GeoMateRedirectOverride cookie? #39

Closed
danethomas opened this issue Feb 26, 2021 · 2 comments
Closed

Comments

@danethomas
Copy link

More of a question asking about the default or recommended behaviour.

I've got a site switcher that makes use of the addOverrideParam and this sets the GeoMateRedirectOverride cookie with value. If a user was to visit the site again (before the cookie expired) should they automatically be directed to what's set in the cookie?

Does GeoMate handle this or should this be done via a regular direct in the index template?

Thanks.

@aelvan
Copy link
Contributor

aelvan commented Feb 26, 2021

If autoRedirectEnabled is enabled and applicable for the session, GeoMate should automatically redirect to the site selected in the site switcher, yes. Have you tested it and it's not working as expected?

@danethomas
Copy link
Author

@aelvan thanks for the reply. I think my development 'forceIP' was playing a factor here. Pushed up onto a staging site and everything looks to be working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants