Additional Details
Be very careful on how you configure this
filter. You always want to provide a way to get back to this page,
without it redirecting, so that you can edit your lava. Below are two
strategies for doing this.
If your lava is inside of an HTML block you can use that block's
'CurrentPersonCanEdit' merge field to stop the redirect if the
current user has edit access to the block. An example of this usage
is below.
{% if CurrentPersonCanEdit %}
<p class="alert alert-warning">If you could not edit you would be redirected to: <a href="http://www.rockrms.com">http://www.rockrms.com</a>.</p>
{% else %}
{{ 'http://www.rockrms.com' | PageRedirect }}
{% endif %}
Another strategy to allow the editing of the lava content is to
add ?Redirect=false to the query string. If the lava filter sees
this in the page's address it will not perform the redirect. Instead
it will display the link that it would have redirected to.
Example:
{{ Event.ExternalUrl | PageRedirect }}
The current page request will be redirected to the address provided.