CodeCanyon

Country and Mobile Redirect for WordPress

Country and Mobile Redirect for WordPress

Country and Mobile Redirect is a WordPress plugin for redirecting or blocking site visitors based on various use cases. Redirect your visitors based on any combination of location (Country, State, City), language, IP, date, browser, mobile user and more. This Plugin uses SEO standard 301, 302 redirects and enables any page to be used as the 404 page and special features like country dropdown, redirect popup and many more. You can now define redirects like never before with zero coding necessary! WMLP compatible, translation ready and high performance.

Define redirect with almost everything like Geolocation, IP Address, Request URL, Third-Party URL, User Role, Guest User, Date and Time, Page, Post, Category etc 33 different options with any combination. Click here to know more.

Professional Edition comes with analytics and works with WordPress Multisite. Click here to download Professional Edition of this Plugin.

Functionality

Redirect/Block Visitors based on:
  • Geo Location (Continent, Country, State, Region, City). Uses MaxMind database for accurate Geo location.
  • IP address
  • Language
  • Browser
  • Date Range (Time, Month, Day of Week), Used to set the expire for page or Post or any URL.
  • Pages, Posts, Categories
  • Profile (User Id, User Role, Email Id)
  • Device (Tablet, Phone)
  • Mobile/Tablet OS (Android, iOS, Windows, etc.)
  • Mobile/Tablet Device (iPhone, Android Phone, Window Phone, iPad, Android Tablet, HP Touchpad, Blackberry)
  • Request URL, Request Parameters, Form Data, Response Cookies
  • Referral URL (Source of URL, Third-Party Websites)
  • Country dropdown shortcode, Using which user can be redirected to country specific website irrespective of Geo location. see demo
  • Redirect PopUp: A PopUp will be displayed. see demo
    • Configure Title, Heading, Sub Heading, Button Labels, Redirect URL.
    • Add image to the PopUp.
    • Configure Auto Redirect time.
    • Customize PopUp using configuration UI.
    • Remember user selection using cookie.
Features:
  • Works with WP Super Cache, W3 Total cache and other caching plugins. more info
  • Follows SEO standards by redirecting using 301 and 302 status codes.
  • 404 Error Handling: redirect to a custom page for 404 errors
  • “At least Once” Rule: Allows redirection to continue after rule is satisfied once
  • Bulk or Pattern Redirect: Redirect using the wild card () from one URL pattern to other. See special feature for more info.
  • Activate/Deactivate Rules
  • Back from mobile site to desktop site using simple parameter (bis_nrd=1).
  • Includes reusable RulesEngine Platform plugin, using which you can add AddOns. which can save customers approx 50% of the plugin cost. Example: WooCommerce and WP Category Controller – AddOn
  • Plugin include sample rules to define url redirection very quickly.
Compatibility:
  • WMLP
  • WooCommerce
  • WP Super Cache, W3 Total cache and other caching plugins.

Demo | View Tutorials

videoimage

Special features:

Redirect PopUp : Plugin comes with a configurable Redirect PopUp. Instead of auto redirecting, we can configure a Redirect PopUp, which will be shown to the users on site access. Below is the configured PopUp using the plugin.

Click here for redirect PopUp demo amazonImage

Redirect PopUp configuration

  • Configure PopUp to a single or multiple Countries, Region, City, Pages, Posts, Categories, User Roles, URLs, IP Addresses, dates etc and based on any combination.
  • Configure Title, Heading, Sub Heading, Button Labels, Redirect URL.
  • Add any image from WordPress media to the PopUp, image size option is also provided.
  • Configure Auto Redirect time.
  • Customize PopUp using configuration UI.
  • Remember user selection using cookie.(Cookie life time is one week)
  • Template based PopUp design for easy for customization.
  • Users Country, City and Region is derived using the below placeholders.
    • [bis_country_name] for Country
    • [bis_region_name] for Region
    • [bis_city_name] for City
    These place holders are helpful in defining the Headers and Sub headers in PopUp configuration page.

    ex:

    Shopping from India? Looking for Amazon.in?

    The above will be replaced with users country as shown below.

    Shopping from [bis_country_name]? Looking for Amazon.in?

    [bis_country_name] will be replace with India or United States dynamically depending on the user location.

PopUpConfiguration

Country drop down shortcode : Using which user will be redirected to country specific website irrespective of Geo location. Shortcode generates Countries list drop down with flags and works with any theme.This shortcode also provides option to include or exclude countries from default list and has a option to provide custom css class for dropdown.

User selected country is be stored in cookie used for future redirection. Below are different ways to include “country selector” short code.

Click here to configure the country dropdown.

CountryDropdown_new

  • [bis_country_selector] : Default usage to generate country drop down.
  • [bis_country_selector include=”IN,US” ] : Generate country drop down with only India and US countries.
  • [bis_country_selector exclude=”IN, US”] : Generate country drop down excluding only India and US countries.
  • [bis_country_selector exclude=”IN,US” eng_label=”true” ]: Generate country drop down excluding only India and US countries and drop down with English labels. eng_label can have true, false and only option and default value is false.
  • [bis_country_selector exclude=”IN,US” eng_label=”only” ]: Generate country drop down excluding only India and US countries and drop down with only English labels. eng_label can have true, false and only option and default value is false.
  • [bis_country_selector exclude=”IN,US” class=”custom-css” ]: Generate country dropdown excluding only India and US countries with custom dropdown class.

Bulk or Pattern redirect: Bulk or pattern redirect is useful, if customers want to redirect the URL of one pattern type to other pattern and keep the remaining part of the URL as is. This feature is extremely useful for WPML websites.

