WordPress tip: Quickly secure plugin files

WordPress tip: Quickly secure plugin files

Paste the following in your .htaccess file. Don’t forget to backup the file before edition!

<Files ~ "\.(js|css)$">
  order allow,deny
  allow from all
</Files>

This recipe has been submitted by Greg Winiarski. Thanks for your contribution!

Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!

WordPress tip: Quickly secure plugin files

Leave a Reply

Your email address will not be published. Required fields are marked *