[How To] Change directory of admin/ mod CP

Theres options to do this in your includes/config.php file:
Code:
//	****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
	//	This setting allows you to change the name of the folders that the admin and
	//	moderator control panels reside in. You may wish to do this for security purposes.
	//	Please note that if you change the name of the directory here, you will still need
	//	to manually change the name of the directory on the server.
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
 
OK I tried that, but when I click the 'mod' link at the bottom of the homepage, it takes me there, but the cp is still at the old location. Any ideas?
 
h@ck3r said:
OK I tried that, but when I click the 'mod' link at the bottom of the homepage, it takes me there, but the cp is still at the old location. Any ideas?

Did you rename the folders on your server aswell?
 
Thanks Hoxxy. That'll teach me for playing with VB while half asleep.

Works a treat. I forgot to move all my files to the /forum directory :D

All done now and working fine.

Thanks again
 
I dont know but if people know where your cpanel is stored, they know which directory to attack.

So maybe wise moving it. :)
 
Back
Top