need .htaccess in place when upgrading Xenforo


Active member

I'm in need of an .htaccess file that I can use when upgrading Xenforo in the next few days. I want to redirect all users that access (any dynamic page as well) to a maintenance.html page. I want the .htaccess file to let my IP address pass through so I can do the upgrade.

How do I create this?