statamic / seo-pro

An all-in-one site reporting, metadata wrangling, Open Graph managing, Twitter card making, sitemap generating, turn-key addon for Statamic.
https://statamic.com/addons/statamic/seo-pro
52 stars 33 forks source link

Some `link`s in seo.html GraphQL response do not respect default site settings #332

Open ancaemcken opened 1 month ago

ancaemcken commented 1 month ago

Hi there,

Thanks for an awesome add-on.

I use Statamic as the backend/cms for a headless app. As such, I configured cms.<domain> on the Statamic installation.

For the site link in the admin bar and for SEO link (canonical, etc), I set up www.<domain> . This is where the front-end app will live. The domain for the front-end is configured up as follows:

The setup works as expected for every aspect I tested, except the rel=home and rel=author links in the rendered SEO html (fetched via GraphQL).

It would make sense in such a setup that these links point to the configured site url (www.) and not the subdomain hosting the CP.

I am using SEO Pro 6.0.2 and Statamic 5.2.0.