We recently had our site shut down due to an internal server error. Our host support was able to fix it by changing the name of our htaccess file to htaccess.bak – and the site went back up immediately. They only deal with server side issues, but did inform me that our htaccess file had about 10,000 repititions of the following code:
# END WordPress
# 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>
When i search this exact code – a number of posts come up – some saying don’t worry – others saying it could be a hack to the site. Wondering if you have encountered this at all -or- if you know why it is occurring. Thanks very much –
Frank