MyBB Community Forums

Full Version: Remove admin/index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hey is there anyway by which i can remove admin/index.php page and make it pvt only to admins so that no other member can view that page
Rename your admin directory like "yaldaram"

Then open ./inc/config.php file and find;
$config['admin_dir'] = 'admin';

and change it to;
$config['admin_dir'] = 'yaldaram';
Members can't view the AdminCP, that's why it's called that...
(2010-12-29, 06:19 PM)Shukaku Wrote: [ -> ]Members can't view the AdminCP, that's why it's called that...

He's talking about the login page.
Scratch that, they can. Just ignore my posts Toungue
(2010-12-29, 06:17 PM)Yaldaram Wrote: [ -> ]Rename your admin directory like "yaldaram"

Then open ./inc/config.php file and find;
$config['admin_dir'] = 'admin';

and change it to;
$config['admin_dir'] = 'yaldaram';

i have done so but i can now also acess to my admin cp directly
(2010-12-30, 04:41 PM)-THE_BO$$- Wrote: [ -> ]i have done so but i can now also acess to my admin cp directly

what?

if you rename your admin folder and then set the config.php file to use that new name, the default \admin folder goes nowhere and only you know the name of the new location and only you (and other admins on your site) get the adminCP link that gives the new location.
i have to rename name of folder also
Yes rename the admin folder also.

Pages: 1 2