Created
April 9, 2019 13:05
-
-
Save thetwopct/b4e4b962e4d315a6ff47b45e83cdc13b to your computer and use it in GitHub Desktop.
Redirect images to production server
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://productionsite.com/$1 [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment