Forums

Auto generated htaccess file error? (3 posts)

  1. mrgreen09
    Member
    Posted 4 months ago #

    I've had a problem for a while on my website, that I haven't been able to find a root cause for.

    Basically, every once in a while, .htaccess files are created in almost all folders on the site (Even folders unrelated to my wordpress installation).

    Once a folder has this .htaccess file, the page no longer works. So once the problem happens, it takes down my whole site.

    I have to go in to each folder and delete these mysteriously created files, in order to get it working again.

    I'm suspicious that wordpress is creating the files, as it seems to occur after I delete spam comments in the admin panel. The issue isn't repeatable every time though, so I can't say it is wordpress doing it for sure.

    Have anyone heard of something like this before? It is driving me nuts )

  2. as it seems to occur after I delete spam comments in the admin panel.

    That's the tell: you're hacked.

    Check your site here.

    http://sitecheck.sucuri.net/scanner/

    Backup everything and put that backup somewhere safe.

    http://codex.wordpress.org/WordPress_Backups
    http://codex.wordpress.org/Backing_Up_Your_Database
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup

    Read these.

    http://codex.wordpress.org/FAQ_My_site_was_hacked
    http://wordpress.org/support/topic/268083#post-1065779
    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
    http://ottopress.com/2009/hacked-wordpress-backdoors/

    I have to go in to each folder and delete these mysteriously created files, in order to get it working again.

    I admire your diligence, but your site's hacked. deleting those .htaccess files doesn't lock it down.

    Give those links a good read, they'll help you understand what's going on and possibly how to stop it.

  3. mrgreen09
    Member
    Posted 4 months ago #

    Arg - what a pain.

    Thanks!! I'll start reading.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.