How do I exclude a directory from search results?

Answer

You can exclude directory from search results by adding exclude rules in your console. If you want to exclude a specific directory, select either the First directory or Second directory field, set it to Equals, and then enter the directory name that you wish to exclude from search results.

For example, if you have a site called www.acme.com with a section containing legacy publications you wish to exclude at www.acme.com/old, create an exclude rule where First directory equals old. This removes all content from the index found within old.

If the content instead lived in www.acme.com/publication/old then set the exclude rule to Second directory Equals old.