Actions

Difference between revisions of "Taking the website temporarily offline"

From Joomla! Documentation

m (To put your Joomla! website back online: section update)
m (typo)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RightTOC}}
+
<noinclude><languages /></noinclude>
There may be occasions when you will make your Joomla! ''website completely unavailable to visitors''<ref> unavailable to visitors</ref> 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.
+
{{JSplit}}
  
==To take your Joomla! website temporarily offline==
+
<translate><!--T:1-->
To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:
+
There may be occasions when you will make your Joomla! ''website completely unavailable to visitors'' for a short timeThere is a simple switch in the Administrator back-end that enables you to take your website offline very quicklyIt can be returned to service at a later time just as easily.</translate>
# Log in to the Administrator back-endTo 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 {{rarr|Site,Global Configuration}} menu item {{JVer|2.5}} or {{rarr|System,Global Configuration}} in {{JVer|3.0}}+.
+
# There are so many configuration options that they need to be divided into separate groups or tabsThe ''Site'' tab, it should be the default first view displayed, if not click on the tab.
+
# Find where it says '''Site Offline''' and change the radio button from '''No''' to '''Yes''' {{JVer|2.5}}(see the screenshot below) or click the '''Yes''' button in {{JVer|3.0}}.
+
# ''Optional:'' Change the '''Offline Message''' to give your visitors some explanation about why your website is unavailable.
+
# Click the '''Save''' toolbar button to implement the new settings:
+
#* The '''Save''' toolbar button will save your changes and but leave you in Global Configuration.
+
#* The '''Save and Close''' button will save your changes and return you to the Administrator Control Panel..
+
# You should see a message confirming the settings have been changed.
+
#* If you see an error message refer to [[Cannot save Global Configuration changes]].
+
=== Joomla 2.5 ===
+
:[[Image:Global-config-25-site-offline.png]]
+
=== Joomla 3.x ===
+
:[[Image:Global-config-3-site-offline.png]]
+
  
==To put your Joomla! website back online==
+
<translate>==To take your Joomla! website temporarily offline== <!--T:2--></translate>
Repeat the steps above and making sure the site offline switch is set to off.  
+
<translate><!--T:3-->
 +
To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:</translate>
 +
<translate><!--T:4-->
 +
# Log in to the Administrator back-end.  To learn how to do this read: [[S:MyLanguage/Logging in or out of the Administrator back-end|Logging in or out of the Administrator back-end]].</translate>
 +
<translate><!--T:5-->
 +
# Click on the ''Global Configuration'' button in the main Control Panel or click the {{rarr|Site,Global Configuration}} menu item {{JVer|2.5}} or {{rarr|System,Global Configuration}} in {{JVer|3.x}}.</translate>
 +
<translate><!--T:6-->
 +
# There are so many configuration options that they need to be divided into separate groups or tabs.  The ''Site'' tab, it should be the default first view displayed, if not click on the tab.</translate>
 +
<translate><!--T:7-->
 +
# Find where it says '''Site Offline''' and change the radio button from '''No''' to '''Yes''' {{JVer|2.5}}(see the screenshot below) or click the '''Yes''' button in {{JVer|3.x}}.</translate>
 +
<translate><!--T:8-->
 +
# ''Optional:'' Change the '''Offline Message''' to give your visitors some explanation about why your website is unavailable.</translate>
 +
<translate><!--T:9-->
 +
# Click the '''Save''' toolbar button to implement the new settings:</translate>
 +
<translate><!--T:10-->
 +
#* The '''Save''' toolbar button will save your changes and but leave you in Global Configuration.</translate>
 +
<translate><!--T:11-->
 +
#* The '''Save and Close''' button will save your changes and return you to the Administrator Control Panel.</translate>
 +
<translate><!--T:12-->
 +
# You should see a message confirming the settings have been changed.</translate>
 +
<translate><!--T:13-->
 +
#* If you see an error message refer to [[S:MyLanguage/Cannot save Global Configuration changes|Cannot save Global Configuration changes]].</translate>
  
===Advanced===
+
<translate>=== Joomla 2.5 === <!--T:14--></translate>
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/".
+
:[[Image:Global-config-25-site-offline-<translate><!--T:15-->
 +
en</translate>.png]]
 +
<translate>=== Joomla 3.x === <!--T:16--></translate>
 +
:[[Image:Global-config-3-site-offline-<translate><!--T:17-->
 +
en</translate>.png]]
  
<references/>
+
<translate>==To put your Joomla! website back online== <!--T:18-->
The site may site be parsable by bots and searh engines and other direct call methods
+
Repeat the steps above and making sure the site offline switch is set to off.</translate>
  
== Using the htaccess method (cpanel) ==
+
<translate>===Advanced=== <!--T:19-->
 +
The site may be parsable by bots, search engines and other direct call methods</translate>
  
 +
