-
-
Save synCRAUNicity/faeee9881f6a62cb8694 to your computer and use it in GitHub Desktop.
Prevent anyone from view upload directory in WordPress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #.htaccess to be saved on the root of wordpress upload directory | |
| <FilesMatch "\.(php|php3)$"> | |
| Order Deny,Allow | |
| Deny from all | |
| </FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment