Created
August 5, 2017 10:39
-
-
Save BeFiveINFO/1777f8cb562c94628dc45b510a869e51 to your computer and use it in GitHub Desktop.
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
# any external incoming request to images hosted are redirected to other server holding dummy of the original content | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?thememountain\.com/ [NC] | |
RewriteRule (.*)\.(jpe?g|gif|ogv|webm|bmp|png|mp4|svg|css)$ http://placeholders.thememountain.com/wordpress/$1.$2 [NC,R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment