• My .htaccess log keeps going on a writing loop and fills it up with:

    #

    # 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

    over and over again causing a 500 internal server error, or it will start writing “WORDPRESS” under this, starting backwards so sometimes, “S” “SS” “ESS” and so on.

    Any idea to make this stop going on a writing loop?

Viewing 1 replies (of 1 total)
  • 1. Delete the current htaccess file, of course make a backup before deleting.
    2. From Settings => Permalinks => Select post name, save and it will create a new htaccess file in the server.
    3. Make sure the file permission of htaccess is 0644
    4. Change FTP password/account
    5. If still have this problem, then there are two possible doubts – there are malicious code in your site or there are malicious code in other site on the same server, if you are in a shared server. In that case, you need to ask your host and ask where the malicious code is.

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess keeps getting filled up’ is closed to new replies.