EE 1
EE 2
GET Variable to Segment URL Redirect

Developer

Laurence Cope

3rd Party (Free)

BSD 3-Clause License

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
  • Entry API
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

This plugin will look at the GET URL variables and redirect the user to the segment version of the URL.

Description

This plugin will look at the GET URL variables and redirect the user to the segment version of the URL. For example, http://www.yourdomain.co.uk/template_group/?type=blue will redirect to http://www.yourdomain.co.uk/template_group/type/blue, or any template_group (it can be specified).

Suitable for submitting forms using the GET method for which the form variables will be appended to the URL as a GET variable, but you do not want to use PHP in the template to extract the variables.

Installation

Unzip and rename the folder to get_segment_redirect. Upload the get_segment_redirect folder to your system/expressionengine/third_party/ folder.

Usage

The plugin must be called in the template shown for that URL, as follows:
{exp:get_segment_redirect get_variable=“color” base_url=”/template_group/”}

For example, if you submit a form using GET, or link to this URL:
http://www.yourdomain.com/template_group/?color=blue

The user will be redirected to:
http://www.yourdomain.com/template_group/color/blue

Bugs & Feature Requests

https://github.com/amityweb/get_segment_redirect/issues

Before reporting bugs or requesting any features, please check that it does not already exist.

GET Variable to Segment URL Redirect Links

This entry was created August 28, 2012, 9:39 am.
This entry was last updated August 29, 2012, 12:29 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!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!