WP reverse proxy & changing schema domain/hostname
-
long time yoast user (12+ years) and huge fan!
TLDR: how do we force change our domain / hostname / URL in yoast since it does not match the domain listed in our WP setting? specifically in the
<script type="application/ld+json" class="yoast-schema-graph">
sectionBACKGROUND:
we are using a reverse proxy (https://wpengine.com/support/using-a-reverse-proxy-with-wp-engine/) for our blog and need to force yoast to use a different hostname for all its URL/domains, specifically for the yoast-schema-graph section, because the domain our website visitors see is different than what the actual domain is.i see yoast has an API for add_filter(‘yoast-local-seo-schema-organization-url’,…)
but this is for local SEO…. but do you have one for non-local SEO? maybe something like ‘yoast-seo-schema-organization-url’
just curious if anyone has experience with this?
- The topic ‘WP reverse proxy & changing schema domain/hostname’ is closed to new replies.