SSL Labs ScoreHSTS Preloaded

Normal Joomla operation requires a valid user to enter their username and password to get past the offline template page. Logging in prevents testing of guest functionality on your site. So your choice to take your site offline for development or testing actually prevents an entire segment of test cases - the guests (unregistered visitors)! For many of us, guest functionality is as important as functionality for registered users because, how are we to woo the guests unless we give them a great experience?

The Offline plugin provides a similar functionality as is found in my AdminExile extension. An administrator can set the site in offline mode inside Joomla Global Configuration, and enable this plugin to grant login-free access to the site. Browse the site as a guest (or login) - while still in offline mode.

I wrote it so I could demo custom authentication systems to a client - while remaining in offline mode. This allowed them to see the site as a guest, and login as a user would login using the various authentication methods available. Additionally, they could log in and out of the system at will - without seeing the offline page unless they ended their session (closed the browser).

Configuration is easy.

  1. Enable the plugin
  2. Set a key
  3. Copy the URL displayed above the key and paste it into your browser address bar.
  4. Edit the whitelist to add addresses you wish to immediately bypass the key requirement

Use any IPv4 IP or CIDR defined network to whitelist users from seeing the Offline page. For those not familiar, CIDR netmasks allow easy definition of entire networks in a single notation. For example, all through can be expressed as This feature allows an administrator to whitelist one or more IP addresses or networks so that users coming from those networks will be automatically permitted to view the site with no URL authentication key. Also compatible with IPv6 addresses, and IPv6 CIDR if your server has the PHP-GMP extension installed.

When you're ready to take your site live, the plugin won't interfere. Of course, you should disable it to preserve system resources, but it takes its operating parameters from Joomla configuration itself. When Joomla is set to offline mode, the plugin will operate. When it's not in offline mode, the plugin exits as early as possible to release resources.

Download Offline 2.2.2

Bug Reports

Documentation: Online | Zipped PDF

Discuss this article in the forums (0 replies).

Paid Extension FAQ

What am I buying?
  • The extension
  • One year of updates
  • Support
Do you still support free versions?
Only bugfixes
Can I install the extension on multiple sites?
Go for it
Can I give a copy to my friend?
While this is ethically wrong, there is no easy way for me to stop it. However, if your friend wants support he should call you - because I won't talk to him unless he purchases the extension.
What happens to the extension at the end of the year?
Nothing. It remains installed and configured, it just stops receiving updates and support is suspended.
What if I give you an idea that you turn into a paid extension?
You'll be given a lifetime subscription for that extension.
What if I contract you to make a custom extension for me?
There are two options, and I may or may not offer both.
  1. You will be given a quote for outright ownership of the extension.
  2. If it's something that I believe will benefit the community, I may offer a reduced quote where I retain ownership along with the promise that it will remain a free extension.