core-bundle/src/Resources/contao/pages/PageForward.php
public function generate($objPage)
	{
		$this->redirect($this->getForwardUrl($objPage), $this->getRedirectStatusCode($objPage));
	}
public function generate($objPage)
	{
		$this->redirect($this->getForwardUrl($objPage), $this->getRedirectStatusCode($objPage));
	}
Redirect to an internal page

@param PageModel $objPage