I want to display admin login on home page. How can I do this?
Any help will be appreciated.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Besides from how it is possible, you really don't want to do this. Most people take effort in changing the admin URL into something that cannot be guessed (easily).
There are many automatic crawlers (built by hackers) that crawl the internet in search of Magento webshops. Once they find one, these scripts will test the Magento webshop for vulnerabilities, much like a tool like MageReport can scan your webshop from the outside also.
One of those vulnerabilities (or at least access to more vulnerabilities) is an "exposed" admin login. Theses scripts will try
/admin/ as very first of course.
When hackers have your admin login URL, then they can try to login your admin by a brute force attack (try many, many user/password combinations, one after another). I've seen such attacks in log files, targeting
If you have changed your
/admin/ URL, then hackers have to try harder to be able to do such a brute force attack:
/admin/ will return a 404 response.
Now, if you are giving your admin login away, right on your home page, then you will "set the gates open" to hackers. So, no, please don't do it! (for whatever the reason might be)