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.
1.4m articles
1.4m replys
5 comments
57.0k users