Created
December 28, 2017 00:22
-
-
Save lmeyer/bdae4a8a8242349afb5aa23f418082a0 to your computer and use it in GitHub Desktop.
Protect gravityforms uploads
This file contains 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
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ | |
RewriteRule ^app/uploads/gravity_forms/(.*)$ /index.php [NC,R=401,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment