MyBB Tutorials

simple step to change mybb admin login directory (no plugin)

Submitted by andree23, , Thread ID: 1770

Thread Closed
08-03-2015, 12:40 PM
This post was last modified: 08-03-2015, 12:50 PM by andree23
#1
it's simpel step for beginerto improve their mybb securityfrom hacker :rly:


Find file config.php in folder root/inc/

Code:
/**
* Admin CP directory
* For security reasons, it is recommended you
* rename your Admin CP directory. You then need
* to adjust the value below to point to the
* new directory.
*/

$config['admin_dir'] = '[color=#ff3333]admin[/color]';

change 'admin' with the name folder you want ex: xytxt
next go to your public directory hosting and rename the directory 'admin' use what you want. ex:xytxt (must same w/ $config['admin_dir'] =)

Quote:Ex :
Before
http://www.yourdomain.com/admin/index.php

After Rename
http://www.yourdomain.com/xytxt/index.php

when you wan to install some plugin, you must remane admin directory (in the plugin package) before you copy to your public directory inside package.

sorry if my english bad.. :rolleyes:
i am Muslim, indonesia is my country :8

RE: simple step to change mybb admin login directory (no plugin)

#2
Fix the color inside the code.

Another suggestion is to hide the ACP links on the same file (config.php)

RE: simple step to change mybb admin login directory (no plugin)

#3
Nice tutorial.thanks for it.

RE: simple step to change mybb admin login directory (no plugin)

#4
What does the color code have to do with anything? It will still have the bb code on the directory right?

Users browsing this thread: 1 Guest(s)