Sharepoint Query Exclude AllItems.aspx or AllPages.aspx By Caner / Sep 07, 2015 / Sharepoint share Facebook Twitter Google + LinkedIn Pinterest Email Share... To exclude AllItems.aspx from your query result; -filename:AllItems.aspx To exclude AllPages.aspx from your query result; -filename:AllPages.aspx