WordPress.org

Ready to get started?Download WordPress

Forums

Have I been hacked? (4 posts)

  1. justinmarch
    Member
    Posted 4 years ago #

    2 Questions:

    I have been blogging with comments closed (I may not have closed them in time but I believe that I did), but have got a spam comment caught by Akismet.

    Q1. Have I been hacked and if so what can I do about it?

    Am thinking about implementing the following within .htaccess file placed at: /wp-admin/.htaccess

    AuthUserFile /dev/null
    AuthGroupFile /dev/null
    AuthName “Access Control”
    AuthType Basic
    order deny,allow
    deny from all

    Q2. I realise that the above currently blocks all access but will something like the above prevent most/all types of hacks

    Q3. Is there a way of password protecting the access through the same .htaccess file?

    Justin

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Q1. Have I been hacked and if so what can I do about it?

    1 spam comment is not a hack.

    http://codex.wordpress.org/Hardening_WordPress

  3. justinmarch
    Member
    Posted 4 years ago #

    They must have gotten in before I closed the comments am going to post the htacces question again in another part of the forum as I think it's been lost in my post.

  4. Roy
    Member
    Posted 4 years ago #

    Just install some anti spam plugins such as Bad Behavior and JS Spamblock. As for your other question, have a look at the Ask Apache Password Protect plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic