Hi,
I have multisite (deyneko.com). I use multisite for multilingual WP i.e. different languages in subdirictories.
Yesterday 07 Nov I found that all subdirectories don’t work (error 404 – “file not found etc”). Dashboards of “subsites” (Russian and French languages) didn’t work as well with same error 404.
I immediately connected with host provider and they said that server works OK and they aren’t have any issues at that moment.
Then I started investigate system files (by ftp) and found that my htaccess was changed. So big part of the htaccess was deleted.
This is the htaccess at that moment:
# 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
# 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
# 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
# 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
I suggested it was a hack and connected to provider again. They check all and replied that no any evidence or sign of hacking. After this I fixed htaccess and set itto 0444 permission to avoid repeat this situation. Site started to normally work.
So I concluded that the S2member plugin changed the htaccess.
Actually I liked S2members and would like that you can find and fix it if there any errors etc. So I can answer any questions and provide access to my site for the plugin staff.
And question about htaccess. Can I left in the htaccess only this part for S2member (as you saw it repeated three times):
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
Thank you for your attention.
-
This topic was modified 3 years, 2 months ago by Alexander Deyneko.
-
This topic was modified 3 years, 1 month ago by Alexander Deyneko.