how to change search results page for default search box in modren team site sharepoint 2019?

adil 1,431 Reputation points
2023-08-23T19:32:24.9033333+00:00

Hi

I created a subsite modren team site under a site and how to change search results page for default search box in modren team site sharepoint 2019?

In sub site SiteSettings>Search>Enter a Search Center URL : changed to custom search page but still default Search box showing results in _layouts/15/search.aspx page

Searchbox

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,230 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
3,045 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 51,781 Reputation points Microsoft External Staff
    2023-08-24T08:11:23.98+00:00

    Go to subsite Site Settings -> Search -> Search settings -> Enter a Search Center URL -> Then unclick "Use the same results page settings as my parent." -> Click "Send queries to a custom results page URL." -> Enter the Search Results page URL.

    After changed search settings, please do a full crawl to make changes take effect.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Emily Du-MSFT 51,781 Reputation points Microsoft External Staff
    2023-08-28T06:02:54.6833333+00:00

    I have done further test and here are some findings for you.

    The Search settings in the Site settings (subsite) only effect classic search in the SharePoint 2019. If you use modern search, the search result page is designed, and cannot be customized.

    After setting Search settings in the Site settings (subsite), please go to Site contents -> Return to classic SharePoint, then do classic search, it redirects to custom search result page you have set in the Search settings.

    1

    2


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.