If you want to make yoursite temporarily unable to visitors you can do that easily in the administrator panel in the backend. Making your Joomla site unavailable does not delete your site, it only blocks your site from being accessed. You can still make admin changes, add articles, add/delete , add/delete modules or make any site changes as necessary. The only drawback is that you will not be able to preview your changes until you make your site available again.
How to take your Joomla site Offline:
1. Login to your Joomla administrator panel
2. Click on Site, Global Configuration
3. Change “Site Offline” setting = Yes
4. It’s optional to post an offline message to your visitors, but you may do so in the “Offline Message”
5. Save your configuration.
If you wish you can also create a customized webpage for your offline site by following these steps:
6. Go to your file manager
7. Go to your current Joomla template directory – ie If you are using The rhuk_milkyway template, go to “<Joomla! home>/templates/rhuk_milkyway/”.
8. Create a file named “offline.php”
9. Change your file and add in your customized code.
Here are some possible errors you might encounter taking your Joomla site offline:
“An Error has occurred! Unable to open configuration.php file to write!”
- Login to your file manager
- Find your Joomla configuration file (configuration.php) in site root folder
- Change permissions on the file and make it writable.