<translate>== Using the htaccess method (cpanel) == <!--T:20-->
 +
 +
<!--T:21-->
 
You can limit access to certain resources of your website by password protecting the directories they are in.
 
You can limit access to certain resources of your website by password protecting the directories they are in.
  
To password protect directory with CPanel Hosting Control Panel:-
+
<!--T:22-->
 +
To password protect directory with CPanel Hosting Control Panel:
  
  Login into your CPanel and click on Password Protect Directories
+
  <!--T:23-->
 +
<tt>Login into your CPanel and click on Password Protect Directories</tt>
  
 +
<!--T:24-->
 
Once you click on Password Protect Directories, you will see a list of directories
 
Once you click on Password Protect Directories, you will see a list of directories
  
 +
<!--T:25-->
 
Click on the directory that you wish to password protect
 
Click on the directory that you wish to password protect
  
 +
<!--T:26-->
 
Fill in a Username and Password at the bottom of the page, and click Add / modify authorized user
 
Fill in a Username and Password at the bottom of the page, and click Add / modify authorized user
  
 +
<!--T:27-->
 
Once user created successfully, just click “Go Back”
 
Once user created successfully, just click “Go Back”
  
Now, Check the Directory requires a password to access via the web
+
<!--T:28-->
 +
Now, Check the Directory requires a password to access via the web</translate>
  
 +
<translate><!--T:29-->
 
Fill in Protected Resource Name, actually this is just the message that will show in the login window
 
Fill in Protected Resource Name, actually this is just the message that will show in the login window
then, Highlight the user you just created from the Active Users list and click on Save button below the Protected Resource Name
+
then, Highlight the user you just created from the Active Users list and click on Save button below the Protected Resource Name</translate>.
 +
 
 +
<translate><!--T:30-->
 +
To ensure your directory has been password protected, launch your browser and visit the folder, if the browser prompts you to login, your directory has been protected by password!</translate>
  
To ensure you directory has been password protected, launch you browser and visit the folder, if browser prompt you to login, your directory has been protected by password!
+
</noinclude>
</noinclude>[[Category:Security]][[Category:Administration FAQ‎]][[Category:Global Configuration Management]]</noinclude>
+
<translate>
 +
<!--T:31-->
 +
[[Category:Security]]
 +
[[Category:Administration FAQ‎]]
 +
[[Category:Global Configuration Management]]
 +
[[Category:Needs updating]]
 +
</translate>
 +
</noinclude>

Latest revision as of 09:08, 30 April 2015

Other languages:
English • ‎français • ‎Nederlands
Split-icon.png
Split Page into Specific Joomla! Versions - J2.5 and J3.1

It has been suggested that this article or section be split into specific version Namespaces. (Discuss). If version split is not obvious, please allow split request to remain for 1 week pending discussions. Proposed since 2 months ago.


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

To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:

  1. Log in to the Administrator back-end. To learn how to do this read: Logging in or out of the Administrator back-end.
  2. Click on the Global Configuration button in the main Control Panel or click the Site  Global Configuration menu item Joomla 2.5 or System  Global Configuration in Joomla 3.x.
  3. There are so many configuration options that they need to be divided into separate groups or tabs. The Site tab, it should be the default first view displayed, if not click on the tab.
  4. Find where it says Site Offline and change the radio button from No to Yes Joomla 2.5(see the screenshot below) or click the Yes button in Joomla 3.x.
  5. Optional: Change the Offline Message to give your visitors some explanation about why your website is unavailable.
  6. Click the Save toolbar button to implement the new settings:
    • The Save toolbar button will save your changes and but leave you in Global Configuration.
    • The Save and Close button will save your changes and return you to the Administrator Control Panel.
  7. You should see a message confirming the settings have been changed.

Joomla 2.5

Global-config-25-site-offline-en.png

Joomla 3.x

Global-config-3-site-offline-en.png

To put your Joomla! website back online

Repeat the steps above and making sure the site offline switch is set to off.

Advanced

The site may be parsable by bots, search engines and other direct call methods

Using the htaccess method (cpanel)

You can limit access to certain resources of your website by password protecting the directories they are in.

To password protect directory with CPanel Hosting Control Panel:

Login into your CPanel and click on Password Protect Directories

Once you click on Password Protect Directories, you will see a list of directories

Click on the directory that you wish to password protect

Fill in a Username and Password at the bottom of the page, and click Add / modify authorized user

Once user created successfully, just click “Go Back”

Now, Check the Directory requires a password to access via the web

Fill in Protected Resource Name, actually this is just the message that will show in the login window then, Highlight the user you just created from the Active Users list and click on Save button below the Protected Resource Name.

To ensure your directory has been password protected, launch your browser and visit the folder, if the browser prompts you to login, your directory has been protected by password!