Multiple 404 error handlers for multi-domain web-sites + typo3
Its very important for multiple domain to set diffrent 404 error handlers
you can set following script in your local configuration
$TYPO3_CONF_VARS["FE"]["pageNotFound_handling_statheader"] = 'HTTP/1.1 404 Not Found'; if ($_SERVER['HTTP_HOST'] == 'www.jainishsenjaliya.com') { $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'REDIRECT:http://jainishsenjaliya.com/404.html'; } else { $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'REDIRECT:http://m.jainishsenjaliya.com/404.html'; }
If you have any queries, please do not hesitate to contact me at Jainish Senjaliya