{"id":234056,"date":"2025-05-25T05:37:57","date_gmt":"2025-05-25T05:37:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-country-redirect-with-ip-geolocation\/"},"modified":"2025-12-19T05:28:17","modified_gmt":"2025-12-19T05:28:17","slug":"simple-country-redirect-with-ip-geolocation","status":"publish","type":"plugin","link":"https:\/\/cl.wordpress.org\/plugins\/simple-country-redirect-with-ip-geolocation\/","author":15275116,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.8","stable_tag":"1.0.8","tested":"6.9.4","requires":"6.8","requires_php":"8.0","requires_plugins":null,"header_name":"Simple Country Redirect with IP geolocation","header_author":"Tahir Asadli","header_description":"Redirects visitors based on their country using Cloudflare's IP geolocation.","assets_banners_color":"","last_updated":"2025-12-19 05:28:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/tahir-asadov.github.io\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1354,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"tahirasad","date":"2025-05-25 05:37:28"},"1.0.4":{"tag":"1.0.4","author":"tahirasad","date":"2025-05-25 17:53:09"},"1.0.5":{"tag":"1.0.5","author":"tahirasad","date":"2025-06-03 10:21:13"},"1.0.6":{"tag":"1.0.6","author":"tahirasad","date":"2025-06-20 14:44:31"},"1.0.7":{"tag":"1.0.7","author":"tahirasad","date":"2025-12-19 05:27:43"},"1.0.8":{"tag":"1.0.8","author":"tahirasad","date":"2025-12-19 05:28:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3300089,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3300089,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3300089,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Screenshot of the plugin settings page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3882,3751,4124,218950,727],"plugin_category":[49],"plugin_contributors":[242812],"plugin_business_model":[],"class_list":["post-234056","plugin","type-plugin","status-publish","hentry","plugin_tags-cloudflare","plugin_tags-country","plugin_tags-geolocation","plugin_tags-geolocation-redirect","plugin_tags-redirect","plugin_category-maps-and-location","plugin_contributors-tahirasad","plugin_committers-tahirasad"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-country-redirect-with-ip-geolocation\/assets\/icon-128x128.png?rev=3300089","icon_2x":"https:\/\/ps.w.org\/simple-country-redirect-with-ip-geolocation\/assets\/icon-256x256.png?rev=3300089","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-country-redirect-with-ip-geolocation\/assets\/screenshot-1.png?rev=3300089","caption":"Screenshot of the plugin settings page."}],"raw_content":"<!--section=description-->\n<p>The Country Redirect plugin allows you to redirect users based on their country using Cloudflare's IP Geolocation feature. You can configure custom redirection rules based on the user's country.<\/p>\n\n<p>It also allows you to enable or disable redirection, and configure the duration of a cookie that prevents repeated redirections. The plugin is fully configurable through a settings page in the WordPress admin dashboard.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Redirect users based on their country using Cloudflare's IP Geolocation.<\/li>\n<li>Add, edit, and delete country-to-URL redirection rules from the WordPress admin.<\/li>\n<li>Enable\/disable redirection functionality directly from the settings page.<\/li>\n<li>Set the cookie lifetime to prevent repeated redirection.<\/li>\n<li>Secure and follows WordPress plugin standards.<\/li>\n<\/ul>\n\n<h3>Configuration<\/h3>\n\n<ul>\n<li><strong>Enable Redirects<\/strong>: Enable or disable the plugin's redirection feature.<\/li>\n<li><strong>Redirect Rules<\/strong>: Define country-to-URL redirection rules in the settings.<\/li>\n<li><strong>Cookie Lifetime<\/strong>: Configure how many days to prevent repeated redirection.<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>If you encounter any issues or need help, please visit the plugin's support forum on WordPress.org.<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later license.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the plugin settings page to add redirection rules and configure the plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20add%20redirection%20rules%3F'><h3>How do I add redirection rules?<\/h3><\/dt>\n<dd><p>Go to the plugin settings page in the WordPress admin and enter the country-to-URL mapping in the \"Redirection Rules\" section.<\/p><\/dd>\n<dt id='how%20does%20the%20plugin%20know%20the%20user%27s%20country%3F'><h3>How does the plugin know the user's country?<\/h3><\/dt>\n<dd><p>The plugin uses Cloudflare's IP Geolocation feature to detect the user's country.<\/p><\/dd>\n<dt id='how%20does%20the%20cookie%20work%3F'><h3>How does the cookie work?<\/h3><\/dt>\n<dd><p>Once a user is redirected based on their country, a cookie is set to prevent the user from being redirected again during the specified lifetime.<\/p><\/dd>\n<dt id='can%20i%20turn%20off%20the%20redirection%20feature%3F'><h3>Can I turn off the redirection feature?<\/h3><\/dt>\n<dd><p>Yes, you can enable or disable the redirection functionality from the plugin settings page.<\/p><\/dd>\n<dt id='where%20do%20i%20configure%20the%20redirect%20url%20for%20each%20country%3F'><h3>Where do I configure the redirect URL for each country?<\/h3><\/dt>\n<dd><p>You can add or edit the country-to-URL mapping directly from the plugin settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Confirmed compatibility with WordPress 6.9<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Confirmed compatibility with WordPress 6.9<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Reorganize plugin files &amp; folders<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fix bug on settings page<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Update text domain<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update text domain<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Update plugin informations<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Add placeholders to input fields<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Added functionality to redirect users based on Cloudflare\u2019s IP Geolocation.<\/li>\n<li>Ability to add, edit, and delete country-to-URL redirection rules.<\/li>\n<li>Configurable cookie lifetime to prevent repeated redirects.<\/li>\n<\/ul>","raw_excerpt":"Redirects users based on their country using Cloudflare IP geolocation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/234056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=234056"}],"author":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tahirasad"}],"wp:attachment":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=234056"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=234056"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=234056"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=234056"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=234056"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=234056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}