How the hell do I secure wp-includes and wp-content
-
How am I supposed to secure these files?? I have tried .htaccess and that did secure it, but it bloced access to some code from some other code and some parts of my site did not work, at least from the admin side. So my question is how in the hell am I supposed to secure these freakin files? I already have index in my wp-content, but I have seen that some sites block access to wp-includes and wp-content, how can I do this for blog security. Also, here is what I have for the .htaccess file now:
For wp-includes:
Order Allow,Deny
Deny from all
<Files ~ “.(css|jpe?g|png|gif|js)$”>
<Files ~ “.(/themes/)$”>
Allow from all
</Files>For wp-content:
Order Allow,Deny
Deny from all
<Files ~ “\.(css|jpe?g|png|gif|js)$”>
Allow from all
</Files><Files ~ “.(/themes/)$”>
Allow from all
</Files>
- The topic ‘How the hell do I secure wp-includes and wp-content’ is closed to new replies.