Redirect Plugin
Developer
3rd Party (Commercial)
EE Version Support
- ExpressionEngine 1.x
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
Basically if you place this into a template then you will be re-directed to the URL specified in the location parameter.
Plugin Usage :
This plugin is exceptionally simple to use. Place the following tag on any template as shown below :
Using full URL - useful for external sites.
{exp:redirect_to location="http://www.yahoo.com"}
or using paths instead - useful for internal links.
{exp:redirect_to location="news/detail/news_story"}
By default PHP redirection will be performed. If PHP redirection does not work,
use javascript redirection by adding method=“script” parameter.
{exp:redirect_to location="news/detail/news_story" method="script"}
If it is impossible by usual means to check if condition for redirection was met or not you can check it by wrapping the code expressing condition by
{exp:redirect_to}{/exp:redirect_to}
tags.
Redirection will be performed if the code wrapped by {exp:redirect_to}{/exp:redirect_to} tags will produce no output.
{exp:redirect_to location="my_template_group/my_template" method="script"}
{exp:query sql="SELECT title FROM exp_weblog_titles WHERE weblog_id = '5' AND url_title ='My title'"}
{title}
{/exp:query}
{/exp:redirect_to}
If you want that redirection would be performed on condition that certain output were produced, you should enter expected string as a value of “tagdata” parameter. Then the redirection will be performed if the string entered as “tagdata” parameter value and output of the code wrapped by {exp:redirect_to}{/exp:redirect_to} tags are identical. (Tabs, spaces and new line characters will be stripped.) In example below redirect will occur if {exp:query tag} will produce string “1”.
{exp:redirect_to location="my_template_group/my_template" tagdata="1" method="script"}
{exp:query sql="SELECT title FROM exp_weblog_titles WHERE weblog_id = '5' AND url_title ='My title'"}
{total_results}
{/exp:query}
{/exp:redirect_to}
Redirect Plugin Links
This entry was created October 3, 2008, 3:27 pm.
This entry was last updated June 27, 2011, 1:24 am.
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.
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!