Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

If you want that all site collections will point to the Search Site, do you need to configure all Site Collections one by one? Is there any way (powershell or something) which you can use once to configure all site collection? thanks for your advice.

share|improve this question
add comment

1 Answer

Here is what you are looking for. I have used this when I had to recreate my search center and it worked like a charm:

http://sharepoint.jsturges.com/2012/02/update-search-center-for-all-sites-in-a-web-application/

All you basically do is save your new search center url in a variable and use that variable to set the url to all sites within a web app by iterating through them.

share|improve this answer
    
I looked to the link you sent. it looks interesting. I upvote your answer. Ok do I need run a script every time I create a SC? –  Medes Oct 29 '12 at 21:53
    
Well, if your search center is going to be named differently or in a different place then YES you would have to run this script to set the new search cetner as the default search center on all your site collections. –  user7400 Oct 30 '12 at 12:41
    
I will be having same Search Center on same place. so What I need to do when i create a new Site Collection in my farm? –  Medes Oct 30 '12 at 19:01
    
Two ways to handle it if you were to create new site collections: 1. If you are creating only one or two Site Collections, you can go to site actions>>site settings>>search settings (under site collection Administration) and set your Search Center there. 2. If you are goign to create a bunch of site collections, then just run the script again. –  user7400 Oct 30 '12 at 19:29
add comment

Your Answer

 
discard

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.