• Upgrade Account to download resources without credits also access VIP area and download VIP resources only for $20/month.
  • Hello Guest, you can join our Discord server to get latest updates and getting helps from peoples. Join here
  • Cheap cPanel License ($7.00/month) with Unlimited Accounts Please visit www.license.ms
Resource icon

XF 2.X Tips XenForo 2 Admin panel path change


Staff member
VIP Member
Mr_Xero submitted a new resource:

XenForo 2 Admin panel path change - XenForo 2 Admin panel path change

There'll be a few templates to change, I think, for those places which link directly to admin.php, but the change to the routing formatter itself can be done without changing any core files in XF2.

Just add the following to your src/config.php file:
$c['router.admin.formatter'] = $c->wrap(function($route, $queryString)
   $suffix = $route . (strlen($queryString) ? '&' . $queryString : '');
   return strlen($suffix) ? 'not_admin.php?' . $suffix : 'not_admin.php';
Read more about this resource...