Created
January 16, 2020 18:24
-
-
Save eriktdesign/9045cd19fe1ded352245b84d128ab80d to your computer and use it in GitHub Desktop.
Redirect Image Requests to 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/?.*$ | |
RewriteRule ^(.*)$ https://production-site-url.com/$1 [QSA,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment