<![CDATA[ how to use ipCountryRedirect - MODX Community Forums]]> https://forums.modx.com/thread/?thread=104866 <![CDATA[how to use ipCountryRedirect]]> https://forums.modx.com/thread/104866/how-to-use-ipcountryredirect#dis-post-563865 https://github.com/jdaehne/ipCountryRedirect
Docs is not enough for me. I do not understand how to set it.
What means :
Step
Define all your country-codes in your contexts with the context-key ipcr.countries. Example:

de = de,at,ch
us = us

??
I can see this name into the context settings tab filtering from core to ipCountryRedirect but not sure what can be done there.
and the goal is to set to eng context for non French speaker countries

Thanks

full doc:

f you have 3 Context:

web = Root-Context
de = Germany
us = USA
1. Step
Place the Snippet [[!ipCountryRedirect]] into your Root-Context (web) into your site_start.

2. Step
Define all your country-codes in your contexts with the context-key ipcr.countries. Example:

de = de,at,ch
us = us
Finished!
]]>
elz064 Jan 31, 2019, 03:22 PM https://forums.modx.com/thread/104866/how-to-use-ipcountryredirect#dis-post-563865
<![CDATA[Re: how to use ipCountryRedirect]]> https://forums.modx.com/thread/104866/how-to-use-ipcountryredirect#dis-post-564541
Seems like you need to, at the very least register with https://www.iplocate.io/ to enable their service.

If that is not a requirement then you have to define your contexts, please see here https://docs.modx.com/revolution/2.x/administering-your-site/contexts]]>
moonkin_dk Mar 21, 2019, 11:11 PM https://forums.modx.com/thread/104866/how-to-use-ipcountryredirect#dis-post-564541