Excluding Header information from site search results

Posted by Community Admin on 03-Aug-2018 13:50

Excluding Header information from site search results

All Replies

Posted by Community Admin on 23-Sep-2014 00:00

Hello community,

We're currently running 6.2 of the platform and are experiencing a problem with site search.

The search results returned are over-9indexing the site so much as to render the search feature not useful. 

It seems that search is crawling and header information at the page level and retuning that in the search results.  

My question for the community is, has anyone experience the same problem, and/or, does anyone have a solve for excluding certain page-level data from the query.  Please advise.

Regards,

Michael

Posted by Community Admin on 24-Sep-2014 00:00

Yeah you have to hide what you don,t want indexed...its easy though

 www.sitefinity.com/.../hiding_page_content_from_the_search_engine_in_sitefinity_using_layout_widgets

 Ignore all the layout stuff, just look at the line of code

this.Visible = this.GetIndexRenderMode() == Telerik.Sitefinity.Web.UI.IndexRenderModes.Normal;

So in your masterpage codebehind or widgets just hide stuff based on the rendermode....it'll fix your problem.

Posted by Community Admin on 26-Sep-2014 00:00

Hello Michael,

If you have any issues implementing the new layout control, please let us know.

Regards,
Vassil Vassilev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed