I have a project that uses subdomains as custom post type endpoints in my Frontity theme. However, because the route for these subdomains/custom post types is always /
, I am only seeing <head>
data corresponding to the home page of the website. I can see that the Yoast data is working for other pages:
- Home page
- Contact Us page (different from Home page)
- Microsite/Subdomain page (same as Home page but should be the same as this post in the back end)
Is there a way I can just pull the Yoast data from a different route than what is being served? Is this the right way to do this? Should I be using the head-tags
package instead? Thanks for any help! Below is a link to the repo: