WordPress.org

Ready to get started?Download WordPress

Forums

.htacces.old? (4 posts)

  1. sniggel
    Member
    Posted 1 year ago #

    Hi everyone.
    My site has been infected with malware.
    I got that confirmed by sucuri.
    I spoke with the support from my server (bluehost), and they said they could find some unusual codings in one of my files (i think it was the .htaccess file) wich they did some changes on, but I should get rid of the code completely.
    After that, I didn't get redirected like i used to, but sucuri still confirmed I was infected with malware. I downloaded the BulletProof Security plugin wich I come to the understanding was going to overwrite my .htaccess files, both in my root and wp-admin folder. I can see there is a file on my root folder called .htaccess.old. On that file there are a lot of keywords from a-z at the beginning. could this be the problem?
    My webpage: http://www.working-with-the-law-of-attraction.com
    I am somewhat new to this, so I am probpably asking a stupid question.

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

  3. sniggel
    Member
    Posted 1 year ago #

    Thanks.
    Can I delete .htaccess.old or would that cause any trouble?

  4. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    htaccess gets written to when you change permalinks. You can delete it but you might then have to go to default permalinks, save and then back to what permalinks you are using and save again.

    But just getting rid of or a new htaccess file is not the cure. The malware will just come back unless you are very aggressive in tightening up your site.

Topic Closed

This topic has been closed to new replies.

About this Topic