How to avoid some nodes from being searched
I am not sure if topic has been posted. I made a little search in the forum topics but I did not find any that muchs to my need. Here is situation:
I have developed a Drupal based Local intranet system for our institute members and will be launched to the members in the coming days.But when I made some testing on the system developed I found out the search engine included in its search result two node contents which I don't want them to be displayed.
The contents are meant to be displayed in two cases ( Permission denied and Page not found type) that I have made a custom pages that are friendly to the user.
But being displayed in making a search is embarrassing to find "You are not authorized to see this page ...Permission required .."
The problem is that the contents of the two nodes node/n node/m is already indexed in the database. So what do I have to do to avoid these from being search results?
Is that MySQL tweaking or some Drupal refining? Need fine words over here. Thanks in advance.

Hi, I've done this in the
Hi,
I've done this in the past with a custom module, but I just found this that may help:
http://drupal.org/project/search_restrict
My custom module route was
My custom module route was based on this:
http://www.lullabot.com/articles/hiding-content-drupals-search-system
Thanks for the Information
Thanks the above link has great article with great comments. I come across many helpful information regarding search results and search option and found out the
search_config would help a lot in filtering the Advanced search options.
But my case seams different. I created two pages. One for Page not found and the other for access denied friendly messages. The two pages are listed in some search results as they are indexed in the DATA Base. How to restrict these two pages from being displayed. But I have also many pages of the same content type I want them to be searched.
Lead and Accelerate Your Life
Subscribe
Subscribe
A couple of things you could
A couple of things you could try: