Как отключить магазин на некоторое время?
А не подскажете как через htaccess
Можно ведь просто небольшую заглушку сделать. "Магазин временно не работает"
Я просто создал index.html с кодом. На время работ переименовываю __index.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Техническая заглушка.</title><meta http-equiv="content-type" content="text/html; charset=windows-1251"><meta name="generator" content="Meta"><style type="text/css">/*----------Text Styles----------*/.ws6 {font-size: 8px;}.ws7 {font-size: 9.3px;}.ws8 {font-size: 11px;}.ws9 {font-size: 12px;}.ws10 {font-size: 13px;}.ws11 {font-size: 15px;}.ws12 {font-size: 16px;}.ws14 {font-size: 19px;}.ws16 {font-size: 21px;}.ws18 {font-size: 24px;}.ws20 {font-size: 27px;}.ws22 {font-size: 29px;}.ws24 {font-size: 32px;}.ws26 {font-size: 35px;}.ws28 {font-size: 37px;}.ws36 {font-size: 48px;}.ws48 {font-size: 64px;}.ws72 {font-size: 96px;}.wpmd {font-size: 13px;font-family: Arial,Helvetica,Sans-Serif;font-style: normal;font-weight: normal;}/*----------Para Styles----------*/DIV,UL,OL /* Left */{ margin-top: 0px; margin-bottom: 0px;}</style><style type="text/css">div#container{ position:relative; width: 679px; margin-top: 0px; margin-left: auto; margin-right: auto; text-align:left; }body {text-align:center;margin:0}</style></head><body><div id="container"><div id="text1" style="position:absolute; overflow:hidden; left:17px; top:168px; width:645px; height:98px; z-index:0"><div class="wpmd"><div align=center><font color="#FF0000" class="ws16"><B>Ведутся технические работы!</B></font></div><div align=center><font class="ws16"><B>Розничный магазин работает в обычном режиме.</B></font></div></div></div><div id="image1" style="position:absolute; overflow:hidden; left:217px; top:20px; width:259px; height:128px; z-index:1"><img src="images/logo.png" alt="" title="" border=0 width=259 height=128></div></div></body></html>
А я вообще не парюсь. В index.php стираю всё, и просто пишу "Магазин временно не работает", и всё. Не забываем бекапить index.php . Если забыли, то вытаскиваем из последнего Rubica.