Unfortunately, the redirect to the offline.html page doesn't work properly, and users get this error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
I checked the docs, and changed this line in the .htaccess file
RewriteRule (.*) offline.html [R=307,L]
to
RewriteRule (.*) offline.html [R,L]
That hasn't fixed the error.
How do I fix this?