I have used search query web part to show all the subsites in a site. But sometimes I am facing the issue that, it does not show the new site created or also few sites that were deleted, it shows up in a search result web part. But when I click on that deleted site, it shows that the
Page not found.
What could be the reason for this?