[wp-pro] Direct image link redirect

Celebridiot celebridiot at gmail.com
Tue Feb 9 00:46:46 UTC 2010


Hello -

Hoping someone might be able to assist.  I am using the Thesis Theme version
1.6 and it is working properly, but I also made a tweak to my .htaccess to
prevent hotlinking from other sites.

Now when image searches find images from my sites that were hotlinked from
other sites they show as a broken image on that site, but if you click the
view full size it will load the image from my site on a blank page.

ex:
http://images.google.com/imgres?imgurl=http://www.celebridiot.com/wp-content/uploads/2009/12/jersey-shore-mtv.jpg&imgrefurl=http://kaylaloosen.wordpress.com/&usg=__Ktncridl55yeIBq1Hh-TGEzgn-E=&h=330&w=456&sz=188&hl=en&start=1&sig2=yfwNPkR_Konj7k6xS2kwWQ&um=1&itbs=1&tbnid=HnlJhjysMDJaYM:&tbnh=93&tbnw=128&prev=/images%3Fq%3Dsite:celebridiot.com%2Bjersey%2Bshore%26hl%3Den%26sa%3DN%26um%3D1&ei=lK9wS7feG5vMswPczZyTCA

Full Size:
http://www.celebridiot.com/wp-content/uploads/2009/12/jersey-shore-mtv.jpg

Another Example:
http://www.celebridiot.com/2010/02/07/carrie-underwood-national-anthem/carrie-underwood-6/-
correct
http://www.celebridiot.com/wp-content/uploads/2010/02/carrie_underwood_national_anthem_super_bowl_xliv_INFphoto_1181820.jpg-
don't want this

Is there a way to prevent the wp-content/uploads to load on a blank white
page or have it automatically redirect back to the corresponding image
within the theme?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-pro/attachments/20100208/2141d915/attachment.htm>


More information about the wp-pro mailing list