Forums

.htaccess corruption approx every 24 hours (3 posts)

  1. GeoffMontegriffo
    Member
    Posted 1 year ago #

    I have a blog which is hosted as an add-on domain (the other site is not a blog)

    The .htaccess file is 644 and very simple:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    ...however every few minutes the file increases in length 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

    ...being appended at the bottom. Within 24 hours the file corrupts and the blog dies with a 500 internal server error.

    At the moment I'm holding back the tide by clearing down the file twice a day, but that's just daft.

    No new widgets added in the week before this behaviour started and no changes to the other (static) site on the hosting.

    Can anyone please help?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. GeoffMontegriffo
    Member
    Posted 1 year ago #

    Found it esmi, many thanks...called "Sideblogging"
    I appreciate your help

Topic Closed

This topic has been closed to new replies.

About this Topic