Created
March 27, 2019 18:29
-
-
Save ErikBernskiold/ea745689910623cd866732268f6d6165 to your computer and use it in GitHub Desktop.
Load wp-content from production if a file doesn't exist locally.
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_URI} ^/wp-content/uploads/[^\/]*/.*$ | |
| RewriteRule ^(.*)$ https://PRODUCTIONDOMAIN/$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment