Last active
February 26, 2019 05:39
-
-
Save JeremyEnglert/ea20ef53d24f0b0f4f3caae359969451 to your computer and use it in GitHub Desktop.
Put this in your local wp-content/uploads directory to avoid needing to move media files to your local environment.
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule (.*) https://YOURLIVEURL.com/wp-content/uploads/$1 [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment