Hi, will it work If I provide a sub-directory, for example–example.com/jp, where example.com is for USA, and example.com/jp will be for japan and so on.
Regards
]]>I have setup the redirection for my website but it is not working in some countries. Can someone please help me with this?
The countries I have checked with are Nepal, Australia, France, and Germany.
]]>PHP Warning: Undefined array key "HTTP_USER_AGENT" in /path/to/wp-content/plugins/country-redirect/country-redirect.php on line 297
I presume this is happening on cron or wp cli.
I added a check for ! isset( $_SERVER['HTTP_USER_AGENT'] )
beforehand.
Hello,
We have a problem with redirects. We use Woodmart theme and it has a feature to enable “login to see prices”. When this feature is turned on, the redirect is not working. When it is off, it works. Do you know why it might be happening? We would appreciate if you can give us some directions.
Thanks!
]]>Hi, can you check the following?
EU, CN should go to adurolight.com but it goes to redirect site. I had entered nothing in EU and CN can you check this with me? Thanks,
]]>The plugin is simple and works well but it would be great if it offered some functionality for developers.
For example:
– A separate function to get the user’s country.
– A filter to skip redirection (or a named function to allow remove action).
It would be very easy to integrate those functions. If you are interested I could develop them.
]]>Hey there
This is still redirecting my UK site to the AU site. Regardless of me deleting the plugin. I will definitely use it later, my AU site note ready yet.
I’m interested in using this but I’m wondering if it works with a cache plugin enabled?
Thanks
]]>Hi good day,
I’ve added this plugin on my site But this plugin also redirects bot/search engine crawlers that’s why my SEO ranking going down. Even some page can’t crawl search engines because of country redirection.
How can we solve this? other wise this plugin working well.
Thanks
Hi,
?is it possible to avoid redirection using an URL parameterer?
For example URL?noredirect=true …
I have modified this piece of code to make it work, but i have no idea if this can be done otherwise:
/* ------------------------------------------------------------------------ *
* Redirect
* ------------------------------------------------------------------------ */
add_action( 'template_redirect', function () {
// redirect only NOT logged in users
// Added noredirect URL parameter
if ( is_user_logged_in() || isset($_GET['noredirect'])) {
return;
}
Regards,
Xavi
ERR_TOO_MANY_REDIRECTS
WP-Theme: Twenty Twenty-One
WordPress. Version 5.8.2
Plugin-Version 1.3.2
Date: 12.12.2021`
]]>First of all thank you for creating this excellent plugin. I would like to ask if you can add a feature to select different countries and redirect them to the same url. By doing this we don’t have to configure country by country if we want the same destination url.
]]>Hi,
the pop-up is appearing even after the selection of the adequate language. It is appearing several times. Am I doing something wrong?
Thank you very much.
Best regards,
]]>Is there a way to use your plugin when using a cache plugin?
]]>HI,
Redirect to the URL, set the URL, do not see the corresponding URL, why?
Hi There,
I’ve formatted the plugin correctly. It’s supposed to redirect from https://stagefigurit.wpengine.com/ to either https://stagefigurit.wpengine.com/uk or https://stagefigurit.wpengine.com/us if you are in either of these two countries. But I just get a page error
This page isn’t working
stagefigurit.wpengine.com redirected you too many times.
please can you help at all? is it that the page is cached by my host (wpengine)?
thanks
steve
Is it possible to exclude page from redirection
]]>I love the idea behind this plugin so much and all of the options, but it’s not working for me! I’ve tried it on two different sites now and am receiving an ERROR code:
This page isn’t working [website] redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
Please help! How do I fix this?
Hi,
iam searching for a plugin which can do following.
– Redirect only for special pages (frontpage)
– Redirect only for a specific country
– Redirect only if user is NOT LOGGED in (when user is logged in he can visit the frontpage)
Is this possible?
Thank you ??
]]>After implementing this plugin, I’ve been receiving reports that some countries aren’t redirecting properly. Would it be possible to implement some logging for troubleshooting?
]]>Hi,
Thank you for your great plugin. This plugin works great and its really easy but is missing one time redirect. For example if i need spanish people visit another url but also let open the option to see the other countries pages, the plugin must redirect only one time per ip. This way after redirection if user wants to back to other countries page he will not be redirected anymore.
If you have a solution for this, please help me.
Thank you
]]>Hi Andrii,
This is a great plugin that works seamlessly with no issues at all. Also setting up the plugin is really simple even for kids, thank you so much for this great plugin.
One thing I think is missing and that is IP Exclusion for some dedicated IP addresses so that I can access the site from my different personal devices without deactivating the plugin.
If you can add his features it would be really great and helpful for people like us.
Thanks
Wasim