Views: 4465
Last Modified: 10.10.2012
The system settings allow to temporarily close access to public section; for example, during server maintenance.
However, this will cause closing all sites altogether. To close only one site, place the following call in the /bitrix/php_interface/en/init.php file:
include($_SERVER["DOCUMENT_ROOT"]."/en/underconstruction.html");
die();
In the underconstruction.html file, place a message to be displayed to visitors instead of standard site pages.