How do i can secure my wordpress blog to prevent from hacking

by Hafeez 37 replies
Hi guys,

I have my wordpress based blog and once that was hacked by someone and hacker did a pishing attack and finally my blog was reported as attacker and admin suspended my blog.

After giving some clarifications, admin reinstate my blog and now i want to secure my wordpress based blog to eleminate of hacking attack.

How do i secure my blog to maximum security level?

Any advise please?
#programming #blog #hacking #prevent #secure #wordpress
Avatar of Unregistered
  • Profile picture of the author jewelraz
    Don't use "Admin" or "admin" as Admin Username, password should be Upper case+lower case+numbers
    • Profile picture of the author Hafeez
      Thank you for your reply.

      I have changed my all passwords and user names as well. I also changed the .htaccess files for root and some other folders but still i am feeling unsecure. Is there need to do something more?
    • Profile picture of the author asgrm
      Originally Posted by jewelraz View Post

      Don't use "Admin" or "admin" as Admin Username, password should be Upper case+lower case+numbers
      Also, keep your password get changed periodically
  • Profile picture of the author DeMango25
    Personally I use WP Lockup (no affiliate link) and I'm pretty happy with it, easy to set up and adds some effective security measures to your wp installation.
    Signature

    • Profile picture of the author semrocks
      I had a client that had the dreaded "this site may harm your computer" in google's SERP's. (we took over doing seo from a guy doing it for them on the side, after the fact) The first thing we did was install a wp plugin called Sucuri scanner, I believe they'll scan your site for free, help you harden it (prevent future malware, spam, etc) They charge 99 bucks to remove any infections, I hope for your sake, you'll never have to deal with it. It's pretty stressful, rankings fall, customers freak out...all of the above.
  • Profile picture of the author K Meier
    Check this out. It's a bigger guide on how to secure your wordpress blog. The PDF file is quite big The WordPress Security Checklist
    • Profile picture of the author System Wide Solutions
      Originally Posted by K Meier View Post

      Check this out. It's a bigger guide on how to secure your wordpress blog. The PDF file is quite big The WordPress Security Checklist
      Thanks for sharing this. Nice one.
      Signature
    • Profile picture of the author Fahmzie
      Originally Posted by K Meier View Post

      Check this out. It's a bigger guide on how to secure your wordpress blog. The PDF file is quite big The WordPress Security Checklist
      Nice guide there..

      Always keep backup of your files and data. Use some automatic plugin that backup your data and send it to your email.
    • Profile picture of the author System Wide Solutions
      Originally Posted by K Meier View Post

      Check this out. It's a bigger guide on how to secure your wordpress blog. The PDF file is quite big The WordPress Security Checklist
      Thanks. This is really helpful.
      Signature
    • Profile picture of the author swriviera
      [DELETED]
    • Profile picture of the author swriviera
      Originally Posted by K Meier View Post

      Check this out. It's a bigger guide on how to secure your wordpress blog. The PDF file is quite big The WordPress Security Checklist
      This is a GREAT reference. I only just skimmed through for right now ... so much to learn!!!

      There is a detail that I really like on their site. Just below the download button they add:

      "Please do not link directly to this page or the pdf document.
      Their locations will change over time.
      Instead link to the main home page."

      Even this is a small detail you can copy to add yet another level of protection to your downloads ...

      Simple yet brilliant.

      Until I have time to go through all of the document do you all have more suggestions of wp plugins that can help?
      wp lockup was suggested, any more?

      Thanks so much for all this info!!

      Sandra Walsh
  • Profile picture of the author Abledragon
    Don't forget to keep your computer clean and use SFTP rather than FTP to transfer files. WordPress security is about more than just WordPress.

    Some more details here:

    WordPress Security: Not Just About WordPress | WealthyDragon

    Cheers,

    Martin.
    Signature
    How to Start Your Own Business Online - a Free eBook from WealthyDragon
  • Profile picture of the author darnellsmith
    Over the years I have had many websites hacked but there only one fool proof way to beat hackers.

    Keep a backup of your files and database.
  • Profile picture of the author gladiolus
    Hacking techniques are used to “harvest” email addresses, which are then used by spammers and other hackers for malicious activities. If you are storing email data on your website, for what-ever required reason, make sure it’s stored in a secure format, such as a MySQL Database.
    • Profile picture of the author JesseN
      You should also add this:

      <Files readme.html>
      Order Deny,Allow
      Deny from All
      </Files>

      to you .htaccess file. This prevents people (including you) from checking what version of Wordpress you are using which hackers might use to exploit vulnerabilities of the previous versions.
  • Profile picture of the author Randy27
    I use WP Lockup (no affiliate link) and I'm pretty happy with it,
  • Profile picture of the author aeroponica
    Make your password 100% strong.
    Signature


    • Profile picture of the author Mkj
      If you have a static ip address you can block access to the admin section, or any other part of your website, with this code placed in a htaccess file within the directory you want to protect:

      Code:
      AuthUserFile /dev/null
      AuthGroupFile /dev/null
      AuthName "Example Access Control"
      AuthType Basic
      <LIMIT GET>
      order deny,allow
      deny from all
      allow from (put your own ip address here without the brackets)
      </LIMIT>
      Bit more peace of mind. Works for me for sure.
  • Profile picture of the author derek.ang
    1) Change your password every month
    2) Upgrade to latest version ALWAYS
    Signature

    Get a free mobile site

  • Profile picture of the author so11
    Hello,

    all practices listed are true. But even if you follow them all your site may still have lots of vulnerabilities. Even if you use SFTP and have extremely strong password, etc. the problem is that you make constant changes to you sites (instal news scripts, add new code, plugins, etc.). thats how hackers penetrate.

    1. Test in test environments (if possible) before putting it in production it will reduce your risk significantly.
    2. Every time you make changes to your site, you need to audit it to make sure there are no vulnerabilities.
    3. Use good practices posted above.

    regards,

    So11

Trending Topics