8/21/2009 11:35:28 AM
Excluding Document from Site Search - Syntax
I realize that this exists: Site Manager -> Settings -> Website
Exclude documents from search
The help says this:
Specifies site sections that should be excluded from search. You can specify several site sections or particular documents, separated with semicolon (;). You can use wildcard character %.
However, I am trying to exclude several folders in Kentico and when I add these names as instructed, they do not dissappear from the search resuts.
Maybe the provided Webpart for search ignores that, but I also have no idea how the syntax works based on the help.
To exlude a directory, do I do this: /directory or /directory/%
... or both if I don't want the folder to show either.
I have tried this and it doesn't work.
Also, if a directory has a space in the name, do I use the aliased version with a dash or the space or a wildcard?
Maybe I need to restart IIS or the website or the app pool?