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 WebSite structured data so that site title shows up in Google #109

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

penelopeysm
Copy link
Member

@penelopeysm penelopeysm commented Nov 18, 2024

Closes #108 (I think, also I suppose Google will need to reindex the site, see https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl).

Note, I suspect we're running into this problem (emphasis mine, quoted from https://developers.google.com/search/docs/appearance/site-names):

Provide an alternative name. While our site name system tries to use your preferred site name, sometimes the name isn't available for use. For example, our system generally won't use the same site name for two different sites that are global in nature. In other cases, our system might determine that a site is more commonly recognized by an acronym than by a full name. Providing an alternative name using the alternateName property allows Google to consider other options if your preferred choice isn't selected.

Thus, the original <title> tag of Turing.jl isn't being picked up by Google, because the turing.ml domain already took that site title. I added an alternateName of The Turing Language to try to get around that.

Copy link
Contributor

Preview the changes: https://turinglang.org/pr-previews/109
Please avoid using the search feature and navigation bar in PR previews!

@penelopeysm penelopeysm changed the title Add WebSite structured data Add WebSite structured data so that site title shows up in Google Nov 18, 2024
@shravanngoswamii shravanngoswamii self-requested a review November 18, 2024 12:33
Copy link
Member

@shravanngoswamii shravanngoswamii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we have a better choice to do this until turing.ml expires!

@penelopeysm penelopeysm merged commit 529b812 into main Nov 18, 2024
3 checks passed
@penelopeysm penelopeysm deleted the py/website-data branch November 18, 2024 14:49
github-actions bot added a commit that referenced this pull request Nov 18, 2024
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.

Google search title
2 participants