We have a MOSS 2007 internet site. Someone created mistakenly an intranet site collection in this web application and did some work - I will call it location 1 in the following text.
Now I created a new web application just for intranet. And backup the orginal intranet site collection and restored to the new web application as a top site collection, I will call this location 2.
It works fine except the search box. Since in location 1, the searchresult page is : http://www.mycompany.com/sites/intranet/searchresult.aspx.
after I restore it to the new site, it's still pointing to something similar like the old address: http://intranet.mycompany.com/sites/intranet/searchresult.aspx.
But I got a page cannot found message in location 2. But if I manully enter url http://intranet.mycompany.com/sites/intranet/searchresult.aspx. it will show the result.
Where in the code I can change the URL of search result page? to http://intranet.mycompany.com/sites/intranet/searchresult.aspx.
I know we have a customized web master page, and at the top corner of it, there is a search box, but I cannot find where to change the url address of search result page?
Thanks