Created
September 15, 2013 14:00
-
-
Save yoshimana/6571000 to your computer and use it in GitHub Desktop.
特定サイトから直リンされた画像を.htaccessで別の画像に差し替える方法 ref: http://qiita.com/yoshimana/items/3e7f0b3b1f7653bd1e08
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
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} ^http://対象サイトのURL/.*$ | |
RewriteRule ^(.*)$ 置換え画像のURL [R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment