Created
June 7, 2018 05:20
-
-
Save BhargavBhandari90/af06f4264dc56bfc38d9f355599fcdec to your computer and use it in GitHub Desktop.
Add these two line at the starting of WP rules
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
RewriteCond %{REQUEST_FILENAME} -s | |
RewriteRule ^wp-content/uploads/(.*)$ dl-file.php?file=$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment