Enhancements in router, added .htaccess