MyBB Tutorials

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

Submitted by andree23, , Thread ID: 1770

Thread Closed
andree23
Newbie
Level:
0
Reputation:
0
Posts:
16
Likes:
1
Credits:
21
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)

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
08-03-2015, 07:22 PM
#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)

JumpingJack
Member
Level:
0
Reputation:
9
Posts:
141
Likes:
6
Credits:
6
28-09-2015, 09:43 AM
#3
Nice tutorial.thanks for it.

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

Herokage
Junior Member
Level:
0
Reputation:
0
Posts:
64
Likes:
2
Credits:
35
29-09-2015, 03:46 AM
#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)