<redirect-to> redirect to a new location
- name
- redirect-to
- xml namespace
- http://moyaproject.com
Redirect to new location.
Example
<redirect-to url="http://www.moyaproject.com" />
<redirect-to path="../newuser?result=success" />
attributes
name |
purpose |
type |
required? |
default |
choices |
code |
HTTP response code (use 301 for permanent redirect) |
http status code |
No |
|
|
fragment |
Fragment component in url |
text |
No |
|
|
path |
New path portion of the url, may be relative |
text |
No |
|
|
query |
Mapping expression to use as a query string |
expression |
No |
None |
|
url |
Destination URL |
text |
No |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|