---
name: "MojoMojo::Formatter::Redirect"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Formatter::Redirect"
---

# MojoMojo::Formatter::Redirect(3pm)

Handles {{redirect /path}}

## NAME

MojoMojo::Formatter::Redirect - Handles {{redirect /path}}

## DESCRIPTION

Redirect to another page. Useful if your URL changes and you want to make sure bookmarked URLs will still work: `"/help/tutrial"` could contain: `"{{redirect /help/tutorial}}"`

To edit a page that redirects, surf to `$page_URL` . '.edit' See also http://mojomojo.ideascale.com/akira/dtd/6415-2416

## METHODS

### format\_content\_order

Format order can be 1-99. The Redirect formatter runs first.

### format\_content

Calls the formatter. Takes a ref to the content as well as the context object.

## SEE ALSO

MojoMojo, Module::Pluggable::Ordered, URI::Fetch

## AUTHORS

Marcus Ramberg \<mramberg@cpan.org\>

## LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
