I see that s2member has written some information to the .htaccess file that I have on my site. A client has gone to a company for SEO and they’ve asked me to upload another htaccess.dat file.
I just need to know if that is a different type of htaccess file, and if it isn’t and I overwrite the current one, does s2member write to that file again? Or will it break something?
This is my current .htaccess file content
# BEGIN s2Member GZIP exclusions
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (^|?|&)s2member_file_download=.+ [OR]
RewriteCond %{QUERY_STRING} (^|?|&)no-gzip=1
RewriteRule .* - [E=no-gzip:1]
# END s2Member GZIP exclusions
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
and this is their file
# mod_rewrite On only needed once
RewriteEngine On
# 301 permanent redirect index.html(htm) to folder
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /([^/]+/)*index.html? HTTP/
RewriteRule ^(([^/]+/)*)index.html?$ http://www.opt-assess.com/$1 [R=301,L]
# 301 permanent redirect non-www (non-canonical) to www
RewriteCond %{HTTP_HOST} !^(www.opt-assess.com)?$
RewriteRule (.*) http://www.opt-assess.com/$1 [R=301,L]
thank you.