ashhitch / gatsby-plugin-wpgraphql-seo

Gatsby Plugin to Bring Yoast Seo Data into Gatsby via WpGraphQL.
MIT License
13 stars 8 forks source link

Investigate domain being removed from schema data #17

Open ashhitch opened 3 years ago

ashhitch commented 3 years ago

When the WP Source gatsby plugin imports data it converts all WP urls to relative ones but the schema requires one.

We need a way to insert this back in, maybe via a config option in the plugin

Umbrella issue for #10 and #2

pmkemper commented 3 years ago

I just ran into this issue.

However, with "WPGraphql Yoast Seo" version 4.1.0 enabled in Wordpress (instead of version 4.16.0 of "Add WPGraphQL SEO") I get the full URLs in Gatsby. Why or how does this happen?

ashhitch commented 3 years ago

@pmkemper they are the same plugin (had to rename it to get it in the WP plugin library). I will have a look was different, but I know the WordPress source plugin does strip the domain off.

pmkemper commented 3 years ago

I'm aware it's the same plugin renamed. Until today I ran the 4.1.0 version and domains are not stripped. Even img src values in the post content still have the domain in the URLs. When I switch to 4.16.0, the domain is stripped.

MikeLawton commented 2 years ago

Hey @ashhitch did you manage to get to the bottom of this?