Is there anyway to have it point to the current page?
<base href="[!CurrentPage!? &thisID=`[*id*] !]></base>
return $modx->makeURL($thisID); // for a relative URL // or return $modx->makeURL($thisID,'', '', 'full'); // for a full URL