Inconsitent results while searching the keywords present in subsite header and navigation bar?? RRS feed

  • Question

  • Hi ,

    When we are searching with the words present in the subsite header or navigation bar of allitems.aspx,It's returning results of all the pages present in that allitems.aspx.

    We have tried to extract the body managed property value .Its value has all the header values and navigation bar values. Is there any way to avoid the header and navigation bar indexing.

    We have tried to exclude crawl rule for the allitems.aspx(with all the cases for ex:AllItems.aspx).still of no use :(

    Can anyone help in this ??



    Tuesday, September 27, 2011 1:46 PM


  • Hi Saranya,

    Open your view (AllItems.aspx) in SharePoint designer and add <div class="noindex">...</div> around the elements you don't want indexed.

    Or add <meta name="robots" content="noindex, nofollow"> to the <head> element of the page, and it will be skipped all together. Replace "nofollow" with "follow" if you want to follow the links on the page.

    Mikael Svenson 

    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    Tuesday, September 27, 2011 7:24 PM