Would like to exclude part of the website in search

Would like to search everthing on the website except for a certain branch.
The simplest is to make sure the branch is not shown for searches.
Se link, opens in new window

But if you would like the content to be searchable but not in this search a hidden search string is required.

Type the following in hidden search string beneath the tab Advanced in the search portlet:
AND NOT path:id-nummer

The Id number can be reached for each page/archive/folder by choosing Properties -> General -> Page information ->Id.

  • Id for an archive always begins with 3
  • Id for web pages always begins with 4
  • Id for a folder always begins with 19
Sidan senast uppdaterad: 2015-05-13