RewriteEngine On #RewriteBase / #RewriteCond %{REMOTE_ADDR} !=78.111.219.54 #RewriteRule ^(.*)$ maintance.html [L] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L]