Taking the website temporarily offline: Difference between revisions
From Joomla! Documentation
Marked this version for translation |
Some punctuation and Word2Watch changes. Removed the Needs Updating category tag. |
||
| Line 3: | Line 3: | ||
<translate><!--T:1--> | <translate><!--T:1--> | ||
There may be occasions when you will make your Joomla! '' | 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 Backend that enables you to take your website offline quickly. It can be returned to service just as easily.</translate> | ||
<translate>==To | <translate>== To Take Your Joomla! Website Temporarily Offline == <!--T:2--></translate> | ||
<translate><!--T:3--> | <translate><!--T:3--> | ||
To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:</translate> | To make your Joomla! website unavailable to visitors, replacing it with a simple message, do this:</translate> | ||
<translate><!--T:4--> | <translate><!--T:4--> | ||
# Log in to the Administrator | # Log in to the Administrator Backend. To learn how to do this read: [[S:MyLanguage/J3.x:Logging_in_or_out_of_the_Administrator_back-end|Logging in or out of the Administrator Backend]].</translate> | ||
<translate><!--T:5--> | <translate><!--T:5--> | ||
# Click on the ''Global Configuration'' button in the main Control Panel or | # Click on the ''Global Configuration'' button in the main Control Panel or select the {{rarr|System,Global Configuration}}.</translate> | ||
<translate><!--T:6--> | <translate><!--T:6--> | ||
# There are so many configuration options that they | # There are so many configuration options that they have been divided into separate groups or tabs. The ''Site'' tab is the default first view displayed. If not, select that tab.</translate> | ||
<translate><!--T:7--> | <translate><!--T:7--> | ||
# Find where it says '''Site Offline''' and click the '''Yes''' button (see the screenshot below).</translate> | # Find where it says '''Site Offline''' and click the '''Yes''' button (see the screenshot below).</translate> | ||
| Line 27: | Line 27: | ||
# You should see a message confirming the settings have been changed.</translate> | # You should see a message confirming the settings have been changed.</translate> | ||
<translate><!--T:13--> | <translate><!--T:13--> | ||
#* If you see an error message refer to [[S:MyLanguage/Cannot save Global Configuration changes|Cannot save Global Configuration changes]].</translate> | #* If you see an error message, refer to [[S:MyLanguage/Cannot save Global Configuration changes|Cannot save Global Configuration changes]].</translate> | ||
<translate> | <translate> | ||
| Line 34: | Line 34: | ||
en</translate>.png]] | en</translate>.png]] | ||
<translate>==To | <translate>== To Put Your Joomla! Website Back Online == <!--T:18--> | ||
Repeat the steps above and making sure the site offline switch is set to off.</translate> | Repeat the steps above and making sure the site offline switch is set to off.</translate> | ||
<translate> | <translate> | ||
===Advanced=== <!--T:19--> | === Advanced === <!--T:19--> | ||
The site may be | The site may be parsed by bots, search engines and other direct call methods.</translate> | ||
<translate> | <translate> | ||
== Using the htaccess | == Using the .htaccess Method (cPanel) == <!--T:20--> | ||
<!--T:21--> | <!--T:21--> | ||
| Line 48: | Line 48: | ||
<!--T:22--> | <!--T:22--> | ||
To password protect directory with | To password protect directory with cPanel Hosting Control Panel: | ||
<!--T:23--> | |||
<tt>Login into your | <tt>Login into your cPanel and click on Password Protect Directories.</tt> | ||
<!--T:24--> | <!--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--> | <!--T:25--> | ||
Click on the directory that you wish to password protect | Click on the directory that you wish to password protect. | ||
<!--T:26--> | <!--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--> | <!--T:27--> | ||
Once user created successfully, just click | Once the user is created successfully, just click ''Go Back''. | ||
<!--T:28--> | <!--T:28--> | ||
Now, | Now, verify that the directory requires a password to access via the web.</translate> | ||
<translate><!--T:29--> | <translate><!--T:29--> | ||
Fill in Protected Resource Name | Fill in Protected Resource Name. 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.</translate>. | ||
<translate><!--T:30--> | <translate><!--T:30--> | ||
To ensure your directory has been password protected, launch your browser and visit the folder | To ensure that 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> | ||
</noinclude> | </noinclude> | ||
| Line 82: | Line 81: | ||
[[Category:Administration FAQ]] | [[Category:Administration FAQ]] | ||
[[Category:Global Configuration Management]] | [[Category:Global Configuration Management]] | ||
</translate> | </translate> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:05, 11 August 2022
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 Backend that enables you to take your website offline quickly. It can be returned to service 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:
- Log in to the Administrator Backend. To learn how to do this read: Logging in or out of the Administrator Backend.
- Click on the Global Configuration button in the main Control Panel or select the System → Global Configuration.
- There are so many configuration options that they have been divided into separate groups or tabs. The Site tab is the default first view displayed. If not, select that tab.
- Find where it says Site Offline and click the Yes button (see the screenshot below).
- 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 3.x
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 parsed 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 the user is created successfully, just click Go Back.
Now, verify that the directory requires a password to access via the web.
Fill in Protected Resource Name. 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 that 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.
