Difference between revisions of "Taking the website temporarily offline"
From Joomla! Documentation
m |
Dextercowley (talk | contribs) (add information about offline.php file) |
||
Line 27: | Line 27: | ||
# You should see a blue message: "The Global Configuration details have been updated." which confirms that your changes have been saved. Your website will now be back in service. | # You should see a blue message: "The Global Configuration details have been updated." which confirms that your changes have been saved. Your website will now be back in service. | ||
#* If you see a red error message refer to [[Cannot save Global Configuration changes]]. | #* If you see a red error message refer to [[Cannot save Global Configuration changes]]. | ||
+ | |||
+ | Note that you can display a customized page during the time that your site is offline. To do so, create a file called "offline.php" and place the file in the home directory of your template. For example, if you are using the rhuk_milkyway template, the offline.php file would go in the directory "<Joomla! home>/teamplates/rhuk_milkyway/". |
Revision as of 17:36, 23 August 2008
There may be occasions when you will make your Joomla! website completely unavailable to visitors for a short time. There is a simple switch in the Administrator back-end that enables you to take your website offline very quickly. It can be returned to service at a later time just as easily.
To take your Joomla! website temporarily offline[edit]
To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:
- Log in to the Administrator back-end. To learn how to do this read: Logging in or out of the Administrator back-end.
- Click on the Global Configuration button in the main Control Panel or click the Site > Global Configuration menu item.
- There are so many configuration options that they need to be divided into separate groups or tabs. Click on the Site tab.
- Find where it says Site Offline and change the radio button from No to Yes (see the screenshot below).
- Optional: Change the Offline Message to give your visitors some explanation about why your website is unavailable.
- Click the Save or Apply toolbar button to implement the new settings:
- The Save toolbar button will save your changes and return you to the Administrator Control Panel.
- The Apply button will save your changes but leave you in Global Configuration.
- You should see a blue message: "The Global Configuration details have been updated." which confirms that your changes have been saved. Visitors to your website will now see a page with the Joomla! logo and your offline message.
- If you see a red error message refer to Cannot save Global Configuration changes.
To put your Joomla! website back online[edit]
- Log in to Administrator back-end. To learn how to do this read: Logging in or out of the Administrator back-end.
- Click on the Global Configuration button in the main Control Panel or click the Site > Global Configuration menu item.
- There are so many configuration options that they need to be divided into separate groups or tabs. Click on the Site tab.
- Find where it says Site Offline and change the radio button from Yes to No.
- Click the Save or Apply toolbar button to implement the new settings:
- The Save toolbar button will save your changes and return you to the Administrator Control Panel.
- The Apply button will save your changes but leave you in Global Configuration.
- You should see a blue message: "The Global Configuration details have been updated." which confirms that your changes have been saved. Your website will now be back in service.
- If you see a red error message refer to Cannot save Global Configuration changes.
Note that you can display a customized page during the time that your site is offline. To do so, create a file called "offline.php" and place the file in the home directory of your template. For example, if you are using the rhuk_milkyway template, the offline.php file would go in the directory "<Joomla! home>/teamplates/rhuk_milkyway/".