Please forgive me if I am a little slow in flagging this up, but it has only just floated across my radar: you can now implement Google AdSense for search results on your own page, displaying the all important revenue generating adverts alongside the search results without directing readers off-site. There are two distinct pieces of code involved, one for the search box and the other for the results, and by doubling up like this you get full control not only over where the search is conducted but also where the results appear. Am I alone in finding this a rather exciting and hopefully profitable move?

Implementation could not be easier, as long as you have created the search results display page before you get cracking. Blogger users, and anyone else where the web host does not allow the creation of a separate URL for search results cannot, sadly, play along. Everyone else just needs to login to their AdSense account, choose AdSense for search from the setup tab, and scroll down to the ‘more options’ section where the ‘open results within my own site’ checkbox should be ticked. Enter either the full, or relative, URL and then copy the generated search box and search results code into the source HTML for the pages concerned.

About the Author

As Editorial Director and Managing Analyst with IT Security Thing I am putting more than two decades of consulting experience into providing opinionated insight regarding the security threat landscape for IT security professionals. As an Editorial Fellow with Dennis Publishing, I bring more than two decades of writing experience across the technology industry into publications such as Alphr, IT Pro and (in good old fashioned print) PC Pro. I also write for SC Magazine UK and Infosecurity, as well as The Times and Sunday Times newspapers. Along the way I have been honoured with a Technology Journalist of the Year award, and three Information Security Journalist of the Year awards. Most humbling, though, was the Enigma Award for 'lifetime contribution to IT security journalism' bestowed on me in 2011.

I have been an avid AdSense member since its inception, and I was just about to send you a PM saying "What are you talking about? This isn't true!" But whoa, you surprised me and definitely proved me wrong. Very nifty!

It surprised me as well. Not least because it has hardly caused a ripple of comment online. You would think it would be getting plenty of publicity, but no...

Using it on DaniWeb already :)