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

Implement Better SEO (Using Google Schema) #5

Open
izzygld opened this issue Dec 19, 2019 · 3 comments
Open

Implement Better SEO (Using Google Schema) #5

izzygld opened this issue Dec 19, 2019 · 3 comments
Labels
nuxt 2 Issues relating to the Nuxt 2 version of fuxt

Comments

@izzygld
Copy link

izzygld commented Dec 19, 2019

You wrote on the TODO list:

Perhaps add this for better SEO: https://developers.google.com/search/docs/guides/intro-structured-data

Can i start implementing my wp-graphql-google-schema see - https://github.com/izzygld/wp-graphql-google-schema?

@drewbaker
Copy link
Member

Hi @izzygld, thanks for thinking of us!

Curious how this works for frontends that don't map perfectly to WordPress backends URL structure?

Also what does this allow, and what would the implementation actually involve? A WordPress plugin for stackhaus-backend? Any frontend code?

@izzygld
Copy link
Author

izzygld commented Dec 22, 2019

sure.

you wrote on the todo list:
Perhaps add this for better SEO: https://developers.google.com/search/docs/guides/intro-structured-data or https://www.npmjs.com/package/nuxt-jsonld

in short, it would pull all the info of a wordpress post via graphql and display it in Jsonld schema format as recommended by google.

you would call the schema component on the page/post - example -here.

Let me know what you think.

@drewbaker
Copy link
Member

Now that we have the <wp-seo> component, I think I can get this working.

Would be really good for the funkhaus sites to get this working for anypage that has a ACF video URL set:
https://developers.google.com/search/docs/data-types/video

Blog posts could get this:
https://developers.google.com/search/docs/data-types/article

Perhaps the move is to add a prop to <wp-content> that sets the structured data type? And then the GQL query can get the required data.

@drewbaker drewbaker added the nuxt 2 Issues relating to the Nuxt 2 version of fuxt label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nuxt 2 Issues relating to the Nuxt 2 version of fuxt
Projects
None yet
Development

No branches or pull requests

2 participants