09-22-2011, 12:10 PM
Well this is a must-do for all the MyBB forum owners in order to protect their Forums being hacked. I had many forums, which were recently hacked due to less security. Changing the Admin CP directory gives you extra security. This is because if someone hacks your Administrator password, then they will need your admin CP directory link to login. And if they dont know the Admin CP directory link, then they wont be able to harm your forum. Ok so lets get started with the tutorial.
Let's say you wanted to change it from /admin/ to /iamsecured/
Open:
inc/config.php
Find:
You then need to simply change 'admin' to what you want:
Finally, go to your Cpanel and rename /admin/ to /iamsecured/
The above step is very important, you must remember to change the directory name!
You should now remove the admin control panel links from the whole forum to prevent anyone from finding the new link. To do this:
Go to your Cpanel again.
Open
inc/config.php
Find:
And change it to:
Now you are secure enough. Leave a feedback if you found it helpful.
Let's say you wanted to change it from /admin/ to /iamsecured/
Open:
inc/config.php
Find:
Code:
$config[admin_dir] = admin;
Code:
$config[admin_dir] = iamsecured;
The above step is very important, you must remember to change the directory name!
You should now remove the admin control panel links from the whole forum to prevent anyone from finding the new link. To do this:
Go to your Cpanel again.
Open
inc/config.php
Find:
Code:
$config['hide_admin_links'] = 0;
And change it to:
Code:
$config['hide_admin_links'] = 1;
Now you are secure enough. Leave a feedback if you found it helpful.