Here's a short snippet that retrieves the page title in Magento.
You can use in your theme files or in any module.
$headBlock = $this->getLayout()->getBlock('head');
// Just to make sure it doesn't return an error
if ($headBlock) {
echo $headBlock->getTitle();
}
Code language: PHP (php)
Is that the title code works with Custom redirects too?
Dunno, give it a try and let us know ๐