How to password protect login URL?

micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2013-03-26 02:51

Hi,
In our site, only admins are allowed to post pictures and wondering if there's a way to add an extra layer of password using .htaccess? We have removed the login option from theme and manually type '/login' at the end of URL to login but the login option still shows up on "Dang! 404 Pages". It would really help if the login page was completely separate like wordpress (/wp-admin), so that it can easily be password-protected via .htaccess.

We are getting really concerned as we see lot of failed login attempts by end-users in the dashboard.

Thanks,
Mick

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Mon, 2013-04-01 14:20
micks80 wrote:
still shows up on "Dang! 404 Pages"

modules > gallery > views > error_404.html.php

micks80 wrote:
extra layer of password using .htaccess

Just do it the same as any other directory, but I'm not sure if that would affect other functions or not.

micks80 wrote:
if the login page was completely separate like wordpress

Don't know what WP does that different. What specifically?

micks80 wrote:
We are getting really concerned as we see lot of failed login attempts by end-users in the dashboard.

Why would you be seeing that? An htaccess layer may help, but it's moot if you don't have other things in place. And choose a strong username and password.