If source and target urls defined below

Source URL : http:/mywebsite.com/

Target URL : http:/mywebsite.com/en/**

Example:

Source URL: http:/mywebsite.com/product/product1

Redirected URL: http:/mywebsite.com/en/product/product1

Source URL: http:/mywebsite.com/product/product2

Redirected URL: http:/mywebsite.com/en/product/product2

Important Use Cases:
  • Redirect for Mobile Device: This is a very common use case where user from a mobile or tablet device should be redirected to a mobile sites, this can be achieved by defining a logical rule for Mobile and Tablet devices and use them in Redirect Rules.
  • Redirect by Geo Location: If you want to redirect all the user who are coming from a specific geographic location country or continent then define a logical rule using “Geo Location” Criteria.This is very useful when you want to redirect users to a local server.
  • Redirect by Role: You might be having a use case of redirecting specific role users to a different page, in such case define a logical rule using “User Role” criteria and use it in redirect rule.
  • Redirect by Request URL: Define a logical rule using Request URL Criteria and use this in defining Redirect Rule. Useful for static paths, like whenever user request from a http://test.com we can redirect them to http://test2.com
  • Redirect in Site Down Time: Define a Redirect for home, which can be simply achieved by defining a logical rule on Home Page and leveraging it in Redirect rule. You can use Date, Time, Day of Week and Month sub criteria to further refine the rule.
  • SEO Redirect: SEO redirects is an important for enhancing SEO, by using 301 redirects search engine will be informed that this page is moved to another one, which prevent indexing the two pages of the same content and will mark them as a duplicate content,
  • Activate or deactivate redirect rule: Redirect can be activated or deactivated. If the rule is deactivated the action pertaining to the rule will not be performed.
  • Standard rule support:

    Standard rules are simple to create and solves most of the use cases. Below rule is used to redirect to france Amazon site https://www.amazon.fr/. If the user access the global website http://www.amazon.com from france.

    FranceAmazonRedirect
  • Advance rule support:

    Advance rule is one of the key features of RulesEngine Platform. RulesEngine is very flexible for defining very complex logical rules using “AND” “OR” and “Brackets” operators.

    Below advanced rule is used to redirect to “http://rulesengine” website if the users from Washington or Sidney Cities or from India and date is less than Jan 01, 2017.

    ComplexRule


Release Notes

Version 5.0 – Oct 26, 2016.

This release has the following new features.
1. Performance improvements.
2. Now admin can use both MaxMind DB and MaxMind Webservice at the same time.
3. Bug fixes.

Version 4.7 – Sep 12, 2016.

This release has the following new features.

1. Now redirect target URL can maintain the parameters from source URL.
2. Redirect by Language.
3. Default value option added for country drop down.
4. Cache enabled for this site option added in settings for cached sites.
5. Bug fixes.

Version 4.5 – July 22, 2016

1.Redirect PopUp feature included. The PopUp is easily customization and also works with Super Cache and W3 Total Cache.
2.Shortcodes added for country, region and city, use
Country  [bis_country_name]
Region [bis_region_name]
City [bis_region_name]
3.Bug fixes.

Version 4.1 – July 07, 2016

1. Improved performance of plugin by consolidation and minification of  all js and css files into to single js and css file.
2. Added Trouble shoot page in setting section, to view the client ip and geo-location details.
3. Page loader added for better usability.
4.Bug fixes.

Version 4.0 – July 01, 2016

 This version includes two options for Geo-location. 

1. MaxMind countries database. 
2. Geo Plugin webservice.

Including MaxMind database as part of the plugin increased the performance for countries lookup based on the IP Address and provides accurate information.

3.This version includes contains and does contains for referral URL subcategory and bug fixes.

4.Country drop down shortcode :  This shortcode is used to generate country dropdown with country flags.
Below are different option used for displaying country dropdown.
 [bis_country_selector] : Default usage to generate country drop down.

Options : include, exclude, eng_label, see the documentation for more details.

5.Request Parameters : Enables customers to define redirection using the request parameters.
6.Request Form data :  Enables customers to define redirection using the submitted form data.
7.Response Cookies : Now customers can define redirection if cookie exists in the browser.
8.Fixed URL contains condition bug fix and other minor bug fixes.
9.Referral Redirect : New subcategory “Referral URL” added, which enables customers to define rules using the source of request. The Referral URL can also from Third-Party websites.
10. Evaluation Type : "At least Once” rule evaluation feature added in Logical Rules, which is useful if the customer want to perform redirection even if the rule is satisfied at-least once.
11. Auto rules refresh : After any rule add or update, no need to clear browser cache. Updated rule is effected on browser refresh.
12.Performance Improvements : This version contains an important fixes to improve the overall performance of the plugin by evaluating all the dynamic conditions at once.

Country and Mobile Redirect for WordPress v3.1 – Feb 03, 2016

     1. Fixed compatibility issue with download manager plugin.
     2. Fixed login debug message issue.
     3. Minor bug fixes.
Version 3.1 – Jan 28, 2016
     1. Fixed admin console css overriding issue and other minor bug fixes.
     2. WordPress 4.4.1 support.
Version 3.0 – Jan 05, 2016
      1.Redirect Rule Wizard:  Now Customer can create Redirect Rules using wizard. i.e No need to create a Logical Rule before creating the Redirect Rule.
      2.Included Rules Engine Standard Platform.
Country and Mobile Redirect for WordPress v1.0 – Nov 17, 2015
     1. Initial release.
by
by
by
by
by
by