Search results appear when coming from Google

Feb 5, 2010 at 3:15 PM
Edited Feb 5, 2010 at 3:15 PM

I've just discovered that the blogengine search results of my blog appear on the homepage when linking to my site from Google. I searched Flutterfly and clicked the link in Google, it takes you to me blog, but the home page starts off with:

---------------------

 

You searched for 'flutterfly'

Here are some results for the search term on this website

-----------------------

The actual homepage is then pushed further down. My homepage is based on a blank template, inheriting the blogpage bits to be able to display the posts etc.

This is clearly not what I really want but I cannot find any code that would be triggering this. Any ideas?

 

Coordinator
Feb 5, 2010 at 5:35 PM

You can disable or remove this.

In your blog's theme folder, there's a site.master file.  In it, you'll find the <blog:SearchOnSearch> control.  Something like this:

<blog:SearchOnSearch runat="server" MaxResults="3" Headline="You searched for" Text="Here are some results for the search term on this website" />

Just remove this line.

Feb 5, 2010 at 6:02 PM

Brilliant - thank you so much, that has solved it.