<txp:txp_die /> single tag, 2 attributes

txp_die

The txp_die tag is a single tag that will terminate normal page rendition and return the given status to the user agent (browser, search engine crawler, feed aggregator). An error page will also be returned to the user agent.

The status can be displayed by the error_status tag. A textual message can be associated with the error status and retrieved with the error_message tag. See also: Custom Error Pages.

attributes

msg="unset" 
  • Textual representation of the error condition.
status="503" 
  • Numerical representation of the error condition.
  • Typical values: 404, 403, 401, 408, 410, 304, 503, or any other valid status code
<txp:txp_die /> 1 examples

Force a 404 ‘not found’ error

<txp:txp_die status="404" />