Harden my site with htaccess
-
I am very new to all of this. Hackers wrecked my site even though I had WordFence protecting it. Then I bought SiteLock. I am using their firewall, so all visitors come from their IP.
Even so, a malicious bot somehow changed a read.me file in one of my plug-ins. I fixed it but now I want to prevent that. I read all about htaccess file and it may as well be an alien hieroglyphics.
It cannot recognize me as the admin by my IP because it will only see the firewall’s IP.
I would like to :
1) protect my plugins.
2) protect my wp-admin.php
3) Protect my wp-admin files.
4) Not screw up my site doing this.Will this work?
<file wp-config.php> order allow, deny deny from all </files>
Will it still let me work on my own site?
How do I protect my plugins from everybody else but me?
Is it possible to protect my whole wp-content folder?I thought about doing this with robots.txt file but would a malicious bot even read that? Or would that just be a joke?
I love WordFence and value it, but it does not seem like it is capable of protecting these file areas. Shouldn’t this be somehow integrated into WordPress itself? Oh, well. It isn’t. So, now what?
I value your kind advice.
- The topic ‘Harden my site with htaccess’ is closed to new replies.