We all know that hackers don’t sleep and try to steal our contents for fun or for some other reasons. But luckily for us, we can stop them thanks to double protection in WordPress. What does it exactly mean and how to do it?
To avoid such popular hacking attacks you can set the double verification of your account in just a few simple steps.
1. Log in into the DirectAdmin panel where the user account is correct domain hooked up with WordPress, for e.g.:
2. From the section “Your account” select a “Files Manager” and then find in it catalog with WordPress installed.
3. Next step is to create a “.htpassword” file which will contain the login and password to a secure login. In order to generate the contents of this file are entering the page http://www.htaccesstools.com/htpasswd-generator or http://htpasswdgenerator.net/ – we need to provide the login and password which will log on to our secure WordPress. When you click on “Create .htpasswd file”, a string of data logging will be generated – copy it.
4. In the DirectAdmin section – “File Manager” create a file “.htpasswd” in the directory of the installed WordPress.
5. At this point, we will open the window for editing newly created file – paste into it earlier generated content and click “Save As”.
6. Then in the directory with WordPress we locate a file called “.htaccess” – should already be created. If you do not, you must create it. The “.htaccess” file must contain the following content:
AuthName “Restricted Area”
ErrorDocument 401 “Denied”
Errordocument 403 “Denied”
What does it give it to me?
Well, double protection gives you a lot. You know that millions of people use WordPress and a lot of hackers are just waitin and trying to hack your content. Thanks to this option, your website or blog will be protected twice as good! An additional advantage is to significantly reduce the load on the server while such attacks.