I want to redirect to all users to maintenance page. Exclude some developers ip address. for excluded ip address redirect to public_html/index.php
I have tried like this.
Options +FollowSymlinks RewriteEngine on RewriteCond %{REMOTE_ADDR} !=123.45.67.89 RewriteRule index.php$ /construction.php [R=301,L]
But its not working.
2.1m questions
2.1m answers
60 comments
57.0k users