Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Britt 1 post 71 karma points
    Jun 02, 2016 @ 14:02
    Britt
    0

    Making a site page "Not searchable" on Umbraco's on-site search.

    Hello Umbraco friends,

    I have a page of content that we are required by regulatory agencies to publish on our website, however we do NOT want this page to searchable in our on-site search. Is there a way to block a page from showing up in the search results IN UMBRACO????

    I have Google search covered with a "no index no follow" command, but do not know how block page within Umbraco site search.

    Thank you in advance,

    Britt

  • Ole Martin Bakke 112 posts 624 karma points
    Jun 02, 2016 @ 20:29
    Ole Martin Bakke
    0

    There are multiple ways to do this. I guess you've got a property on the node saying it should not be indexed. Then you could check this property while iterating the search result and just skip it. And other posibility is to hook into the indexingevent and stop the node from being added to the Index.

    -Ole Martin

  • Bijesh Tank 192 posts 420 karma points
    Jun 03, 2016 @ 09:29
    Bijesh Tank
    0

    Hi Britt,

    Are you using Examine for your search? If so, you can tweak your search settings using the ExamineIndex.config file (found in the /config folder)

    For example,

    <IndexSet SetName="MySiteIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/MySiteIndex">
    <IndexAttributeFields>
      <add Name="id" />
      <add Name="nodeName"/>
      .....
    </IndexAttributeFields>
    <IncludeNodeTypes>
      <add Name="MyDocType" />
      .....
    </IncludeNodeTypes>
    <ExcludeNodeTypes>
       <add Name="DocTypeToExclude"/>
       ..... 
      </ExcludeNodeTypes>
    </IndexSet>
    

    B.

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jun 03, 2016 @ 09:46
    Ismail Mayat
    0

    Britt,

    How is your site search implemented we are assuming its done with examine?

    Regards

    Ismail

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies