WordPress Themes and WordPress Plugin is the most enhanced method that we can do easily and quickly. But for some reason there are hacker or BAD HABITS from netter, their tried to do something weird on our WordPress website.
<Files ~ ".(js|css)$"> order allow,deny allow from all </Files>
After you put this code, you are done. But for prepare for worst condition, please Don’t forget to backup the file before edition!. This tricks will show you how to prevent direct access to plugin files.