Tuesday, June 12, 2012

Educate Pinners With .htaccess

Have your own website? Here is a chance to educate the pinners with a message, and stop pinning at the same time - all with a single piece of cut-and-paste code that can disable pinning sitewide. Two birds with one stone.

Simply add the code of your choice, below, to your .htaccess file. When attempting to pin an image from your website, unbeknownst to them, the pinners will be posting something completely different, that will be seen by all their followers! There is a lot of potential to reach pinners with this method. The images are hosted on flickr.


To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7099/7286791720_017f7f2cba\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7220/7203313120_708e9a7229\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7080/7167093018_58b755d606\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm9\.staticflickr\.com/8158/7003734640_55920c978d\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7238/7003187122_e1a58a8202\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7084/7002973012_8535692c4e\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm6\.staticflickr\.com/5275/7000674678_c5a1b80ba4\.jpg [R]



To use this image:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Pinterest [NC]
RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://farm8\.staticflickr\.com/7080/7107060703_aec6eba365\.jpg [R]


1 comment:

Libby said...

Good stuff. I put the previously published meta code into my sites but I might change it because it would be much more fun to surprise them with these.