Acms-admin-wildcard-redirect is a project mainly written in PHP, it's free.
Average CMS Wildcard Admin Redirect WordPress Plugin
404: Not Found