[pmwiki-users] How to exclude only some pages from seraches

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 23 10:03:19 CST 2005


On Wed, Feb 23, 2005 at 04:53:30PM +0100, Stefano wrote:
> I reead about how to avoid search on an entire category, but i'm not
> able to do the same only on some pages

You mean you want to be able to exclude certain pages from the
search results?  Yes, it can be done --

   $SearchPatterns['default'][] = '!^MyGroup\\.ExcludeThisPage$!';

excludes MyGroup.ExcludeThisPage from the default search.

Pm



More information about the pmwiki-users mailing list