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

Seo improve #1128

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Seo improve #1128

merged 3 commits into from
Mar 26, 2024

Conversation

wu0407
Copy link
Contributor

@wu0407 wu0407 commented Dec 17, 2023

The current structured data for the homepage and post are missing some fields in the Google Rich test.
You can see the test result for https://hugodoit.pages.dev/ at google test result for home page.
For the post page at google test result for article.

This test result is after applying these fixes:
google test result for home page and google test result for article

The title and canonical URL are identical on paginated pages. gohugoio/hugo#4507.

so I do this:

  1. Removed microdata and unified use of JSON-LD.
  2. Add alternateName field to webSite schema. That is an alternate site name used in Google search results.
  3. Fix the missing field in the Google rich result test.
  4. Prioritize using the featured image in the front matter as the article image in JSON-LD.
  5. Display page count for paginated titles.
  6. The canonical URL for pagination is the same as the page URL.

But the og:url for pagination is not fixed. I think is not worthwhile to leave it to the Hugo community to resolve.

2. The canonical URL for pagination is the same as the page URL.
Copy link

vercel bot commented Dec 17, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @HEIGE-PCloud on Vercel.

@HEIGE-PCloud first needs to authorize it.

@wu0407 wu0407 force-pushed the seo-improve branch 3 times, most recently from 479ab97 to 1b99f14 Compare December 19, 2023 13:39
2. Add alternateName field to webSite schema. That is an alternate site name
  used in Google search results.
3. Fix missing field in google rich result test.
4. Prioritize using the featured image in front matter as the article image in JSON-LD.
Copy link

vercel bot commented Dec 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
do-it ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 26, 2024 10:31pm

@digitaltwinz
Copy link

@HEIGE-PCloud Is it possible to implement this improvement? Thanks!

@HEIGE-PCloud HEIGE-PCloud merged commit a20d480 into HEIGE-PCloud:main Mar 26, 2024
5 checks passed
@digitaltwinz
Copy link

Thank you very much!

hodory pushed a commit to hodory/DoIt that referenced this pull request Dec 16, 2024
* 1. Display page count for paginated titles
2. The canonical URL for pagination is the same as the page URL.

* 1. Removed microdata and unified use of JSON-LD.
2. Add alternateName field to webSite schema. That is an alternate site name
  used in Google search results.
3. Fix missing field in google rich result test.
4. Prioritize using the featured image in front matter as the article image in JSON-LD.

---------

Co-authored-by: HEIGE-PCloud <[email protected]>
Jatin794 pushed a commit to Jatin794/bog that referenced this pull request Dec 19, 2024
* 1. Display page count for paginated titles
2. The canonical URL for pagination is the same as the page URL.

* 1. Removed microdata and unified use of JSON-LD.
2. Add alternateName field to webSite schema. That is an alternate site name
  used in Google search results.
3. Fix missing field in google rich result test.
4. Prioritize using the featured image in front matter as the article image in JSON-LD.

---------

Co-authored-by: HEIGE-PCloud <[email protected]>
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