WordPress.org

Ready to get started?Download WordPress

Forums

Something Keeps Chaning My .htaccess File (3 posts)

  1. Damaramu
    Member
    Posted 1 year ago #

    Ok, something is changing my .htaccess file, which is causing search result links to my website being redirected to spam sites. This has effectively killed traffic to my site, according to Google Analytics. I've been going back every other day or so to upload my unaltered .htaccess file.

    What's being changed is this:

    <ifmodule mod_rewrite.c="">
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L] <------ /index.php being replaced with spam link.
    </ifmodule>

    How do I go about protecting my .htaccess to these hacks? The same thing is happening inside my wp-content folder.

    I'm running WordPress 3.4.2. I've tried updating to 3.5, but had to revert when it crippled my website. I'm not using any kind of protection programs, at the moment. Yes, I have added various code to my .htaccess file to help prevent this, but they don't seem to work.

    Should I just install the Bulletproof Security plugin?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

  3. Damaramu
    Member
    Posted 1 year ago #

    Thanks! I'll check them out and see what I can find!

Topic Closed

This topic has been closed to new replies.

About this Topic