Ask a questionAsk a question
 

AnswerChange the search results url

  • Tuesday, November 03, 2009 2:16 PMYair Nevet Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi folks,

    I've add a new SearchCenter site under my site collection and I want all searches to show results in the /SearchCenter/results.aspx and not as it is today: /_layouts/OSOSSSearchResults.aspx

    1.How can I do it?
    2. By the way, the pages(results.aspx, advanced.aspx, searcha.aspx) under my SearchCenter site are not under Pages folder, but directly under SearchCenter(like: /SearchCenter/results.aspx), do you know why?


    Thank you,

    Yair

Answers

  • Thursday, November 05, 2009 4:56 AMPaul Lucas Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    For the first issue, go to the Top-level site, Site Settings > Search Settings. You will be able to select whether to use scopes and a search center, or the osssearchresults.aspx.

    You will also probably need to configure scopes to point to a particular page within your search center (such as results.aspx). Site Settings > Search Scopes


    For the second issue, you are probably not seeing pages in the pages library because your search center is based off the "Search Center" template. This template is not a MOSS publishing site, and so doesn't have the pages library.

    In comparison, a site based off the "Search Center with Tabs" template is a MOSS publishing site with a pages library.

    Hope this helps

    Paul.

All Replies

  • Wednesday, November 04, 2009 4:05 AMAllenYU Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I think for the first one, you should edit the search box web part.  Set Field【Target search results page URL】 to your own page.

    For the second one, have you created your own search result pages?


  • Thursday, November 05, 2009 4:56 AMPaul Lucas Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    For the first issue, go to the Top-level site, Site Settings > Search Settings. You will be able to select whether to use scopes and a search center, or the osssearchresults.aspx.

    You will also probably need to configure scopes to point to a particular page within your search center (such as results.aspx). Site Settings > Search Scopes


    For the second issue, you are probably not seeing pages in the pages library because your search center is based off the "Search Center" template. This template is not a MOSS publishing site, and so doesn't have the pages library.

    In comparison, a site based off the "Search Center with Tabs" template is a MOSS publishing site with a pages library.

    Hope this helps

    Paul.
  • Thursday, November 05, 2009 6:53 AMAllenYU Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    right. Please make sure that you are site collection admin.