$modx->setPlaceholder('faq', 'your-value');
$modx->sendForward($id);
[[!snippet? &faq=`[[!+faq]]`]]
<?php
if ($modx->event->name == 'OnPageNotFound') {
$uri = $_SERVER['REQUEST_URI'];
if(strpos($uri, 'faq/')){
if(preg_match("#\/faq\/(\d+)\.html#i",$uri,$uriMatches)){
$faqId = $uriMatches[1];
$_GET['faq'] = $faqId;
$modx->sendForward(258);
}
}
}