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

by andree23 - 08-03-2015, 12:40 PM
Newbie
Posts:
16
Joined:
Feb 2015
Likes:
1
Credits:
21
Reputation:
0
2 Years of Service
#1
OP
Posted: 08-03-2015, 12:40 PM (This post was last modified: 08-03-2015, 12:50 PM by andree23.)
it's simpel step for beginer to improve their mybb security from 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
Closed Account
Posts:
1,383
Joined:
Jan 2015
Likes:
123
Credits:
1,276
Reputation:
30
2 Years of Service
#2
Posted: 08-03-2015, 07:22 PM
Fix the color inside the code.

Another suggestion is to hide the ACP links on the same file (config.php)
Member
Posts:
137
Joined:
Sep 2015
Likes:
3
Credits:
2
Reputation:
5
1 Year of Service
#3
Posted: 28-09-2015, 09:43 AM
Nice tutorial.thanks for it.
Junior Member
Supreme
Posts:
68
Joined:
Sep 2015
Likes:
1
Credits:
27
Reputation:
0
1 Year of Service
#4
Posted: 29-09-2015, 03:46 AM
What does the color code have to do with anything? It will still have the bb code on the directory right?
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)