Jump to the post that solved this thread.
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years, 4 Months ago Safely rename /admin?
#1
Solved: 11 Years, 4 Months ago
Just please walk me step by step though renaming admin folder and hiding the link to the admin directory in the admin account?

Notice! If this is not safe and might cause some issues to the rest or the script then I pass!

Thanks
#2
Solved: 11 Years, 4 Months ago
This guide is quite good:

http://community.mybb.com/thread-9991.html
Jovan J.
#3
Solved: 11 Years, 4 Months ago
(2013-09-18, 04:43 PM)Jovan J. Wrote: This guide is quite good:

http://community.mybb.com/thread-9991.html

Thanks very much. Is it safe?
#4
Solved: 11 Years, 4 Months ago
We wouldn't recommend doing it if wasn't safe. It's a matter of renaming a directory and changing a string -- both which are reversible actions.
No longer involved in the MyBB project.
#5
Solved: 11 Years, 4 Months ago
Edit: delayed response !

you can simply change the admin folder name on the files server and put that folder name in ./inc/config.php file
$config['admin_dir'] = 'admin';
and in the config.php file change value of $config['hide_admin_links'] from 0 to 1

you have to take care when uploading plugin files (if they have files to add in admin folder) and while upgrading MyBB
#6
Solved: 11 Years, 4 Months ago
(2013-09-18, 04:49 PM).m. Wrote: Edit: delayed response !

you can simply change the admin folder name on the files server and put that folder name in ./inc/config.php file
$config['admin_dir'] = 'admin';
and in the config.php file change value of $config['hide_admin_links'] from 0 to 1

you have to take care when uploading plugin files (if they have files to add in admin folder) and while upgrading MyBB

I have a few files added to admin directory that are part of some plugins will that be a problem!
#7
Solved: 11 Years, 4 Months ago
^ No. admin directory name should be correct in the config.php file (eg. $config['admin_dir'] = 'abcdef';)
#8
Solved: 11 Years, 4 Months ago
(2013-09-18, 06:02 PM).m. Wrote: ^ No. admin directory name should be correct in the config.php file (eg. $config['admin_dir'] = 'abcdef';)

Thanks just to be clear!
I have a plugin that point to the file located in /admin directory if I rename /admin directory the way to told me it's not going to be a problem?
#9
Solved: 11 Years, 4 Months ago
No becuase in the plugin, it should have the code to point to the admin directory.
eg:
...../$mybb['admin_dir']/.....
not
...../admin/.....

where admin_dir is configured in your config.php
#10
Solved: 11 Years, 4 Months ago
(2013-09-18, 06:44 PM)daza110 Wrote: No becuase in the plugin, it should have the code to point to the admin directory.
eg:
...../$mybb['admin_dir']/.....
not
...../admin/.....

where admin_dir is configured in your config.php

Thank yo very much all of yo
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)