1. Home
  2. Docs
  3. Redirect Controller
  4. Uses of Plugin
  5. Standard Use Cases

Standard Use Cases

Redirect URL with almost everything like Geolocation, IP Address, Request URL, User Role, Guest User, Date and Time, Mobile, Page, Post, Category etc… with 37 different options with any combination.

Click here for the complete list of options available for defining the business rule.

Target URL : URL to which you want to redirect
ex : In our sample use case it is http://megaedzee.com/demo/
Standard Rule : Standard Rule is which we can define rules without using any Logical Conditions (AND, OR) if we define more than one rule this will take Logical “AND” Condition automatically.

Advanced Rule : Advanced Rule is which we can define rules with using Logical Conditions (AND, OR).This Advanced Rule is Ultra flexible for creating more logical rules.

Redirect by Country


Redirect all the users who are coming from a specific geographic location country then add rule using “Geo Location” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are coming from the countries US, UK, Germany, Canada and Australia.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: Add Rule, In these case country contains any of US,UK,Germany,Canada,Australia added (Rule in which case you want to redirect).

Redirect by City

Redirect all the users who are coming from a specific geographic location city then add rule using “Geo Location” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are coming from the cities New York, London, Berlin, Toronto and Sydney.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: Add Rule, In these case city contains any of New York,London,Berlin,Toronto,Sydney added (Rule in which case you want to redirect).

How to configure Cities DB :

Go to Global Settings under Mega Platform menu, Click on the Download DB button, Cities Database gets downloaded. Select the Cities DB from the drop down and click on the Save Setting button.

To Know more information click here Configuration

Redirect by Region


Redirect all the users coming from specific geographic location region, in such case add rule using “Geo Location” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are coming from the regions New York, England, Berlin, Ontario and New South Wales.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: click Show confirm redirect popup (Here check box clicked)

To Know popup information click here Redirect Popup

step 7: Add Rule, In these case Region contains any of Newyork,England,Berlin,Ontario,South wales added (Rule in which case you want to redirect).

Redirect by Mobile

Redirect all the users coming from sepcific mobile devices, in such case add rule using “Mobile Device” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are coming from iPhone.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: Add Rule, In these case Mobile equal to iPhone added (Rule in which case you want to redirect).

Redirect by User Role

Redirect all the user who are coming from a specific user roles like administrator, author, etc. In such case add rule using “User Role” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are having the user roles as Editor, Author and Contributor.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: click Show confirm redirect popup (Here check box clicked)

To Know popup information click here Redirect Popup

step 7: Add Rule, In these case User role name contains any of a author,editor,contributor added (Rule in which case you want to redirect).

Redirect by Request URL

Redirect all the users accessing your site from a specific URL, in such case add rule using “Request URL” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are accessing “http://megaedzee.com” home page.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: click Show confirm redirect popup (Here check box clicked)

To Know popup information click here Redirect Popup

step 7: Add Rule, In these case URl equal to http://megaedzee.com added (Rule in which case you want to redirect).

Redirect by Date

Redirect all the users on a specific date like New Year, Christmas, etc. In such case add rule using “Date and Time” criteria.
In this case all the users redirect to “http://megaedzee.com/demo” who are accessing the website on 1st january 2018.

How to create rule :

step 1: Enter Rule name

step 2: Select Status

step 3: Enter Target URL (URL to which you want to redirect)

step 4: Select Redirect Type

step 5: Enter Rule Description

step 6: Add Rule, In these Date equal to 2018-01-01 added (Rule in which case you want to redirect).

Was this article helpful to you? Yes No

How can we help?