
RewriteOptions inherit
# BEGIN s2Member GZIP exclusions
<IfModule rewrite_module>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+ [OR]
	RewriteCond %{QUERY_STRING} (^|\?|&)no-gzip\=1
	RewriteRule .* - [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
RewriteCond %{HTTP_HOST} ^localsurf\.ie$ [OR]
RewriteCond %{HTTP_HOST} ^www\.localsurf\.ie$
RewriteRule ^/?$ "https\:\/\/www\.facebook\.com\/localsurf\.ie" [R=301,L]

AuthType Basic
AuthName "Site Down For Maintenance"
AuthUserFile "/home/s4u1/.htpasswds/public_html/localsurf.ie/passwd"
require valid-user
