I have a SharePoint 2010 Publishing site with two variation labels.
At the site collection level, under Search Settings, search is configured as follows:
- Site Collection Search Center: Do not use custom scopes
- Site Collection Search Drop Down Mode: Do not show scopes dropdown, and default to contextual scope
- Site Collection Search Results Page: /_layouts/OSSSearchResults.aspx
When I perform a search, the search results page is at /{Variation}/_layouts/OSSSearchResults.aspx. All good until now.
I added a copy of OSSSearchResults.aspx to my solution and renamed it to MyOSSSearchResults.aspx and then changed the Site Collection Search Results Page setting to /_layouts/MyOSSSearchResults.aspx.
Now when I perform a search, the results are displayed at /_layouts/MyOSSSearchResults.aspx - at the site collection level, above my variations.
What do I need to do to ensure that my custom version of OSSSearchResults.aspx shows search results at the variation level?
Thank you!