HS Redirect

Developer

Kevin Smith - Hearsay

3rd Party (Free)

50 downloads (last 90 days)

MIT License Download v1.0.1

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Redirects current EE template to a given location.

HS Redirect is a simple plugin that will redirect to an internal or external location. It can be used, for example, to redirect a visitor to a login page if they need to login before viewing the page.

Examples

External links:

{exp:hs_redirect location="http://www.google.com"}

Internal links (template paths):

{exp:hs_redirect location="blog/entry/12345"}

Other Parameters

method="script"

- PHP redirection is the default, but you can also choose to use javascript redirection by using the method="script" parameter. (This is useful if you need the current template to register as the referrer of the page to which this plugin is redirecting.)

logged_in=""

- Options are 'yes' or 'no'.
- If either values are entered in the parameter, the plugin will only be processed for visitors whose logged-in status matches the value.

group_id=""

- Enter the member group's numerical ID.
- If included, then the plugin will only be processed for visitors who are part of this group.

referrer="true"

- If included, then the plugin will use the web address of the page which referred to this template as the redirect location, effectively redirecting back to the same page that linked to this one.
- The fallback, if the $_SERVER["HTTP_REFERER"] variable cannot be determined, is to use the location parameter.
- When combined with logged_in="yes", this is helpful to keep login pages from accidentally being displayed to logged-in visitors, for example.

Download HS Redirect

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0.1 Oct 26, 2010

HS Redirect Links

This entry was created October 26, 2010, 9:20 pm.
This entry was last updated January 20, 2011, 1:05 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

johnniefp 05.03.13

Rating - {addon_rating_average}

Very simple and works, does what it says on the tin.

Gummibear Lab 09.22.12

Rating - {addon_rating_average}

Very handy!

tlloyduk 03.06.12

Rating - {addon_rating_average}

Simple and great. This should be part of EE by default!