I have a Wordpress blog running on a custom domain (zeitgeist.digital) and I’d like to use the CMS with a Frontity frontend. So far, so good: I managed to create the app, run it locally, retrieve the posts, all awesome. I deployed it on Vercel and also all ok.
However, there is a problem I am not snatching: to make Frontity able to reach my WP posts, I must configure Frontity settings to pull the posts the custom domain. But I want to make the Vercel deployment the only frontend, therefore, pointing the domain to Vercel servers. Logically, when I do that, the Vercel deployment gets “blind” because it can no longer see the WP install I have somewhere else.
My question: is it possible to make the domain https://zeitgeist.digital/ to point to the Vercel deployment AND retrieve the posts from the original WP install? The obvious question for me is no, because of where the domain points too, but maybe I am missing something and the colleagues here manage to provide me some advice. It would be much appreciated.
Right now the only deployment approach that we support is for decoupled WordPress. Which means that you will have to move your WordPress away from your main domain.
I think it’s worth mentioning that we are working in an official WordPress Plugin for Frontity that will enable an alternative architecture that we call “embedded mode”. The embedded mode will allow you to leave your WordPress under the main domain. If you are curious, we just explained it on our twitter account: https://twitter.com/frontity/status/1266081587835387905
Pablo, hello. Thanks for the insight. I had actually considered searching the URL of my “physical” install of Wordpress (that one with a long, gibberish-like URL) and decouple it from the domain.
I recall from all WP installs I done there was this low-level domain is generated per each install, but I don’t know how to find mine. My hosting provider for some reason can’t answer me. Any ideas of what I should look for?
You mean like something.zeitgeist.digital? But If I do so, wouldn’t the domain, when pointing to vercel servers simpley “no longer see” subdomains?
Juan, first of all, thanks. I think I did everything by the book: created a WP blog on a subdomain of my domain, pointed the main domain to Vercel servers and created an A record within the domain pointing to the newly created subdomain (as instructed here).
It hasn’t worked, though. Somewhere on the way, the domain and DNS’s were wrongly configured. I will come back to this later as I am pressed by other things and can’t prioritise this, unfortunately. Thanks for the support!
Hello everyone, i have the same issue i installed the wordpress backend in a subdomain called wp.cristhianjhl.com and my frontend on vercel is with cristhianjhl.com domain. But, when i access to cristhianjhl.com homepage i get a 404 error because of CORS i hace SSL on my subdomain and my frontity settings is ok.
when i try to access to my backend i have this page
Hello, i only have cristhianjhl.com and www.cristhianjhl.com registered on vercel, the screenshot is when i try to access to my wp backend vercel ask me to register this domain. This subdomain is installed in a third server provider (php server)