For the site, everything works, I need for the admin panel.
If on the site.ru/admin page site.ru/admin enter the login or password incorrectly, you will be redirected to the site.ru/admin/index.php?route=common/login page.
How can this be removed using .htaccess or maybe it can be fixed as it is in the code? It is necessary that when forwarding was on site.ru/admin .