В .htaccess необходимо добавить следующие строки:
Для конкретного ip
Код: Выделить всё
<Files "posting.php">
RewriteCond %{REMOTE_ADDR} 1.54.12.211
RewriteRule ^(.*)$ https://phpbbx.ru/? [R=301,L]
</Files>
Код: Выделить всё
<Files "posting.php">
RewriteCond %{REMOTE_ADDR} (1.54.12.211|1.53.*)
RewriteRule ^(.*)$ https://phpbbx.ru/? [R=301,L]
</Files>
