What Is My Maintenance Access Code?

  • If you have put your site into maintenance mode, but have forgotten your access code, follow the steps below to retrieve it.

    To retrieve your access code:

    1. Login to your server with an FTP client.
    2. Open the file "/application/settings/general.php" with a plain text editor such as Notepad or Wordpad.
    3. The file will look something like this:
    defined('_ENGINE') or die('Access Denied');
    return array (
      'maintenance' =>
      array (
        'enabled' => true,
        'code' => '[ACCESS_CODE]',
      ),
      'environment_mode' => 'development',
    );

     

    Your access code should be located where the "[ACCESS_CODE]" placeholder is above. Copy the code from your file, and use it to access your site.

    Note:

    Your Maintenance Mode Code can be configured and recorded from your General Settings page, for future reference.