Added support for homepage redirects from 'index.php?lang=...' requests.