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.
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.
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
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
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,
B.
Britt,
How is your site search implemented we are assuming its done with examine?
Regards
Ismail
is working on a reply...
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.