Created
April 3, 2018 18:07
-
-
Save nickysixer/bc2de8653deb1b2e8bd59ad21de2fcd4 to your computer and use it in GitHub Desktop.
Develop Locally, Use Images from Production
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 %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$ | |
RewriteRule ^(.*)$ https://[production_website].com/$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment