Google search results are structured. SEO works fine, the only "complaint" is that URLs are displayed in search results. Actually it brings the wordpress post file name next to dns. I understand that the URL of a document is usually displayed in a search result in Google below the document title.
As per this: https://developers.google.com/search/docs/beginner/seo-starter-guide?ref_topic=9268559#urls-are-displayed-in-search-results
best practices include to use words in URLs that are relevant to your site’s content and structure are friendlier for visitors navigating your site, etc.
But can we somehow remove this path+file name?