You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
In .env, a SITE_URL variable.
In config/app.php, site_url => env(SITE_URL, '/')
In the Statamic CP, under Site, for the URL value, {{ config:app:site_url }}
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.
The text was updated successfully, but these errors were encountered:
ancaemcken
changed the title
Some links in seo.html GraphQL response does not respect default site settings
Some links in seo.html GraphQL response do not respect default site settings
May 16, 2024
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:.env,
aSITE_URL
variable.config/app.php
,site_url => env(SITE_URL, '/')
{{ config:app:site_url }}
The setup works as expected for every aspect I tested, except the
rel=home
andrel=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.
The text was updated successfully, but these errors were encountered: