Le réseau pour les développeurs >
Forums - Accueil
>
SharePoint - Search
>
Search with several site collection in one application
Search with several site collection in one application
- Hi Forum!
I have a web application that holds serveral website collections (one for each language). The first one that I created is located at this url http://www.mydomain.com the url of the rest is like http://www.mydomain.com/websites/xx.
I used the publishing site template for all of the site collections. I exported the first one, created an empty site collection and imported the export file to the new url, which worked pretty well.
My problem is that when I do a search on a site with the /websites/xx url I get redirected to the search result page of the original site collection, which represents a different language.
The search box is situated in the master page using this html code:
Any ideas why I am getting to the wrong site collection?<SPSWC:SearchBoxEx id="SearchBox" RegisterStyles="false" TextBeforeDropDown="" TextBeforeTextBox="Search" TextBoxWidth="100" GoImageUrl="http://www.mydomain.com/websites/en/Style Library/Images/search_arrow.jpg" GoImageUrlRTL="http://www.mydomain.com/websites/en/Style Library/Images/search_arrow.jpg" GoImageActiveUrl="http://www.mydomain.com/websites/en/Style Library/Images/search_arrow.jpg" UseSiteDefaults="true" DropDownMode ="HideScopeDD" SuppressWebPartChrome="true" runat="server" WebPart="true" __WebPartId="{7297771D-125A-42E9-9F7E-AA13013E52D2}"/>
TIA
Alex- DéplacéMike Walsh MVPMVP, Modérateurvendredi 3 juillet 2009 08:40Search q (From:SharePoint - Design and Customization)
Réponses
- Did you try going to the 'Site Settings' page in the site collection and modify the 'Search settings'? Once there, click on the 'radio'button for "Use custom scopes. Display richer results using the following Search Center:", and add the path to your search results page that you want to use.
Thanks,
RIchard- Marqué comme réponseAlex Szigetvary mardi 7 juillet 2009 10:24
Toutes les réponses
- Even people with Hungarian surnames should post Search questions to the Search forum.
Moving this.
WSS FAQ sites: http://wssv2faq.mindsharp.com and http://wssv3faq.mindsharp.com
Total list of WSS 3.0 / MOSS 2007 Books (including foreign language) http://wssv3faq.mindsharp.com/Lists/v3%20WSS%20FAQ/V%20Books.aspx - Did you try going to the 'Site Settings' page in the site collection and modify the 'Search settings'? Once there, click on the 'radio'button for "Use custom scopes. Display richer results using the following Search Center:", and add the path to your search results page that you want to use.
Thanks,
RIchard- Marqué comme réponseAlex Szigetvary mardi 7 juillet 2009 10:24

