SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have deployed a custom branding project as a Feature, to a SharePoint 2010 Publishing site (Intranet) - just some stylistic tweaks and a custom master page. When I perform a search and land on the OSSSearchResults.aspx page, there is a "Try searching again in all sites" link which leads to Search/Results.aspx page. This page's layout is broken, and it looks like there are no CSS files referenced from it.

My plan is to remove the link from OSSSearchResults.aspx but I'm not sure how to proceed. I've heard said that application pages (in the _layouts directory) "cannot be customized"...

Can anyone shed some light on this?

share|improve this question
up vote 2 down vote accepted

To remove the link break the connection to the Search Center

Step by step:

  1. Select Site Actions | Site Settings
  2. In Site Collection Administration click Search Settings
  3. In Site Collection Search Center select Do not use custom scopes. ...
  4. OK
share|improve this answer
That fixed it, thanks Per! – IrishChieftain Oct 16 '12 at 20:22

Correct, you shouldn't modify SharePoint files in the _layouts folder. In your master page, you could add some CSS that targets that link and hides. Use a web inspector (like the IE Developer Toolbar) to identify the CSS class or ID that you could target to hide that link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.