Jump to content

How to hide /admin to public?


Recommended Posts

On 3/18/2022 at 4:19 PM, FelixT said:

Could you please help? ... May i know How to hide .............../admin to public?

Regards,

What do you mean by hiding admin to public? Are you worried about the security? If so, you can use the required multi factor authentication to access the Admin Panel. 

Link to comment
Share on other sites

On 3/21/2022 at 8:07 AM, Chris Anderson said:

Check out the following guide:

You can add the following to your constants.php file:

Constant - CP_DIRECTORY

Use - Name of your admin CP directory when changed from the default of 'admin'

Example value - 'newcpdirectory'

 

Thank you so much for your info and help.....will try that.

Link to comment
Share on other sites

CP_DIRECTORY is deprecated 

//--------------------------------------------------------------------------------------
// DEPRECATED OPTIONS: CHANGE AT YOUR OWN RISK
// These constants were once customisable but their fucntionality should now be
// considered deprecated.

// AdminCP Obscurity Settings
// It was once recommended for site owners to rename the directory for security
// and set the CP_DIRECTORY constant so some links still work, the upgrader can put
// files in the right place, etc. While it is still honoured, it is no longer recommended
// as much more secure alternatives like two factor authentication now exist.
'CP_DIRECTORY'	=> 'admin',	// The name of the directory where the AdminCP is

 

Link to comment
Share on other sites

Sonya is correct. While renaming the admin folder is still possible at this time, the option to do so will be removed in an upcoming release, so please plan accordingly.

We strongly recommend using 2FA for anyone that has ACP access.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...