Problem 1
It is little difficult but i have 3+ addon domain and their folders are in the root.. So example
www/index.php ROOTSITE.COM
www/example.com/index.php example.COM
www/example2.com/index.php example2.COM
Remember the above example.com and example2.com is folders inside mains
So when i put the ROOTSITE.COM to maintenance mode.. by using
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ http://rootsite.com/maintenance.html [R=307,L]
It diverst example.com example1.com to root.com/maintanance.html Kindly tell a way to avoid making example sites to non maintanance mode.. Just like that i do not want any .htaccess rules on the root to affect the addon domain (in the folders)
Problem 2
Also other thing I need some pre made count down timer (in hours:min:sec) when site goes under maintenance mode... After the countdown ends it must divert to rootsite.com.... can it also change .htaccess? i mean when the count down ends it must change the rule of the .htaccess to remove rule of maintanance mode.