Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google's 'no image preview' meta tag to organisation index pages #3504

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

AshGDS
Copy link
Contributor

@AshGDS AshGDS commented Jan 16, 2024

What

  • Adds Google's max-image-snippet meta tag to each organisation's index page. The meta tag's value is set to the value none, which should prevent a featured image showing up next to organisation pages on Google Search results.

Why

  • Google seems to be showing some of our organisation pages as "Rich snippets". In other words, it's adding an image from the organisation page next to the search result.
  • From looking online, it seems that Google decide themselves what image from the page they think is best to feature next to a search result.
  • This may be a problem for us due to some examples we've been alerted to. It seems that for some organisations they are taking a photo of someone in the "Related people" section, and using them as the featured image on Google. This may cause concern due to interpretations that can be made by having a person as the featured image for a whole organisation. As well as this, sometimes it grabs one of the Featured images, which could also be an issue depending on what the featured image is.
  • You can stop Google from showing an image preview on a search result with the max-image-snippet meta tag. Therefore I've added it in this PR.

Affected search results

Google sometimes displays organisation pages as a 'rich snippet'. Google decides what image they feature on these search results. As we do not control what image they use, and sometimes the wrong image may be problematic, we can prevent Google showing a preview image on these pages."
@AshGDS
Copy link
Contributor Author

AshGDS commented Jan 30, 2024

Thanks @maxgds

@AshGDS AshGDS merged commit 72c8b49 into main Jan 30, 2024
16 checks passed
@AshGDS AshGDS deleted the add-google-no-image-preview-organisations branch January 30, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants