How to Promote a SharePoint Web Page and Sort Search Results by Date
Question details
The user needs to promote a specific webpage to the top of SharePoint search results for a query and sort the remaining document results by their creation or modification date.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Configuring search rules to prioritize a specific site link for a query (e.g., 'code of ethics') while organizing the rest of the search results chronologically.
- Observed behavior
- The promoted result rule places the intended webpage second instead of first, with an older document appearing at the top. The remaining search results are also not sorted by date.
Ensure you have Site Collection Administrator or Search Administrator permissions in SharePoint Online to access and modify search query rules and result sources.
Configure Search Query Rules for Promoted Results
Verify your search context and ensure the exact phrase triggers the promoted webpage to appear at the absolute top.
If an older document is appearing above your promoted webpage, the query rule may not be accurately targeting the intended search string, or the context may be too broad.
Navigate to Site Settings > Search > Query Rules in your SharePoint admin center or site collection.
Under 'For what context do you want to configure rules?', select 'Local SharePoint Results (Service)' from the dropdown.
Set the rule condition to exactly match your intended query phrase (e.g., 'code of ethics'). Do not use broad matching if you only want this rule to trigger for specific searches.
Click 'Add Promoted Result', enter the exact URL of the webpage you want to appear first, and save the rule.

Adjust Search Schema and Result Source Sorting
Because basic query rules do not guarantee date-based ordering for the rest of the search results, you must modify the Result Source ranking.
Experience a Lightweight and Seamless Office Suite with WPS Office
While SharePoint search configurations are specific to Microsoft administrative environments, if you are looking for a fast, free, and highly compatible alternative for everyday document editing and team collaboration, WPS Office is an excellent choice. It works seamlessly with Microsoft formats and offers an intuitive interface without the heavy system requirements.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to complete the installation.
- 3. Open and Edit Your Documents: Launch WPS Office and open your existing Office documents directly without losing any formatting or data.

Frequently Asked Questions
Why is my promoted SharePoint webpage showing up second instead of first?
This usually happens if the search context is incorrect, or if the exact query match text isn't strictly configured. Ensure you are using the 'Local SharePoint Results' context and that the query rule specifies the exact user search phrase. Also, verify no higher-priority rules are overriding your configuration.
Can I force all SharePoint search results to sort by date instead of relevance?
Yes, but not exclusively through Promoted Results rules. You must edit the Result Source via the Query Builder and change the default sorting parameter from 'Rank' to a date-based managed property like 'LastModifiedTime' or 'Write'.
How long does it take for a new promoted result to appear in SharePoint search?
Promoted search rules typically take effect almost immediately. However, depending on server load, caching, and background indexing processes, it could take a few minutes for the new ranking to consistently reflect in user search results.




