Secure your wp-includes folder

/ Published in: Apache
Save to your folder(s)

After installing WordPress an .htaccess file with the following code needs to be added to the wp-includes folder.

Copy this code and paste it in your HTML
  1. Order Allow,Deny
  2. Deny from all
  3. <Files ~ ".(css|jpe?g|png|gif|js|swf)$">
  4. Allow from all

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.