How To Make An Image Nofollow
So, Jonas asked how to make an image nofollow if you are linking to Amazon. Now, code often goes skewey/skewy??? when you try to show it in WordPress posts but I will give it my best shot.
To the left we have a lovely rubber duckie for sale which you can buy by clicking it. I have given it a title that reflects my term “Rubber Duck”, and an alt tag to match. This means that once I backlink this page for rubber duck then I will rank in search and in image search and I also further concrete the fact that I want to rank for Rubber Duck. A H2 would also further help me rank before the backlinking begins 😉
So, I certainly don’t want Amazon ranking higher than me for rubber duck. So, I need to nofollow my image, especially as it is keyword rich.
How To Make An Image nofollow
I go to my wordpress post and add an image, I fill in the alt tag and put my Amazon link in the link URL box and then insert the image.
Next go to the html side of your post and just after the a (leaving a space) at the beginning of the code insert your rel=”nofollow” using quotes and then make a space before the href and the rest of the code.
You should find that it looks like the code below. Once you go back to to the visual side your work is done. It will look like below in the html side, although as is often the case when pasting html on to the visual side the quotes often get messed with so never copy quotes “” from sites, always put in your own.
<a rel=”nofollow” href=”http://www.amazon.com/gp/product/B000GUZC2A/ref=as_li_ss_tl?ie=UTF8&tag=zenduck-20&linkCode=as2&camp=217153&creative=399349&creativeASIN=B000GUZC2A”><img title=”rubber duck” src=”http://zenduck.me/wp-content/uploads/2011/05/duckie.jpg” alt=”rubber duck” width=”210″ height=”210″ /></a>
And don’t forget to do it for all your text links too. Obviously for maximum effect I would not use a photo that was named duckie originally but one I named rubber duck, but hey, I am not really bothered about ranking for a rubber duck, just the ZEN DUCK!
Jonas you owe me a rubber duckie.