<?php $rurl=$_REQUEST['url']; // Redirect the user to a new web site, and tell HTTP agents that the site has moved permanently $modx->sendRedirect($rurl, 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently'); ?>
[[redirectpage? &url=`http://www.domain.com/`]]
<?php
$rurl= isset($url) ? $url : '';
// Redirect the user to a new web site, and tell HTTP agents that the site has moved permanently
if($rurl !=''){
$modx->sendRedirect($rurl, 0, 'REDIRECT_HEADER', 'HTTP/1.1 301 Moved Permanently');
}
?>