Oct 08 2023 05:00 AM
We are in the process of building our SharePoint 2019 on-premise site. During the process of building the site, we changed the name of the site to a new site name.
When I test the search function, it shows the option for All Sites. If I select all sites, search results with URLs containing the old name display, and are thus broken links. We've cleared the cache and reset the server. How do we get the old site URLs to not display in search results. Is there a setting in the central admin area to say to only search the current SharePoint site?
Oct 09 2023 12:02 AM
It is important to ensure that old URLs do not appear in search results, especially after changing the name of your SharePoint site. To address this issue in SharePoint 2019, you can follow these steps to configure your search settings and remove the old URLs from the search results:
By creating a crawl rule that excludes the old URLs, you should be able to prevent them from displaying in search results. Be sure to periodically review and manage your crawl rules to ensure that your search results are accurate and up to date.
My knowledge of the topic is limited, but since no one has answered yet, even though it has been read many times, I posted the question in various AIs and found the above suggested solution for you. The proposed solution is untested.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and Like it!
This will help all forum participants.