Sunday 18 March 2012

How To Create A Custom Search Page in SharePoint 2010 Publishing Sites


There are a few reasons you may want to do this; complete control over search page, want to keep the search box where it is, anonymous access to search results, etc.
Create a search page
  1. Create a new site page called Search (search.aspx) in your Pages library
  2. In the ribbon click on Editing Tools > Insert > Web Part
  3. Under Categories, click on Search
  4. Under Web Parts, click on Search Core Results
  5. Click on Add
  6. Publish and Approve page if necessary
Enable your new search page
  1. Site Actions > site settings
  2. Site Collection Administration > Search Settings
  3. Search settings page
    1. Site collection search center: Do not use custom scopes
    2. Site collection search results page: type in the new page path (ie. /pages/search.aspx)
    3. Click on ok
You are done.... :) Happy Coding...

No comments:

Post a Comment