Comments (1)
Sounds like you didn't create the config file correctly. It's suppose to be a php file that returns an array, either with the config settings as keys, or with the config settings nested inside keys for environment. So, something like:
<?php
return [
'*' => [
'forceIp' => 'IP-NUMBER-HERE',
'autoRedirectEnabled' => true,
'redirectMap' => [
'korean' => 'ko',
'global' => '*'
]
]
];
Also note that if you're logged in as an admin, by default you won't be redirected. So either test in incognito mode, or toggle redirectIgnoreAdmins
in your config.
from geomate.
Related Issues (20)
- Should Geomate read and redirect based on GeoMateRedirectOverride cookie? HOT 2
- How to access geomate data in another plugin? HOT 2
- Allow disabling override paramter value completely HOT 3
- Macro "copyTextField" is not defined in template "_includes/forms". HOT 1
- addOverrideParam does funny things HOT 2
- Since updating to Craft 3.7 there have been many reports of re-direct loops occurring resulting in time outs HOT 5
- Feature request: Provide currency information
- Site Groups HOT 2
- Is there a way to autoRedirectEnabled only on first time page load? HOT 2
- craft.geomate.country.country.name null when using forced IP locally HOT 1
- Error when using 'redirectMapSimpleModeKey' => 'language', HOT 2
- Exception thrown when GeoIP databases are missing and `redirectMapSimpleModeKey` is set to `'language'`
- Auto-redirects based on browser-language should work regardless of GeoIP2 databases being present or not
- When assigned countries to the redirectMap they must be lower case otherwise the redirects won't work HOT 1
- Add setting for local IP HOT 1
- How to check what State/Province visitor is in?
- Craft CMS 4 update issues HOT 3
- Issue when behind NordVPN HOT 5
- 3.0.0-beta.1 - error when used with commerce 5 HOT 1
- No database found!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geomate.