I presently possess a wordpress site that's being upgraded and I've got a maintenence redirect setup within the .htaccess file.

I'm able to allow my very own IP access the website and admin but how do i allow multiple Insolvency practitioners access for that other editors also to connect.

I am presently using :


     RewriteEngine on

     RewriteCond % !^123.456.789.101

     #RewriteCond % !^123.456.789.101

     RewriteCond % !/maintanence.html$ [NC]

     RewriteCond % !.(jpe?g?pngpresen) [NC]

     RewriteRule .* /maintanence.html [R=302,L]

    

You wanted Insolvency practitioners not hosts, so make certain to achieve that. Then chain them together making use of your intended logic:

RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.2$
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.3$
RewriteRule .* /maintenance.html [R=302,L]