Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Extra Security]How to change Admin CP directory
#1
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:
Code:
$config[admin_dir] = admin;
You then need to simply change 'admin' to what you want:

Code:
$config[admin_dir] = iamsecured;
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:
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.


Reply


Messages In This Thread
[Extra Security]How to change Admin CP directory - by imtiaze - 09-22-2011, 12:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  1st Post approved by Admin? Help! MintChip 1 731 08-08-2012, 12:26 PM
Last Post: BlackChaos
  How to change MyBB admin directory? iRun 3 2,040 03-02-2012, 08:22 PM
Last Post: HaX420
  Hacked admin account (urgent) Madness 7 1,562 09-08-2011, 02:01 PM
Last Post: AceInfinity
  MyBB Admin Control Panel Problem P.TanweerAhmad 4 3,224 08-04-2011, 02:56 AM
Last Post: P.TanweerAhmad
  [MYBB] Forum icons (on.gif, off.gif, offlock.gif), do not change for Admin usergroup Camgaertner 2 3,318 07-11-2011, 02:35 PM
Last Post: Glassy

Forum Jump:


Users browsing this thread: 2 Guest(s)