Modern Search SharePoint - Try to show full path instead of team site name only

Marcipont, Sebastien 1 Reputation point


I have a question to know how can we change the display result for a search.

You can find here an example of what we have and what we would like to have.

For example, we have 2 documents with the same name in the same site but in different libraries :


When I have made a research for those documents in SharePoint, I received those results :


The links are working fine and send us to the correct library but is there a way to show us the full path of the library link instead of showing us only the site name ?

Example of what we would like to have :


Best regards,

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
5,995 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,667 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Renjie Sun-MSFT 2,766 Reputation points Microsoft Employee

    Hi @Marcipont, Sebastien ,

    Thanks for the post.

    As to your question, currently, the Microsoft has removed the file path from search results in SharePoint Online. It is by design.
    You could send feedback to Microsoft SharePoint Feedback.
    More information about Modern search in SharePoint

    Thank you for your support and understanding, I hope I can offer you a better experience next time if I have a chance to work with you again.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.