Filter out allitems.aspx page from search result in SharePoint 2013

Tanmoy Das 801 Reputation points


I want to filter out allitems.aspx page from search result web part in SharePoint 2013

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,795 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Itch Sun-MSFT 2,556 Reputation points

    Hi anonymous user
    You should change the query in the Search Results Web Part.

    You can refer to the following two examples:

    How to exclude "AllItems.aspx" from the search results Webpart ?

    Exclude AllItems.aspx from Search Results in Content Search Web Part

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Tanmoy Das 801 Reputation points

    Isdocument:"True" did the trick