MyBB Community Forums

Full Version: Securing the admin directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I followed a TUT on how to secure your forum, and one of those things mentioned was to rename your admin directory. I did that and edited the config file. But after that, my link to the adminCP didn't work (it was still looking for admin and not for the new name) and I could not edit any template files via the adminCP. Does anyone know what I'm doing wrong?

I'm using MyBB 1.6 btw. Thanks
Did you change it in ./inc/config.php file ?
$config['admin_dir'] = 'admin';
Change admin to your admin folder.
Yes I did. After that, the adminCP link didn't work and I could not edit any template files (the text stays grey and uneditable).
I'll check the template for the adminCP issue. I don't know how to fix the template error tho.
Did you actually rename the folder called admin...?? If you rename the folder and make the change in config.php it can't not work, there's nothing else to do.

Fo the greyed out text area issue, go to ACP > Home > Preferences > disable CodePress.