The mgiRedirect Tag

Tag Behavior

Use the mgiRedirect tag to redirect an incoming HTTP request to a specified page. Note: MGI tags are parsed in order from the top of a page to the bottom of a page, so when an mgiRedirect tag is encountered a visitor is immediately redirected to the specified page and any MGI tags located below (after) the mgiRedirect tag will not be parsed (although MGI tags encountered before the mgiRedirect tag will be parsed completely).


Tag Syntax

The mgiRedirect tag has one required parameter. The tag form is:

<mgiRedirect url="URL">

Required Parameters:

  • url - The url is the URL address where the browser is redirected.

Optional Parameters:

  • None.


Example Usage and Output

<mgiRedirect url={mgiPostArgument name="Navigation"}>

In this example, the mgiRedirect tag is used in conjunction with a pop-up list and form to redirect visitors to a specific page of a web site. When a visitor selects and submits an option from the pop-up list, the mgiRedirect tag redirects to the URL that was selected.


Suggested Usage

  • Pop-Up Menu Navigation Links.
  • Outdated Links
  • Conditional Comparisons


[Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]


[MGI Guides Main Menu] [User Guide Main Menu]