how to hide admin login URL without Jscure ?

General questions relating to Joomla! 3.x. Please consider the availability of third-party templates and extensions when deciding which Joomla version to use.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
lounis_hamza
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 07, 2018 4:55 pm

how to hide admin login URL without Jscure ?

Post by lounis_hamza » Fri Feb 23, 2018 12:45 am

how to hide admin login URL without Jscure ?
jscure is cool and get the jobe done but i need something else
need something to prevent direct access to administrator folder and hide it at the same time

my joomla is 3.8.5
Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/7.0.12
PHP version: 7.0.12

User avatar
sozzled
Joomla! Champion
Joomla! Champion
Posts: 6065
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: how to hide admin login URL without Jscure ?

Post by sozzled » Fri Feb 23, 2018 1:04 am

There are several extensions that will do this for you:

1) Akeeba Admin Tools
2) AdminExile
3) RS Firewall!
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?

venci
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Sat Nov 17, 2012 6:10 am

Re: how to hide admin login URL without Jscure ?

Post by venci » Fri Feb 23, 2018 7:34 am

Hi,
Create a .htaccess file with the following code

Code: Select all

Deny from All
Allow from xxx.xxx.xxx.xxx
Replace xxx.xxx.xxx.xxx with your IP address
Put the file in the administrator folder
Now only from this IP address you will have access to this folder
Hope this helps

User avatar
JAVesey
Joomla! Ace
Joomla! Ace
Posts: 1844
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: how to hide admin login URL without Jscure ?

Post by JAVesey » Fri Feb 23, 2018 11:51 am

sozzled wrote:There are several extensions that will do this for you:

1) Akeeba Admin Tools
2) AdminExile
3) RS Firewall!
I highly recommend using AdminExile together with 2-Factor Authenication on Super-User/Admin User accounts.

Also, and to add to sozzled's list, the free version of the SecurityCheck component has admin URL masking available if you want to use it (attempting to access /administrator will give a 404 response). I use SecurityCheck (it's good!), but have chosen not to use this particular function.
John V
Cardiff, Wales, UK
Uses Joomla 3.9.1

User avatar
JAVesey
Joomla! Ace
Joomla! Ace
Posts: 1844
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: how to hide admin login URL without Jscure ?

Post by JAVesey » Fri Feb 23, 2018 3:28 pm

venci wrote:Hi,
Create a .htaccess file with the following code

Code: Select all

Deny from All
Allow from xxx.xxx.xxx.xxx
Replace xxx.xxx.xxx.xxx with your IP address
Put the file in the administrator folder
Now only from this IP address you will have access to this folder
Hope this helps
This assumes that the OP is on a fixed IP Address. will cause major headaches if not :laugh:
John V
Cardiff, Wales, UK
Uses Joomla 3.9.1

venci
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Sat Nov 17, 2012 6:10 am

Re: how to hide admin login URL without Jscure ?

Post by venci » Sat Feb 24, 2018 12:46 am

JAVesey wrote:
venci wrote:Hi,
Create a .htaccess file with the following code

Code: Select all

Deny from All
Allow from xxx.xxx.xxx.xxx
Replace xxx.xxx.xxx.xxx with your IP address
Put the file in the administrator folder
Now only from this IP address you will have access to this folder
Hope this helps
This assumes that the OP is on a fixed IP Address. will cause major headaches if not :laugh:
Yes I use only 2-3 IP address to access my site as administrator.
I use this method for 3-4 years and i have no problems.

User avatar
sozzled
Joomla! Champion
Joomla! Champion
Posts: 6065
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: how to hide admin login URL without Jscure ?

Post by sozzled » Sat Feb 24, 2018 1:18 am

My IP address changes every couple of days. Therefore the approach recommended by @venci only works if people use static IP addresses. IP-based access rules in .htaccess files are generally not used; that's not my personal belief, by the way but a widely-held view. You're entitled to dispute my opinion if you like; it doesn't worry me in the least. I don't use this approach and I won't recommend it to others.
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?


Post Reply

Return to “General Questions/New to Joomla! 3.x”