Feb 10, 2012
Redirect Google Image Search Traffic To Blogs
Feb 10, 2012 by Ravi Saive
We all know that Google Image Search is one of the leading image search engine for driving image traffics to blogs or websites, if images are well optimized by ALT tags. Google indexes images must faster than the webpages, if images are properly optimized with ALT tags. But now things have been changed, the newer version of Google Image Search opens the image in an iframe by blocking the actual website in the background with the Image on the top. This is good for Google Image Search users as they download the images without visiting the actual website that hosts the images. But for blog or websites owners this is a loss of revenue and traffic. See below example how Google Image Search kills legitimate traffic by framing the actual website in the background.But don't worry we have a small piece of code that will do the trick, I have tried this code in one of my website and works perfectly, when a visitor click on the image it will redirected to the original website. The code will do a simple JavaScript hack to redirect all Google Image Search viewer to your original website page. So, let's add this code in your blog or website to increase your image search traffic too.
Redirect Google Images Traffic To Blogs
1. Go to your Blogger Dashboard click on ---> Design tab ---> Edit HTML tab.2. Make sure to take backup of your Template before making any changes to your HTML. (More Info On: How To Backup Blogger Template.
3. Now click on Expand Template Widgets check box.
4. Search for <head> tag in your Template. More Info On: "How To Find A Code In Blogger Template".
5. Copy and Paste the following piece of code Above the <head>.
Code
<script language=’Javascript’>if(parent.location != self.location){parent.location=self.location;}</script>If above code fails, use below one
<script type=’text/JavaScript’>if (parent.frames.length > 0)top.location.replace(document.location);</script>6. Save your template and check your website.
Redirect Google Images Traffic To Wordpress Blogs
There is a simple plugin called ‘Break Out Of Frames’ available for WordPress blogs, simple install it and gain back all the lost revenue and image traffic to your blogs. Once the plugin installed on your blog it will force Google Images Search to redirect all visitors to your blog. Download link is below.Hope you'll found this article useful, I would be really interesting to know how much traffic you gain after installing the code and plugin on blogs.
About : Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Because it is usually free and allow me do geeky stuff such as Programming and Scripting with CLI (Command Line Interface).
Subscribe to:
Post Comments (Atom)
19 Responses to “Redirect Google Image Search Traffic To Blogs”
February 10, 2012 at 4:54 AM
I pasted the above code in my blog http://www.androindianapps.blogspot.in but it shows error like this = Error parsing XML, line 4, column 14: Open quote is expected for attribute "{1}" associated with an element type "type".
February 10, 2012 at 5:02 AM
@ Bhagirath Purohit - The code was updated above, please add that. It will work 100%
March 1, 2012 at 12:06 PM
Hi bro, I tried doing this and I managed to add in the javascript code. I saved it fine, but now whenever I am going to the html edit page again, blogger right away showing me error performing request. I can't even go to the edit html page because blogger automatically redirects me. I think the reason is because the javascript clashes with mobile preview which I have turned on. Do you have any idea how I can revert back this problem?
March 1, 2012 at 10:08 PM
@ Kantha Rao - Add me as a author will do it for you. trust me.!
March 3, 2012 at 4:51 AM
Hi Mr Ravi, it was weird but I somehow managed to go to the edit html page and delete the portion of the javascript code.. As for now I am not using the javascript given above.
March 10, 2012 at 2:38 AM
I used it and it screwed up my page..please don't post things like this if it does a mess like this..now whenever i'm going to edit template..it redirects me to other page..let me if i can remove your script..
X(
March 11, 2012 at 11:39 PM
@ MMR - Sorry for whatever happens, but believe me the code is working fine on my two blogs, anyways i will investigate on this issue and try to update working code. Sorry if any misleading happens.
March 28, 2012 at 8:53 AM
This code is working 100% but why other commentators are having problems with this.Pls reply me Mr. Admin if this code have any error or problem.
My site- http://www.trekbd.com/
Recently I am using this code in this blog
March 28, 2012 at 10:40 PM
@Travel the world - The code is updated one and will work fine without any doubt..
April 3, 2012 at 6:37 PM
i also having problem after adding this codes to my blog
it keeps redirecting to blog template edit suddenly
April 3, 2012 at 10:53 PM
@ snsd photo - your blog link pls? let me check.
May 10, 2012 at 7:38 AM
I will hold back trying it.
www.crazycarries.blogspot.com
May 18, 2012 at 6:46 AM
I'm having the same problem from friends, put the code on my page, and now I can no longer edit my html template, it is redirecting me. What should I do?
May 19, 2012 at 2:51 AM
@Jefferson - Sorry for that, just remove the code from the template or if you not able to do, just add me as a author to your blog will do it for you. Thanks
May 24, 2012 at 3:16 PM
Hey Ravi i just got onto this blog and found very informative... I stumbled upon this post and found users having prob with the above.. So for them and for your help i searched and found similar code which is working flawlessly... here is the url http://www.bloggertweaks.com/how-to-gain-traffic-from-google-image-search/
use it if you found useful and link back to the original blog (I m not the blog owner of Bloggertweaks.com)
May 24, 2012 at 10:52 PM
@Samy Jain - Thanks Samy, I have updated the code. About the link back to original author its already mentioned here by you in the comment section. Thanks again.
August 28, 2012 at 1:15 AM
@Ravi Saive
Thanks for the WordPress plugin link. I see it's a new one - I like testing new wp plugins.
If it works, will solve the annoying 404 errors - one of my sites gets a lot of image search traffic - and the images are hotlink protected so I get lots of 404s logged for images.
September 12, 2012 at 2:02 PM
i hv tried both codes but not working showing error on my blog www.yomix.in
September 26, 2012 at 7:06 AM
Hello sir I need your help - I am using your given 'Image Redirect Code' in my blog, but now problem is in blgger new interface is I am not do any thin on 'Templet' page or 'Edit HTML' page, because I try to go on these page but page being redirect and comes blank page. Please Help me.
How to I remove this code without going on 'EDIT HTML' page?
Post a Comment