Last active
September 22, 2016 08:51
-
-
Save niksudan/24388f3482860d7318d1 to your computer and use it in GitHub Desktop.
Local uploads folder [WordPress]
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase /wp-content/uploads/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*) http://example.com/wp-content/uploads/$1 [L,P] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This needs to be placed in the
wp-content/uploads/
directory