Forums

[resolved] Strange .htaccess file getting created in plugins directory (3 posts)

  1. tompress
    Member
    Posted 2 years ago #

    I have a strange issue:

    For some reason, an .htaccess file gets created automatically in WordPress' plugins directory, and it reappears when I delete it.

    Here's the contents of the file:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule $ /index.php/404
    </IfModule>

    The code causes problems as you can imagine, as some plugins can't find their files, like images etc., anymore. The problem might be related to updating plugins, as I started experiencing it after updating two plugins today.

    I have absolutely no idea what is causing this, maybe it's not even WordPress that's doing this. But I have no idea where to look for hints as to what might be the problem.

  2. tompress
    Member
    Posted 2 years ago #

    WordPress version is 2.8.6 by the way, not 2.8.5 as it says in the sidebar.

  3. tompress
    Member
    Posted 2 years ago #

    OK, found the culprit by disabling all plugins and re-enabling them one at a time. A plugin from InLinks was responsible for the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic