If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Also can I add an addendum to the above question, how can I change the sidebar in the Search Result Page?
1) You can use plugins like http://wordpress.org/extend/plugins/relevanssi/ – it allows you to exclude certain pages from the search.
2) You can use widget logic: http://wordpress.org/extend/plugins/widget-logic/ to display certain widgets on the search page. Add the widgets to the “Displayed Everywhere” area and add following condition:
into the widget logic field.
The topic ‘Exclude Pages from Search’ is closed to new replies.