I'm having trouble getting Google search results to display 'Site Name' and image.
My current schema object looks like:
<script type="application/ld+json">{"@context": "https://schema.org","@type": "WebPage","mainEntity": {"@type": "WebPage","name": "The Site Name","description": "A description of this website","url": "https://someurlhere.com.au","image": "https://url-to-icon/icon.png","author":{"@type": "Organization","name": "The Site Name","url": "https://someurlhere.com.au" } } }</script>
I've looked through schema.org docs and have also validated it.It's just a basic website/webpage that doesn't require additional search or anything fancy.
The two main things I want to make work is:
- Adding a 'Site Name' about the url at the top (instead it is showing the url)
- Adding the correct image in the Google results.
However, when Google indexes the page, it always seems to be the url as the site name.
How I want my search results to look:
How my search results currently look:
https://developers.google.com/search/docs/appearance/site-names.
Any help would be greatly appreciated!