Nextjs app on /app route?

[ad_1]

My wordpress is currently on [site.com]), but I want to have it on [admin.site.com]). And then have nextjs +netlify proxy wordpress to all routes except those beginning with /app.

How do I keep all wordpress links (in the db) going to [site.com]) while having the site/admin accesible via [admin.site.com]) ?

Or is this too complicated & I can just use a subdomain for nextjs? I need to be able to set wp cookies for both [site.com]) and [app.site.com]) which is my problem doing headless. Has anyone managed that before?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer