• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

need .htaccess in place when upgrading Xenforo


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 www.mydomain.com (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?