Second domain home shows wrong yoast settings
-
I have a special website with additional domain also pointed to it that only has 1 page and no menu. it is and must be like my2domain.xyz/ and not my2domain.xyz/2page/
I’m detecting the domain in theme and then loading it’s page id content and it works well.
But the problem is that Yoast will think that we are in the my1domain.xyz and gets title and other settings from that page’s settings.How can I tell wp or yoast that now we are on the page id 999 even if the slug is / which is same as the slug of my1domain.xyz homepage
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Second domain home shows wrong yoast settings’ is closed to new replies.